/bento:metamcpfrom bento
Manages a MetaMCP gateway on a bento VPS: add MCP servers, group into namespaces, create endpoints, manage API keys, get URLs for Claude/Cursor/agents. For day-2 operations.
Ships in bento. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You operate a MetaMCP gateway already deployed by bento. MetaMCP aggregates
multiple MCP servers (stdio or HTTP/SSE) into unified public endpoints, each
protected by API-key or OAuth auth. Day-2 work only — you configure servers,
namespaces, endpoints, and API keys. For deploying the stack use /bento:deploy.
Docs (source of truth): https://github.com/metatool-ai/metamcp · https://docs.metamcp.com The web UI is the authoritative management surface — use it for all CRUD.
Management surface reality. MetaMCP's backend is a tRPC API (
/trpc), consumed by the Next.js web UI. There is no documented public REST API with stable versioned routes. For interactive configuration, use the web UI (always safe). For automation, tRPC procedures are callable but internal and unversioned — verify schemas against the running container before scripting.
For getting MetaMCP running use /bento:deploy. For AI provider keys use /bento:auth.
ssh "$user@$host" "jq -r '.envs.metamcp.METAMCP_HOST' \$HOME/.config/bento/state.json"
Base URL = https://<METAMCP_HOST>. The backend listens on internal port 12008.
Container name (conventional in bento swarm): metamcp_*.1.*
metamcp_container() { ssh "$user@$host" "docker ps --filter name=metamcp_ -q | head -1"; }
Health probe (resolves only after DB migrations + session pool init):
curl -s "https://$METAMCP_HOST/health" # → 200 OK when ready
Admin UI — Better Auth sessions. First visitor self-registers as admin via
https://<METAMCP_HOST> → "Create account". Session-cookie based; no seeded credentials.
MCP endpoint access — API keys (sk_mt_...). Create in the UI: Settings → API Keys.
The key is shown only once — copy immediately. Use as Authorization: Bearer sk_mt_<key>.
SSE quirk: query-param auth (?api_key=) does not work for SSE transport —
use Authorization: Bearer header regardless of transport.
tRPC automation — requires a valid session cookie from POST /api/auth/sign-in/email.
Cleanest automation path: drive from inside the container against the loopback (127.0.0.1:12008).
Honesty gap. tRPC routes (
/trpc/mcpServers.create, etc.) exist and are callable but are internal and not versioned as a public API. For bulk config, prefer the UI's "Bulk Import" over raw tRPC scripting. Inspect before automating:ssh "$user@$host" "docker exec \$(docker ps -qf name=metamcp_) \ find /app/apps/backend/src/trpc -name '*.impl.ts' | head -20"
MCP Servers → added to → Namespaces → exposed via → Endpoints
(public URL + API key)
All CRUD for each layer lives in the web UI. Non-obvious fields to watch:
@latest); for HTTP types set url + bearerToken.name is a globally unique slug that becomes the URL path — immutable after creation, choose carefully.For full field reference, see the web UI and https://docs.metamcp.com.
https://<METAMCP_HOST>/metamcp/<endpoint-name>/mcp # Streamable HTTP (recommended)
https://<METAMCP_HOST>/metamcp/<endpoint-name>/sse # SSE (for clients requiring it)
https://<METAMCP_HOST>/metamcp/<endpoint-name>/api # OpenAPI / REST-style
# Loopback test (inside VPS, no TLS):
http://127.0.0.1:12008/metamcp/<endpoint-name>/mcp
Claude Desktop (claude_desktop_config.json) — requires SSE or stdio, bridge with mcp-proxy:
{
"mcpServers": {
"my-gateway": {
"command": "mcp-proxy",
"args": ["https://<METAMCP_HOST>/metamcp/<endpoint-name>/sse"],
"env": { "API_KEY": "sk_mt_<YOUR_KEY>" }
}
}
}
Cursor (mcp.json):
{
"mcpServers": {
"my-gateway": {
"url": "https://<METAMCP_HOST>/metamcp/<endpoint-name>/mcp",
"headers": { "Authorization": "Bearer sk_mt_<YOUR_KEY>" }
}
}
}
Hermes agent (from inside the hermes container):
hermes mcp add metamcp-gateway \
--url "https://<METAMCP_HOST>/metamcp/<endpoint-name>/mcp" \
--header "Authorization: Bearer sk_mt_<YOUR_KEY>"
# Force-restart so the toolset enters the model's prompt:
ssh "$user@$host" "docker service update --force hermes_hermes"
See /bento:hermes for the full MCP-wiring flow and the critical restart requirement.
?api_key= don't mix — only Bearer header works on SSE (see Auth above).name is immutable — changing it breaks all client configs; duplicates fail validation.metamcp on the bento-managed postgres stack. Don't drop it; check docker service ls --filter name=postgres_postgres on connection errors.exec into the container and run the command manually to see the real error./health returns 200 only after DB migrations + session pool init (~3s delay by design). Wait before sending traffic after a restart.curl -s https://<host>/metamcp/<name>/mcp -H "Authorization: Bearer <key>".What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
metamcp, mcp-gateway, mcp-server-management, api-keys, namespaces, bento
14 skills in this plugin
/authRegister an AI-provider API key on a VPS running bento, via SSH, and propagate it to every BENTO_MANAGED stack. Drives bento-auth (Anthropic, OpenAI, OpenRouter, z.ai, Gemini, and any OpenAI-compatible endpoint). Use when the user says "add my OpenAI key", "register an Anthropic key", "set up provider auth on my bento server". NOTE: subscriptions (Claude Pro/Max, ChatGPT Plus) are OUT OF SCOPE — those use each app's native sign-in./chatwootOperate the Chatwoot customer support platform via HTTP API on an already-deployed bento VPS — reply to a customer, send a support message, create a new conversation, list open conversations, assign a conversation to an agent, resolve or reopen a ticket, create or search a contact, list help desk inboxes, add a private note, filter conversations by status/inbox/team/label. Use when the user says "reply to a customer", "send a message to a contact", "create a support ticket", "list open chats", "assign this conversation", "resolve a ticket", "create a contact in chatwoot", "set up a help desk inbox", "check unassigned conversations", "list my inboxes", "add a note to a conversation", "search for a contact", "get chatwoot conversations", or any other day-2 support desk operation. Deploying Chatwoot itself is `/bento:deploy`./deployAdd or redeploy application stacks on a VPS that ALREADY runs bento, via SSH. Drives bento's unattended Step 3 (BENTO_APPS) for the chosen apps, reconciles state against Portainer, verifies each app, and reports URLs + bootstrap artifacts. Use when the user says "add n8n to my server", "deploy chatwoot on my bento box", "install another app". For a brand-new server use the install skill instead./evolution-apiOperate the Evolution API (WhatsApp gateway) on a bento VPS — create WhatsApp instances, get the QR code to connect a phone, check connection state, send WhatsApp messages (text and media), configure webhooks, list or delete instances, and manage the full lifecycle of a WhatsApp bot or integration. Use when the user says "send a WhatsApp message", "connect my WhatsApp", "get the QR code", "set up a WhatsApp bot", "configure a WhatsApp webhook", "create a WhatsApp instance", "disconnect WhatsApp", "check WhatsApp status", "link my phone number to the API", "scan the QR", "set up WhatsApp automation", or anything about getting WhatsApp to work on their server. Day-2 operation of the running app's HTTP API. Deploying the stack is `/bento:deploy`./hermesOperate the Hermes agent gateway on a bento VPS — chat with the agent over its OpenAI-compatible API, run the CLI (sessions, tools, config), and wire MCP servers so the agent gains new tools. Use when the user says "talk to my hermes agent", "call my agent from a script/bot", "add an MCP server to hermes", "give my agent the youtube/search tools", "list hermes sessions", "change the hermes model", or otherwise wants to drive a running hermes stack. Two surfaces: the HTTP API (:8642, Bearer) and the CLI (`docker exec ... hermes`). Deploying hermes itself is the deploy skill./installDrive an end-to-end bento install on a FRESH Ubuntu/Debian VPS via SSH — pre-flight checks, unattended one-liner, post-hardening reboot, infra + app deploys, recovery from the failure modes that historically required manual operator intervention, and a final report with URLs + invite links. Use for a brand-new server. For adding apps to a server that already runs bento, use the deploy skill instead.npx claudepluginhub felipefontoura/bento --plugin bentoOther plugins' skills for the same job