- MCP
- CLI
Use If your credentials aren’t loaded from a Restart Claude Code after adding the config. You can verify the server is connected by running Claude calls
runStdioMcpServer to expose Corsair as a local MCP server that Claude Code spawns on demand.Install
Create the server script
mcp-server.ts
Configure Claude Code
Add a.mcp.json file at your project root. Claude Code reads this automatically when you open the project..mcp.json
.env file, pass them via env:.mcp.json
/mcp in the Claude Code prompt — corsair should appear in the list.Usage
Once connected, Claude Code can call Corsair tools directly. Start a conversation:corsair_setup first to check credentials, then list_operations to discover available endpoints, then run_script to execute.