Skip to content
Cursor

hasura mcp for Cursor

io.github.mrfentmen/hasura-mcp

MCP server for Hasura: metadata export, SQL passthrough. Works with any self-hosted instance.

client:Cursor transport:stdio runtime:npm

Install hasura mcp in Cursor

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

{
  "mcpServers": {
    "hasura-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hasura-mcp"
      ]
    }
  }
}

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

hasura mcp in other clients