Skip to main content
Glama

Advanced Hasura GraphQL MCP Server

by husamabusafa

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Hasura GraphQL Schema (via Introspection)

Tools

Functions exposed to the LLM to take actions

NameDescription
run_graphql_query

Executes a read-only GraphQL query against the Hasura endpoint...

run_graphql_mutation

Executes a GraphQL mutation to insert, update, or delete data...

list_tables

Lists available data tables (or collections) managed by Hasura, organized by schema with descriptions

list_root_fields

Lists the available top-level query, mutation, or subscription fields...

describe_graphql_type

Provides details about a specific GraphQL type (Object, Input, Scalar, Enum, Interface, Union)...

preview_table_data

Fetch esa limited sample of rows (default 5) from a specified table...

aggregate_data

Performs a simple aggregation (count, sum, avg, min, max)...

health_check

Checks if the configured Hasura GraphQL endpoint is reachable...

describe_table

Shows the structure of a table including all columns with their types and descriptions

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/husamabusafa/hasura_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server