mcp-graphql-enhanced

v5.0.2
io.github.letoribo/mcp-graphql-enhanced Checked 23 hours ago Published 4 days ago

GraphQL gateway for LLMs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

query-graphql

Execute GraphQL operations (queries and mutations) against the federated system. WARNING: This tool performs remote operations. 'Mutation' operations will modify persistent state; execute these only when a state change is intended. Prerequisites: Verify schema structure using 'introspect-schema' before executing complex queries. Security: Inherits environment-based authentication. Returns: A JSON object containing the execution result ('data') or a list of 'errors' in case of failure.

ParameterTypeDescription
query *stringThe GraphQL query or mutation string. Example: 'query { guilds { id name } }'.
endpointstringOptional target GraphQL HTTP/HTTPS URL to dynamically switch endpoint before execution.
headersstringJSON stringified object of extra HTTP headers for the request.
variablesstringJSON stringified object of variables. Example: '{"id": "123"}'.

introspect-schema

Retrieve GraphQL schema details or system manifest. READ-ONLY: Non-destructive metadata discovery. Usage: 1. If 'typeNames' is provided: Returns the full SDL (Schema Definition Language) for the requested types, including fields and relations. 2. If 'typeNames' is omitted: Returns a Federated Manifest—a high-level summary of connected nodes, their capabilities, and available domain entities (not the full schema). Use this to navigate the federated graph topology before executing queries.

ParameterTypeDescription
endpointstringOptional target GraphQL HTTP/HTTPS URL to dynamically switch endpoint before execution.
headersstringJSON stringified object of extra HTTP headers for the introspection request (e.g. '{"Authorization": "Bearer token"}').
typeDepthnumberDepth of nested fields to retrieve (0 to 5, default: 2)
typeNamesarrayList of specific GraphQL type names to introspect (max 20 types per request). If provided, returns the detailed SDL definitions for these types. If omitted, returns a system-wide Federated Manifest ov…