MCP Servers / database / Hasura GraphQL

Hasura GraphQL

JSON →
stdionone22database

Interact with a Hasura GraphQL endpoint, enabling schema introspection, queries, mutations, and data aggregation.

Install
How to run this server

No install command recorded.

server path: hasura-graphql
Tools
What this server exposes
run_graphql_query
Executes a read-only GraphQL query against the Hasura endpoint. Use this for fetching data when a specific tool isn't available. Ensure the query does not modify data.
run_graphql_mutation
Executes a GraphQL mutation to insert, update, or delete data. Use with caution, ensure the operation is intended and safe. Relies on Hasura permissions configured for the provided Admin Secret or default role.
list_tables
Lists available data tables (or collections) managed by Hasura, organized by schema with descriptions, based on introspection heuristics.
describe_table
Shows the structure of a specific table including all its columns (fields) with their GraphQL types and descriptions.
list_root_fields
Lists the available top-level query, mutation, or subscription fields from the GraphQL schema.
describe_graphql_type
Provides details about a specific GraphQL type (Object, Input, Scalar, Enum, Interface, Union) using schema introspection.
preview_table_data
Fetches a limited sample of rows (default 5) from a specified table to preview its data structure and content.
aggregate_data
Performs a simple aggregation (count, sum, avg, min, max) on a specified table, optionally applying a Hasura 'where' filter.
health_check
Checks if the configured Hasura GraphQL endpoint is reachable and responding to a basic GraphQL query.
Configuration
Environment & auth
authnone
envADMIN_SECRET
envYOUR_ADMIN_SECRET
Resources
Hasura GraphQL — MCP Server · libregistry