Team & account
Coding agents (MCP)
Let Claude Code, Cursor or Codex work on one website with scoped, revocable access.
Create access#
Each website has its own MCP endpoint. A coding agent connects with a token that works for that site only.
- Open the site's Coding Agents page. Only Organization owners and admins can see it.
- Name the access, pick a tier and an expiry of 1, 7, 30 or 90 days. A site can have up to 10 active grants.
- Copy the token right away; it is shown once. Revoke it at any time from the same page.
Access tiers#
- Read: site info, list and read files, search, and tail the site's own Nginx logs.
- Write: everything in Read, plus write, delete and revert files.
- Full: everything in Write, plus allowlisted commands: WP-CLI, Composer, Artisan and read-only Git. There is no shell.
- Tools above a grant's tier are not offered, and calls to them are refused and logged.
Connect your client#
The Coding Agents page shows these commands with your site's MCP address and token already filled in. The examples below use placeholders.
- Claude Code: run the claude mcp add command shown on the page.
- Cursor: add the JSON snippet to ~/.cursor/mcp.json or a project's .cursor/mcp.json.
- Codex: export the token as an environment variable and run the codex mcp add command shown.
- Any MCP client that supports Streamable HTTP with a bearer token can connect the same way.
claude mcp add --transport http gpanel-example-com <site-mcp-url> --header "Authorization: Bearer <token>"{
"mcpServers": {
"gpanel-example-com": {
"url": "<site-mcp-url>",
"headers": { "Authorization": "Bearer <token>" }
}
}
}export GPANEL_MCP_TOKEN="<token>"
codex mcp add gpanel-example-com --url <site-mcp-url> --bearer-token-env-var GPANEL_MCP_TOKENSafety and undo#
- Every action runs as the site's own Linux user through a signed agent job, confined to the site folder.
- Secrets such as .env values, wp-config.php credentials and private keys are redacted. Protected files can only be changed with Full access.
- Writes go to the live site, and each change is backed up first. Use revert to restore a file; the page lists every action the agent took.
- Calls are rate-limited per grant and per site.
Coming later#
- OAuth sign-in for coding agents, staging copies with an approval step before going live, and approval gates for destructive actions.
Something unclear or missing? Tell us and we will improve this guide.