Skip to content
VS Code

c2hs haskell mcp for VS Code

io.github.mrfentmen/c2hs-haskell-mcp

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

client:VS Code transport:stdio runtime:npm

Install c2hs haskell mcp in VS Code

.vscode/mcp.json

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

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

c2hs haskell mcp in other clients