Skip to content
MCP server

C MCP

C MCP: 20 real tools to read, check, lint, scaffold, build and run C code.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.0
Listing updated
4 days ago

About C MCP

C MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add c-mcp -- npx -y @mrfentmen/c-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "c-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/c-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "c-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/c-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "c-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/c-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "c-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/c-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "c-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/c-mcp"
      ]
    }
  }
}

Pricing

Open source

C MCP FAQ

Is C MCP free?

Yes. C MCP is open source, so you can use and self-host it for free.

How do I add C MCP to Claude Code?

Run this command in your terminal: claude mcp add c-mcp -- npx -y @mrfentmen/c-mcp