- 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:list_operations to discover available endpoints, get_schema to inspect parameters, then run_script to execute.