mcp-graphql-tools
7
GraphQL MCP Tools is a server designed to enable AI systems to interact with GraphQL APIs efficiently. It offers functionalities like executing queries and exploring schemas through standardized tools for endpoint interaction.
GraphQL MCP Tools
A Model Context Protocol (MCP) server implementation that provides GraphQL API interaction capabilities. This server enables AI assistants to interact with GraphQL APIs through a set of standardized tools.
Components
Tools
-
graphql_query
- Execute GraphQL queries against any endpoint
- Input options include query, variables, endpoint, headers, timeout, and allowMutations.
-
graphql_introspect
- Retrieve and explore GraphQL schema information
- Input options include endpoint, headers, and includeDeprecated.
Configuration Options
- --endpoint (-e): Default GraphQL endpoint URL (default: http://localhost:4000/graphql)
- --headers (-H): Default headers for all requests as JSON string
- --timeout (-t): Default request timeout in milliseconds (default: 30000)
- --maxComplexity (-m): Maximum allowed query complexity (default: 100)