MCP config converter
Write one MCP server definition and get the exact command or config entry for 16 coding agents, from Claude Code's claude mcp add to OpenCode's opencode.json and Goose's config.yaml.
Updated November 23, 2026 · Checked against EnvHaven v1.9.0
Claude Code
claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace
Codex
codex mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace
OpenCodein opencode.json
{ "$schema": "https://opencode.ai/config.json", "mcp": { "filesystem": { "type": "local", "command": [ "npx", "-y", "@modelcontextprotocol/server-filesystem", "/config/workspace" ] } } }Antigravity CLI
agy mcp add filesystem npx -y @modelcontextprotocol/server-filesystem /config/workspace
Grok Build
grok mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace
Kimi Code CLIin ~/.kimi-code/mcp.json
{ "mcpServers": { "filesystem": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/config/workspace" ] } } }Muse Codein ~/.config/muse/settings.json
{ "schema_version": 1, "mcp_servers": { "filesystem": { "transport": "stdio", "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/config/workspace" ] } } }OpenClaw
openclaw mcp add filesystem --command npx --arg -y --arg @modelcontextprotocol/server-filesystem --arg /config/workspace
Hermes Agent
hermes mcp add filesystem --command npx --args -y @modelcontextprotocol/server-filesystem /config/workspace
Goosein ~/.config/goose/config.yaml
extensions: filesystem: type: stdio name: filesystem enabled: true cmd: npx args: ["-y","@modelcontextprotocol/server-filesystem","/config/workspace"] timeout: 300Qwen Codein ~/.qwen/settings.json
{ "mcpServers": { "filesystem": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/config/workspace" ] } } }Mistral Vibe
vibe mcp add filesystem --transport stdio --command npx --arg=-y --arg=@modelcontextprotocol/server-filesystem --arg=/config/workspace
Factory Droid
droid mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace
Kiro
kiro-cli mcp add --name filesystem --command npx --args '["-y","@modelcontextprotocol/server-filesystem","/config/workspace"]'
Amp
amp mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace
fx
fx mcp add filesystem npx -y @modelcontextprotocol/server-filesystem /config/workspace
Every agent stores MCP servers its own way: some add them with a command, others read a JSON, TOML or YAML file, and the key names differ. The converter above writes the same server for all of them. Here is the same filesystem server for each agent, as a reference:
| Agent | How it adds a server |
|---|---|
| Claude Code | claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace |
| Codex | codex mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace |
| OpenCode | Config file opencode.json |
| Antigravity CLI | agy mcp add filesystem npx -y @modelcontextprotocol/server-filesystem /config/workspace |
| Grok Build | grok mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace |
| Kimi Code CLI | Config file ~/.kimi-code/mcp.json |
| Muse Code | Config file ~/.config/muse/settings.json |
| OpenClaw | openclaw mcp add filesystem --command npx --arg -y --arg @modelcontextprotocol/server-filesystem --arg /config/workspace |
| Hermes Agent | hermes mcp add filesystem --command npx --args -y @modelcontextprotocol/server-filesystem /config/workspace |
| Pi | Built-in MCP arrived in Pi 0.99.0; the 0.87.1 build in EnvHaven 1.9.0 extends through packages installed with pi install <source> instead. |
| Goose | Config file ~/.config/goose/config.yaml |
| Qwen Code | Config file ~/.qwen/settings.json |
| Mistral Vibe | vibe mcp add filesystem --transport stdio --command npx --arg=-y --arg=@modelcontextprotocol/server-filesystem --arg=/config/workspace |
| Factory Droid | droid mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace |
| Kiro | kiro-cli mcp add --name filesystem --command npx --args '["-y","@modelcontextprotocol/server-filesystem","/config/workspace"]' |
| Amp | amp mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace |
| fx | fx mcp add filesystem npx -y @modelcontextprotocol/server-filesystem /config/workspace |
Commands follow each agent’s own mcp add --help in the build EnvHaven ships, and were run against those binaries with a Docker-based server, whose arguments start with dashes: the place where agents differ most. Qwen Code gets a config entry because its mcp add reads such arguments as its own options. Config files follow the vendors’ documentation. Nothing you type in the converter leaves your browser.