Your AI assistant talks to one MCP address. WPTerminal decides what may run, asks you when it should, and signs each change. The plugin on your site checks that signature again before WordPress saves anything.
Connection
Topology
Every request takes the same path. Nothing reaches your site without passing the gateway and the plugin.
Claude, ChatGPT, Cursor, VS Code, Windsurf, Codex or any MCP client. It sees WordPress tools and asks to use them.
POST /api/mcp
Checks who is asking, which site, your plan and the rules. Holds changes for approval, signs approved ones, logs everything.
policy · approval · Ed25519
Runs inside WordPress. Exposes abilities through the WordPress Abilities API and verifies every signed change before it runs.
/wp-abilities/v1/…
Changes are made as the person who connected the site, with their WordPress permissions and WordPress's own functions, so caches, hooks and revisions behave as usual.
Application Password: WPTerminal
Request inspector
A tool call is a small JSON-RPC message. The site is chosen by its ID, so one connection covers every site you have access to.
{
"jsonrpc": "2.0",
"id": 7,
"method": "tools/call",
"params": {
"name": "update_seo_data",
"arguments": {
"site_id": "your-site-id",
"post_id": 42,
"title": "Plans for agencies"
}
}
}auth ok · OAuth token, role Operator
site ok · member has access
plan ok · write allowance left
rule needs approval
ask approved in chat · by you
sign Ed25519 · expires in 5 min
site verified · saved · receipt kept
log recorded
Connecting a site
Connecting starts in WordPress, takes about five minutes, and never asks for your own WordPress password.
Once the site is connected, add the MCP address to your AI assistant. Connect your AI
Install Cmdlane Agent Link, open Agent Link → Connection and click Connect to WPTerminal. Only your site's address is sent.
Agent Link → Connection
Sign in or create a free account. Only organization owners and admins can connect a site, and your plan's site limit is checked before anything is created.
state cookie
WordPress shows its Authorize Application screen for your account, with a note from the plugin on what AI agents may do as you. Anyone who can write posts can connect; administrative tools stay off until an administrator turns them on.
authorize-application.php
No user is created. WordPress adds an Application Password named WPTerminal to your account and sends it back to WPTerminal, as it does for any application.
app_id: WPTerminal
WPTerminal's return address ends in #, so the password arrives in the part of the address browsers never send to a server. WPTerminal's page removes it from the address bar and checks with your site that the plugin restricts it before storing it.
/connect/finish?state=…#&password=…
The password is encrypted with AES-256-GCM for your organization and site, and you land back on Agent Link → Connection, connected.
Connected to WPTerminal
Your data
Your account, organization, site addresses, the encrypted Application Password, approvals and the activity log.
Your content stays where it is. The plugin keeps a receipt for each signed change for 7 days, an undo snapshot for 30 days, and its own settings.
Your own WordPress password. Access tokens and API keys are kept only as hashes.
Reliability
Each change carries one operation ID. If a response is lost, the gateway reads the receipt on your site instead of running the change again.
When a connection fails, the plugin says why: a firewall, Application Passwords switched off, a password that no longer matches.
WP-CLI commands are emulated in PHP, so they run on shared hosting. Subdirectory installs and plain permalinks need no setup.
What is inside a signed change, what the plugin checks, and the limits no approval can lift.