rest_api_list_post_types
Zeigt alle registrierten Post Types mit REST API Support
This record as markdown: /tools/c-sakel-wp-mcp-server/rest-api-list-post-types.md
What rest_api_list_post_types does on WordPress MCP Server
AI agents call rest_api_list_post_types to retrieve information from WordPress MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why rest_api_list_post_types is rated Low
This tool retrieves and displays information about available WordPress post types that support the REST API. It is a read-only operation that has no ability to modify, delete, or execute actions. The blast radius of misuse is minimal—an AI agent could at worst discover the post type schema, but cannot manipulate content or trigger operations.
From the tool's definition Tool name contains 'list' and description states 'Zeigt alle registrierten Post Types' (shows all registered post types), which is a query/retrieval operation with no data modification or side effects.
Attacks that exploit this kind of access
The rule that runs rest_api_list_post_types safely
PolicyLayer is an MCP gateway: it sits between your AI agents and WordPress MCP Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For rest_api_list_post_types, this is the rule to start with:
rest_api_list_post_types is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect WordPress MCP Server, apply this rule, and every rest_api_list_post_types call is checked against it from then on.
Questions about rest_api_list_post_types
Zeigt alle registrierten Post Types mit REST API Support. It is categorised as a Read tool in the WordPress MCP Server MCP Server, which means it retrieves data without modifying state.
Register the WordPress MCP Server MCP server in PolicyLayer and add a rule for rest_api_list_post_types: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches WordPress MCP Server. Nothing to install.
rest_api_list_post_types is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the rest_api_list_post_types rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for rest_api_list_post_types. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
rest_api_list_post_types is provided by the WordPress MCP Server MCP server (c-sakel/wp-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on WordPress MCP Server, and thousands of servers like it.
This server
Across the catalogue