Skip to content
Windsurf

cli2mcp for Windsurf

io.github.ronieneubauer/cli2mcp

Wrap any CLI as a Model Context Protocol server - schema auto-inferred from --help.

client:Windsurf transport:stdio runtime:npm

Install cli2mcp in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

{
  "mcpServers": {
    "cli2mcp": {
      "command": "npx",
      "args": [
        "-y",
        "cli2mcp"
      ]
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

cli2mcp in other clients