Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
NAME | No | Name of the MCP server | mcp-graphql-enhanced |
SCHEMA | No | Path to a local GraphQL schema file or URL (optional) | |
HEADERS | No | JSON string containing headers for requests | {} |
ENDPOINT | No | GraphQL endpoint URL | http://localhost:4000/graphql |
ALLOW_MUTATIONS | No | Enable mutation operations (disabled by default) | false |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
graphql-schema |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
introspect-schema | Introspect the GraphQL schema. Optionally filter to specific types. |
query-graphql | Query a GraphQL endpoint with the given query and variables. Optionally pass headers (e.g., for Authorization). |