Skip to content
Cursor

m4 mcp for Cursor

io.github.mrfentmen/m4-mcp

M4 MCP: expand macros, trace definitions, include files and preprocess with 20 real tools.

client:Cursor transport:stdio runtime:npm

Install m4 mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

m4 mcp in other clients