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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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)
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Run read-only GraphQL queries and list documents and media assets in Caisy.
Provides read access to your GKE and Kubernetes resources.
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
Read your Iceberg tables hosted in Europe: find tables, run read-only SQL, view photos.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables 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.55 npm1-
- FlicenseNot gradedqualityDmaintenanceProvides 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.-
- AlicenseNot gradedqualityDmaintenanceProvides 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.7 npm1MIT
- AlicenseNot gradedqualityDmaintenanceRead-only access to PostgreSQL databases, enabling schema inspection and safe SQL queries.11 npmMIT