hasura-mcp-server
Provides tools for interacting with a Hasura GraphQL endpoint, enabling health checks, table listing and description, root field and type introspection, data preview, aggregation, and read-only query execution.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hasura-mcp-serverlist all tables in my database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hasura-mcp-server
MCP server for Hasura GraphQL, runnable via npx hasura-mcp-server.
Requirements
Node.js 18+
Hasura GraphQL endpoint + admin secret
Related MCP server: PostgreSQL MCP Server
Usage
export HASURA_GRAPHQL_ENDPOINT="https://your-hasura/v1/graphql"
npx hasura-mcp-server --x-hasura-admin-secret=your-admin-secretYou can also pass values directly:
npx hasura-mcp-server --endpoint https://your-hasura/v1/graphql --x-hasura-admin-secret your-admin-secretAny 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)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-quality-maintenanceEnables read-only access to PostgreSQL databases with multi-tenant support, allowing users to query data, explore schemas, inspect table structures, and view function definitions across different tenant schemas safely.Last updated551
- Flicense-qualityDmaintenanceProvides read-only access to PostgreSQL databases with schema inspection, query execution in multiple formats (JSON, CSV, Markdown), and query history tracking with built-in security features.Last updated
- Flicense-qualityDmaintenanceEnables AI agents to interact with Hasura GraphQL endpoints to discover schema structures and execute queries or mutations. It provides specialized tools for table introspection, data previewing, and performing data aggregations through natural language.Last updated
- Alicense-qualityDmaintenanceProvides secure, read-only access to PostgreSQL databases for schema inspection and data querying. It enables users to list tables, describe structures, and execute SELECT statements while strictly blocking destructive operations.Last updated261MIT
Related MCP Connectors
Read-only access to your VortexIQ store data: audits, KPIs, alerts, Brand DNA, reports, Ask VIQ.
Run SOQL queries to explore and retrieve Salesforce data. Inspect records, fields, and relationshi…
Connect to PlanetScale databases, branches, schema, query insights, and execute SQL
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/suryarajendhran/hasura-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server