Skip to content
Zed

m4 mcp for Zed

io.github.mrfentmen/m4-mcp

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

client:Zed transport:stdio runtime:npm

Install m4 mcp in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

Merge this into your existing settings object — do not replace the file. Zed docs

m4 mcp in other clients