cli2mcp for Cursor
io.github.ronieneubauer/cli2mcp
Wrap any CLI as a Model Context Protocol server - schema auto-inferred from --help.
client:Cursor
transport:stdio
runtime:npm
Install cli2mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"cli2mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cli2mcp"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs