cpp mcp for Claude Desktop
io.github.mrfentmen/cpp-mcp
C++ MCP: 20 real tools to read, check, lint, scaffold, build and run C++ code.
client:Claude Desktop
transport:stdio
runtime:npm
Install cpp mcp in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"cpp-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/cpp-mcp"
]
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs