What does mcp-graphql do?
It acts as a bridge between LLMs (via the MCP protocol) and any GraphQL endpoint, enabling schema discovery and query execution.
@blurrah
基本信息
Model Context Protocol server for GraphQL
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-graphql": {
"command": "npx",
"args": [
"mcp-graphql"
],
"env": {
"ENDPOINT": "http://localhost:3000/graphql"
}
}
}
}Introspect the GraphQL schema, use this tool before doing a query to get the schema information if you do not have it available as a resource already.
Query a GraphQL endpoint with the given query and variables
mcp-graphql is a Model Context Protocol (MCP) server that enables LLMs to interact with GraphQL APIs. It provides schema introspection and query execution capabilities, allowing models to dynamically discover and use any GraphQL endpoint.
Set environment variables (ENDPOINT, HEADERS, ALLOW_MUTATIONS, NAME, SCHEMA) and run npx mcp-graphql. The server automatically introspects the schema and exposes tools for querying. It can be installed via Smithery or configured manually for Claude Desktop.
introspect-schema tool or graphql-schema resourcequery-graphql toolALLOW_MUTATIONS=trueIt acts as a bridge between LLMs (via the MCP protocol) and any GraphQL endpoint, enabling schema discovery and query execution.
It can be installed automatically via Smithery (`npx -y @smithery/cli install mcp-graphql --client claude`) or manually by adding to Claude Desktop configuration with `npx mcp-graphql` and environment variables.
No special dependencies beyond Node.js; it runs via `npx` from the npm package.
Custom HTTP headers can be passed as a JSON string via the `HEADERS` environment variable, e.g., `HEADERS='{"Authorization":"Bearer token123"}'`.
No, mutations are disabled by default as a security measure to prevent unintended database changes. Set `ALLOW_MUTATIONS=true` to enable them.

Model Context Protocol Servers
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
评论