| name | mcp-plugin-setup |
| description | Create or update mcp.json to load MCP plugins (stdio servers) for agent_full.py. |
mcp-plugin-setup
Goal
Enable MCP plugins for agent_full.py by creating or editing mcp.json at the repo root.
Steps
- Check whether
mcp.json exists with exec({"cmd":"ls -la mcp.json || true"}) and exec({"cmd":"cat mcp.json"}).
- If missing, create it with a heredoc via
exec, e.g. exec({"cmd":"cat > mcp.json <<'EOF'\\n...\\nEOF"}).
- Add one or more plugins under
mcpServers.
Example
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest", "--headless", "--browser", "chromium", "--no-sandbox"]
},
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
}
}
}
Notes
- This agent currently supports stdio MCP plugins configured via
command + args.