Back to Home
sanjay3290 icon

hasura-mcp-server

Verified Safe

by sanjay3290

Overview

Enables AI assistants to interact with and manage Hasura GraphQL Engine instances through natural language.

Installation

Run Command
docker run -i --rm --network host sanjay3290/hasura-mcp:latest --endpoint http://localhost:8080 --admin-secret your-admin-secret

Environment Variables

  • HASURA_GRAPHQL_ENDPOINT
  • HASURA_GRAPHQL_ADMIN_SECRET

Security Notes

Secrets (Hasura admin secret) are handled via command-line flags or environment variables, not hardcoded within the provided code. The server can be run in a read-only mode for production safety, disabling destructive operations. It leverages Docker for containerization, providing isolation. The source code is built upon the Hasura GraphQL Engine's CLI internal libraries and the MCP-Go SDK, which are established open-source projects. The use of `--network host` for local instances is a configuration detail for local networking rather than a general vulnerability, but should be understood for its implications.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens1000
Stars0
Forks0
Last Update2025-11-24

Tags

HasuraGraphQLAI AssistantDatabase ManagementMCP