{"type":"mcp_server","name":"mcp-graphql","description":"The mcp-graphql repository provides a Model Context Protocol server that enables LLMs to interact with GraphQL APIs by offering schema introspection and query execution capabilities, facilitating dynamic API usage.","category":"AI","language":"TypeScript","stars":395,"forks":9,"owner":"blurrah","github_url":"https://github.com/blurrah/mcp-graphql","homepage":null,"setup":"## Setup\n\n**Installing via Smithery:**\n\nTo install GraphQL MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/mcp-graphql):\n\n```bash\nnpx -y @smithery/cli install mcp-graphql --client claude\n```\n\n**Installing Manually:**\n\nIt can be manually installed to Claude:\n```json\n{\n    \"mcpServers\": {\n        \"mcp-graphql\": {\n            \"command\": \"npx\",\n            \"args\": [\"mcp-graphql\", \"--endpoint\", \"http://localhost:3000/graphql\"]\n        }\n    }\n}\n```","tools":"## Available Tools\n\n1. **introspect-schema**: This tool retrieves the GraphQL schema, using either a local schema file or an introspection query.\n2. **query-graphql**: Execute GraphQL queries against the endpoint; mutations are disabled by default unless `--enable-mutations` is specified.\n3. **graphql-schema**: The server exposes the GraphQL schema as a resource that clients can access, based on either a local schema file or an introspection query.","faq":null,"created_at":"2024-12-21T14:05:45+00:00","updated_at":"2025-03-28T07:32:05+00:00","source_url":"https://model-context-protocol.com/servers/graphql-model-context-protocol-server-api","related_articles":[]}