Skip to main content
Glama
suryarajendhran

hasura-mcp-server

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-secret

You can also pass values directly:

npx hasura-mcp-server --endpoint https://your-hasura/v1/graphql --x-hasura-admin-secret your-admin-secret

Any 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_check

  • list_tables

  • describe_table

  • list_root_fields

  • describe_graphql_type

  • preview_table_data

  • aggregate_data

  • run_graphql_query

Note: mutation operations are not allowed.

Resource

  • hasura://schema (GraphQL introspection schema)

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    -
    quality
    -
    maintenance
    Enables 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 updated
    55
    1
  • F
    license
    -
    quality
    D
    maintenance
    Provides 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
  • A
    license
    -
    quality
    D
    maintenance
    Provides 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 updated
    26
    1
    MIT

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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