Using Agents
Prompts, deploy workflows, and IDE setup for MetroPanel Connect Agents. Start with Connect Agents if you still need a token.
Speak naturally. MetroPanel MCP picks the right tools, waits for deploy to finish, and summarizes the result. Same prompts work in Cursor, Claude Code, Codex, and similar IDEs.
Change names, domains, or the ZIP path before sending (e.g. My Blog, example.com, /Users/you/site.zip).
List my apps · Read
List domains · Read
Deploy WordPress · Manage
Create PHP site (for my code) · Manage
Create Static site (for my code) · Manage
Create Node.js app (for my code) · Manage
Put my project online (ZIP) · Manage
Add domain + SSL · Manage
Remove an app · Manage
Depending on the preset (and what the connector version supports), AI can typically:
- Yes — List your apps and check status / details
- Yes — List domains and databases (passwords are not returned by the API)
- Yes — See account usage (disk / bandwidth style summaries)
- Yes — Browse available one-click app templates
-
Yes — With Manage:
install_app/remove_app,add_domain/remove_domain,install_ssl(same panel rules; destructive tools needconfirm=true) - Yes — With Manage: deploy a ZIP (or Git pull) into an existing PHP Website, Node.js App, or Static Site — see next section
- Yes — Help you decide next steps (“which app is offline?”, “what templates can I install?”)
This is simple “build in the IDE → put it online” path — without giving the AI File Manager or Terminal access.
| App type | Deploy root | ZIP should contain |
| PHP Website |
public_html/
|
Your PHP site (e.g. index.php) — single top-level folder is OK
|
| Static Site |
public/
|
HTML/CSS/JS (e.g. index.html)
|
| Node.js App | App root |
Source + package.json (no node_modules); server runs install/build
|
API (Manage token):
MCP tools: install_app, deploy_app_zip, deploy_app_git, get_app (poll). Also add_domain / install_ssl when you need a custom hostname.
Agent tokens are intentionally limited. AI cannot:
- No — Access other customers’ accounts or the whole server
- No — Open File Manager or browse / edit arbitrary files one-by-one
- No — Open App Terminal / SSH / run free shell commands
- No — Create, delete, suspend, or take over hosting accounts
- No — Change packages or server-wide settings
- No — Run account backups / transfers / imports via this token
- No — Read database passwords or secret environment values from the API
- No — Bypass SSL, firewall, or admin-only areas
Recommended workflow for custom websites (what most people want):
| Goal | Recommended approach |
| Custom PHP / Node / static site | Install the matching template → code in the IDE → ZIP deploy (Manage token) |
| Write or fix application code | Edit in Cursor/Codex/Claude on your computer, then redeploy the ZIP (or Git) |
| Install WordPress / n8n / catalog apps | Ask the agent (Manage) or use Apps → Install in the panel |
| “Why is my site down?” | Agent reads app status / account info; you apply fixes in the panel or redeploy |
| One-off file tweaks on the server | Panel File Manager — not the agent token |
Think of it this way: IDE = build the site, MetroPanel agent = host controls + put online.
- Click Connect IDE…
- Open the tab for your tool
- Copy the snippet and paste it into that tool’s config
| Tool | Where the snippet goes |
| OpenAI Codex |
~/.codex/config.toml (or project .codex/config.toml) — TOML format
|
| Cursor | Cursor MCP settings — JSON |
| Claude Code | Claude Code MCP settings — JSON |
| Advanced |
Environment variables or raw curl API examples
|
Default snippets use npx so the connector installs and runs on your computer (Node.js 20+), downloading the package from this panel’s /downloads/metropanel-mcp.tgz URL. That is intentional — do not point Cursor/Codex at a path like /opt/metropanel/mcp-server on the panel host (your IDE cannot see that filesystem).
If npx cannot reach the panel (offline / custom TLS), use the Advanced tab: copy the MCP connector onto this computer, run npm install, then replace the absolute path placeholder in the JSON.
Back to Connect Agents — overview, setup, access levels, security, and FAQ.