Skip to content
Windsurf

m4 mcp for Windsurf

io.github.mrfentmen/m4-mcp

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

client:Windsurf transport:stdio runtime:npm

Install m4 mcp in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

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

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

m4 mcp in other clients