Skip to content
Cursor

c2hs haskell mcp for Cursor

io.github.mrfentmen/c2hs-haskell-mcp

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

client:Cursor transport:stdio runtime:npm

Install c2hs haskell mcp in Cursor

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

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

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

c2hs haskell mcp in other clients