mcp-graphql-enhanced
v5.0.2GraphQL 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | The GraphQL query or mutation string. Example: 'query { guilds { id name } }'. |
endpoint | string | Optional target GraphQL HTTP/HTTPS URL to dynamically switch endpoint before execution. |
headers | string | JSON stringified object of extra HTTP headers for the request. |
variables | string | JSON 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.
| Parameter | Type | Description |
|---|---|---|
endpoint | string | Optional target GraphQL HTTP/HTTPS URL to dynamically switch endpoint before execution. |
headers | string | JSON stringified object of extra HTTP headers for the introspection request (e.g. '{"Authorization": "Bearer token"}'). |
typeDepth | number | Depth of nested fields to retrieve (0 to 5, default: 2) |
typeNames | array | List 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… |