blurrah/mcp-graphql
Model Context Protocol server for GraphQL
Overview
blurrah/mcp-graphql is a TypeScript MCP server licensed under MIT. Model Context Protocol server for GraphQL Topics: ai, llm, mcp, mcp-server, modelcontextprotocol.
Ranked #4312 out of 25632 indexed tools.
Ecosystem
TypeScript MIT
aillmmcpmcp-servermodelcontextprotocol
Signal Breakdown
Stars 365
Freshness 6mo ago
Issue Health 48%
Contributors 7
Dependents 2
Forks 59
Description Brief
License MIT
How to Improve
Description low impact
Freshness high impact
Issue Health high impact
Matched Queries
From the README
# mcp-graphql
A Model Context Protocol server that enables LLMs to interact with GraphQL APIs. This implementation provides schema introspection and query execution capabilities, allowing models to discover and use GraphQL APIs dynamically.
<a href="https://glama.ai/mcp/servers/4zwa4l8utf"></a>
## Usage
Run `mcp-graphql` with the correct endpoint, it will automatically try to introspect your queries.
### Environment Variables (Breaking change in 1.0.0)
> **Note:** As of version 1.0.0, command line arguments have been replaced with environment variables.
| Environment Variable | Description | Default |
|----------|-------------|---------|
| `ENDPOINT` | GraphQL endpoint URL | `http://localhost:4000/graphql` |
| `HEADERS` | JSON string containing headers for requests | `{}` |
| `ALLOW_MUTATIONS` | Enable mutation operations (disabled by default) | `false` |
| `NAME` | Name of the MCP server | `mcp-graphql` |
| `SCHEMA` | Path to a local GraphQL schema file or URL (optional) | - |
Read full README on GitHub →
Are you the maintainer? Claim this listing