About
MCP server for Hasura GraphQL
README
MCP server for Hasura GraphQL, runnable via npx hasura-mcp-server.
Requirements
- Node.js 18+
- Hasura GraphQL endpoint + admin secret
Usage
export HASURA_GRAPHQL_ENDPOINT="https://your-hasura/v1/graphql"
npx hasura-mcp-server --x-hasura-admin-secret=your-admin-secret
You can also pass values directly:
npx hasura-mcp-server --endpoint https://your-hasura/v1/graphql --x-hasura-admin-secret your-admin-secret
Any other --key value or --key=value args are forwarded as headers:
npx hasura-mcp-server --endpoint https://your-hasura/v1/graphql \\
--x-hasura-admin-secret=secret \\
--x-hasura-role=readonly \\
--authorization="Bearer token"
Tools
health_checklist_tablesdescribe_tablelist_root_fieldsdescribe_graphql_typepreview_table_dataaggregate_datarun_graphql_query
Note: mutation operations are not allowed.
Resource
hasura://schema(GraphQL introspection schema)
Install Hasura Mcp Server in Claude Desktop, Claude Code & Cursor
unyly install hasura-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add hasura-mcp-server -- npx -y hasura-mcp-serverFAQ
Is Hasura Mcp Server MCP free?
Yes, Hasura Mcp Server MCP is free — one-click install via Unyly at no cost.
Does Hasura Mcp Server need an API key?
No, Hasura Mcp Server runs without API keys or environment variables.
Is Hasura Mcp Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Hasura Mcp Server in Claude Desktop, Claude Code or Cursor?
Open Hasura Mcp Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Hasura Mcp Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
