Opens in a new tab

Independent WordPress hosting guides · Recommended host: Convesio

Start a free trial →

Locking Down AI Access to WordPress: MCP Security and Governance

As MCP spread, so did security problems in MCP servers. A practical guide to giving an AI agent access to WordPress without giving away the keys to the site.
By Shahzad Hasan · November 18, 2026

In February 2026 MCP grew up fast: Google contributed a gRPC transport, Red Hat launched an MCP server for its Linux, and Microsoft announced a security and governance framework for MCP, as remote-code-execution flaws turned up in widely used MCP servers (Vibe Coding Weekly #20). For WordPress owners the lesson is simple: an AI connection is an admin connection unless you limit it.

1. A dedicated user

Create a WordPress user just for the AI. Give it the lowest role that can do the job. Do not reuse your own admin account.

2. Application passwords

Use a WordPress application password for that user. You can revoke it at any time without changing your own password. Store it in a secret store, never in a chat or a file in the project.

3. Only the abilities you need

Bricks lets you switch AI abilities on and off. Turn off destructive or unused ones, for example deletes or code execution, unless a task needs them.

4. Network rules

  • Allow the AI’s outgoing IP for the REST API in your security plugin, rather than weakening the firewall for everyone.
  • Keep rate limits; tell the agent to stop on the first refusal rather than retry.

5. Keep an audit trail

Bricks keeps revisions; also keep your own log of AI changes. Our blueprint records every publish with links.

6. Review the server itself

Use official servers, keep them updated, and remove ones you no longer use. See Finding MCP servers safely.

More in Claude Security and WordPress.

Source: Vibe Coding Weekly #20. This article is our own take for WordPress and Bricks builders; it does not reproduce the newsletter.

In this article

Need hosting that scales?

Convesio runs each site in Docker containers with auto scaling and load balancing built in.
Try Convesio free →
Affiliate link: we may earn a commission at no extra cost to you.