# hasura-mcp

MCP server for Hasura: metadata export, SQL passthrough. Works with any self-hosted instance.

- **Type:** MCP server
- **Trust:** 60/100 (B), scored on the package rubric
- **Verification:** community-indexed — nobody has claimed this listing
- **Version:** 1.0.2
- **Author:** io.github.mrfentmen
- **License:** MIT
- **npm:** hasura-mcp
- **Source:** https://github.com/mrfentmen/awesome-mcps
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

60/100 (B), scored on the package rubric
- Publisher verified: no
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 2 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-10-03T19:50:44.310Z
- **Version scanned:** 1.0.2
- **CVEs:** none found by OSV at scan time

## Tools

5 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `export_metadata` — Hasura metadata: sources and tracked tables. Needs HASURA_ADMIN_SECRET.
- `run_sql` — Run read-only SQL against a Hasura Postgres source. Only SELECT/WITH queries are sent.
- `metadata_census` — Census of a Hasura metadata document you supply as JSON: every object kind it holds and its size, the sources, the relationship and action kind breakdown, the t
- `sql_audit` — Static audit of a SQL statement with no database connection: what it starts with, whether it is read only under a SELECT/WITH rule, the tables it names, and how
- `graphql_builder` — Build a GraphQL document for a Hasura schema from the tables and fields you name, with a depth budget, an operation type and an optional alias, so the query can

## Install

**Verdict: review** — Installable, but 1 thing to check first: No publisher has proved control of this listing; it is indexed, not vouched for.
**Cautions** (coverage gaps and advisories — never blocking)
- No publisher has proved control of this listing; it is indexed, not vouched for.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"hasura\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"hasura-mcp\"\n      ]\n    }\n  }\n}"
```

## Blast radius

Moderate to extensive — no credential declaration found, from the publisher, the upstream registry, or the README. Known so far: reaches a data store; runs on your machine.
- Floor 26, ceiling 44 (tier: unknown)
- `unknown` means the floor and ceiling land in different bands — not measured enough to name one. It does not mean low.
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/hasura-mcp
- Install plan: https://forgeregistry.com/api/v1/packages/hasura-mcp/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/hasura-mcp
- HTML page: https://forgeregistry.com/registry/hasura-mcp
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
