- MCP
- CLI
Use If your credentials aren’t loaded from a Restart Cursor after adding the config. You can verify the server is connected in Settings → Cursor Settings → MCP — The agent calls
runStdioMcpServer to expose Corsair as a local MCP server that Cursor spawns on demand.Install
Create the server script
mcp-server.ts
Configure Cursor
Add a.cursor/mcp.json file at your project root. Cursor reads this automatically when you open the project..cursor/mcp.json
.env file, pass them via env:.cursor/mcp.json
corsair should appear with a green indicator.Usage
Once connected, use Corsair tools in Cursor’s agent (Cmd+I or the chat panel):corsair_setup first to check credentials, then list_operations to discover available endpoints, then run_script to execute.