Hasura GraphQL
JSON →Interact with a Hasura GraphQL endpoint, enabling schema introspection, queries, mutations, and data aggregation.
Tools · 9
- 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.
Environment variables
ADMIN_SECRETYOUR_ADMIN_SECRET
Links
★ 22 GitHub stars