Skip to content
Cursor

ai cli mcp for Cursor

io.github.mkxultra/ai-cli-mcp

Run Claude, Codex, Gemini, Forge, and OpenCode CLIs through MCP with background jobs

client:Cursor transport:stdio runtime:npm

Install ai cli mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "ai-cli-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ai-cli-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

ai cli mcp in other clients