Get SureRank Sitemap Settings is a WordPress ability from SureRank — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Get SureRank Sitemap Settings
Read-onlyRead SureRank's XML sitemap settings, including which post types and taxonomies are excluded.
Requires the SureRank plugin on WordPress 6.9+ for the Abilities API. Abilities are only registered when SureRank's admin 'enable_mcp' setting is turned on, and every ability requires the current user to have the 'manage_options' capability.
What it does
This ability reads four specific keys from SureRank's global settings — whether the XML sitemap and XML image sitemap are enabled, and which post types/taxonomies are excluded from the sitemap — and returns them as a flat object. It takes no input. An AI assistant can use this to check sitemap configuration before recommending changes with update-sitemap-settings.
See it in action
You ask your AI assistant
"Is SureRank's XML sitemap enabled, and which post types are excluded from it?"
Returns
An object with enable_xml_sitemap and enable_xml_image_sitemap booleans, plus sitemap_excluded_post_types and sitemap_excluded_taxonomies arrays.
Permission
Requires the 'manage_options' capability; the ability is only registered when SureRank's admin 'enable_mcp' setting is turned on.
More SureRank abilities
Get SureRank Global Settings
Retrieve SureRank's global SEO settings, in full or filtered to specific keys.
Get SureRank Post SEO
Read a specific post's SureRank SEO metadata alongside the global defaults it falls back to.
Get SureRank Post SEO Checks
Run SureRank's SEO checks for one or more posts and return the pass/fail results.
Get SureRank Robots.txt
Read the custom robots.txt content currently managed by SureRank.
Get SureRank Term SEO
Read a taxonomy term's SureRank SEO metadata alongside the global defaults it falls back to.
Get SureRank Term SEO Checks
Run SureRank's SEO checks for one or more taxonomy terms and return the pass/fail results.