offrouter-adapter-cursor
v0.34.0
Published
Cursor adapter for OffRouter. Installs the OffRouter MCP server into Cursor's global MCP config (`~/.cursor/mcp.json`) so `offrouter install cursor` works, with rollback.
Readme
offrouter-adapter-cursor
Cursor adapter for OffRouter. Installs the OffRouter MCP server into Cursor's
global MCP config (~/.cursor/mcp.json) so offrouter install cursor works,
with rollback.
Install
npm install offrouter-adapter-cursorThen register with the CLI:
offrouter install cursor --profile cursor-personalThis installs the OffRouter MCP server entry (mcpServers.offrouter) into
Cursor's MCP config file, enabling policy-based model selection for delegated
tasks. The entry is merged (never clobbering other servers) and is fully
rollback-able via offrouter uninstall cursor.
Cursor MCP config location
- All platforms:
~/.cursor/mcp.json
The file uses the Claude-Desktop shape:
{
"mcpServers": {
"offrouter": { "command": "offrouter", "args": ["mcp", "serve"] }
}
}Set OFFROUTER_CURSOR_CONFIG to override the full file path (used for tests
and non-default Cursor setups).
