wp_create_post
Erstellt einen neuen WordPress-Beitrag
This record as markdown: /tools/c-sakel-wp-mcp-server/wp-create-post.md
What wp_create_post does on WordPress MCP Server
AI agents use wp_create_post to create or update resources in WordPress MCP Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your WordPress MCP Server environment.
Why wp_create_post is rated Medium
This tool creates new posts, which is a reversible write operation. It modifies the WordPress database by adding content but does not irreversibly delete data (Destructive), execute arbitrary code (Execute), or move money (Financial). The severity is medium because an AI agent could spam posts, create misleading content, or flood the site, but the impact is recoverable through deletion.
From the tool's definition Tool name 'wp_create_post' and description 'Erstellt einen neuen WordPress-Beitrag' (Creates a new WordPress post) directly indicate content creation functionality.
Attacks that exploit this kind of access
The rule that runs wp_create_post 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 wp_create_post, this is the rule to start with:
wp_create_post stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. 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 wp_create_post call is checked against it from then on.
Questions about wp_create_post
Erstellt einen neuen WordPress-Beitrag. It is categorised as a Write tool in the WordPress MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the WordPress MCP Server MCP server in PolicyLayer and add a rule for wp_create_post: 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.
wp_create_post is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the wp_create_post 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 wp_create_post. 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.
wp_create_post 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