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: 300
  • Qwen 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:

AgentHow it adds a server
Claude Codeclaude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace
Codexcodex mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace
OpenCodeConfig file opencode.json
Antigravity CLIagy mcp add filesystem npx -y @modelcontextprotocol/server-filesystem /config/workspace
Grok Buildgrok mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace
Kimi Code CLIConfig file ~/.kimi-code/mcp.json
Muse CodeConfig file ~/.config/muse/settings.json
OpenClawopenclaw mcp add filesystem --command npx --arg -y --arg @modelcontextprotocol/server-filesystem --arg /config/workspace
Hermes Agenthermes mcp add filesystem --command npx --args -y @modelcontextprotocol/server-filesystem /config/workspace
PiBuilt-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.
GooseConfig file ~/.config/goose/config.yaml
Qwen CodeConfig file ~/.qwen/settings.json
Mistral Vibevibe mcp add filesystem --transport stdio --command npx --arg=-y --arg=@modelcontextprotocol/server-filesystem --arg=/config/workspace
Factory Droiddroid mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace
Kirokiro-cli mcp add --name filesystem --command npx --args '["-y","@modelcontextprotocol/server-filesystem","/config/workspace"]'
Ampamp mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /config/workspace
fxfx 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.