Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Hasura Mcp Server

FreeNot checked

MCP server for Hasura GraphQL

GitHubEmbed

About

MCP server for Hasura GraphQL

README

MCP server for Hasura GraphQL, runnable via npx hasura-mcp-server.

Requirements

  • Node.js 18+
  • Hasura GraphQL endpoint + admin secret

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)

from github.com/suryarajendhran/hasura-mcp-server

Install Hasura Mcp Server in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install hasura-mcp-server

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add hasura-mcp-server -- npx -y hasura-mcp-server

FAQ

Is Hasura Mcp Server MCP free?

Yes, Hasura Mcp Server MCP is free — one-click install via Unyly at no cost.

Does Hasura Mcp Server need an API key?

No, Hasura Mcp Server runs without API keys or environment variables.

Is Hasura Mcp Server hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Hasura Mcp Server in Claude Desktop, Claude Code or Cursor?

Open Hasura Mcp Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Hasura Mcp Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs