Skip to content
Claude Desktop

m4 mcp for Claude Desktop

io.github.mrfentmen/m4-mcp

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

client:Claude Desktop transport:stdio runtime:npm

Install m4 mcp in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

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

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

m4 mcp in other clients