hasura-mcp-server
Verified Safeby sanjay3290
Overview
Enables AI assistants to interact with and manage Hasura GraphQL Engine instances through natural language.
Installation
docker run -i --rm --network host sanjay3290/hasura-mcp:latest --endpoint http://localhost:8080 --admin-secret your-admin-secretEnvironment 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
gcloud-mcp
Enables AI assistants to interact with the Google Cloud environment using the gcloud CLI for natural language cloud management and workflow automation.
CodeGraphContext
An AI pair programmer that provides real-time, accurate, context-aware assistance by indexing and analyzing codebases (local projects and dependencies) using a graph database, facilitating code understanding, writing, and refactoring across multiple programming languages.
CodeGraphContext
This MCP Server acts as an expert AI pair programmer's backend, providing real-time, accurate code analysis, indexing, and relationship information from a local codebase to assist with understanding, writing, and refactoring code.
claude-prompts
This server provides a hot-reloadable prompt engine with chains, quality gates, and structured reasoning for AI assistants, enhancing control over Claude's behavior in prompt workflows.