Get Global Settings is a WordPress ability from SureForms — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Get Global Settings

Read-only
SureForms Forms sureforms/get-global-settings

Read SureForms' global settings (general, validation messages, email summary, security) by category.

Requires the SureForms plugin on WordPress 6.9+ (the Abilities API is gated behind function_exists('wp_register_ability'), so it degrades gracefully on WP 6.4-6.8). Abilities only register when the 'srfm_abilities_api' option is enabled in SureForms' AI settings, and every ability requires the current user to have the 'manage_options' capability. Abilities that create or modify data additionally require the 'srfm_abilities_api_edit' option to not be explicitly disabled; abilities that permanently delete data additionally require 'srfm_abilities_api_delete' to not be explicitly disabled.

What it does

This ability reads SureForms' site-wide option groups, optionally scoped to one or more of four categories: general (IP logging, form analytics, admin notifications), validation-messages (the default per-field validation text), email-summary (weekly report toggle, recipient, schedule), and security (reCAPTCHA v2/v3, Cloudflare Turnstile, hCaptcha keys, and the honeypot toggle). Within the security category, only the secret-key fields for each captcha provider (not the public site-key fields, which are returned as-is) are masked with a fixed sentinel value ('@@SRFM_SECRET_UNCHANGED@@') before being returned, so real credentials are never exposed to the AI assistant. This lets an assistant audit or explain the site's current SureForms configuration without ever seeing live secrets.

See it in action

You ask your AI assistant

"What are my current SureForms security and email summary settings?"

Inputs

Name Type Required Description
categories array No Setting categories to retrieve: general, validation-messages, email-summary, security. Omit for all categories.

Returns

An object with up to four keys (general, validation-messages, email-summary, security), each an object of the corresponding settings; security-category secret key values are masked.

Permission

Requires the 'manage_options' capability, and the 'srfm_abilities_api' master option must be enabled. This ability has no additional gate option.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.