Exposes GraphQL schema information through dedicated tools so LLMs can explore large schemas without loading them into context.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add graphql-schema -- npx -y mcp-graphql-schema /ABSOLUTE/PATH/TO/schema.graphqls~/.codex/config.toml
[mcp_servers.graphql-schema]
command = "npx"
args = ["-y", "mcp-graphql-schema", "/ABSOLUTE/PATH/TO/schema.graphqls"]
# codex mcp add graphql-schema -- npx -y mcp-graphql-schema /ABSOLUTE/PATH/TO/schema.graphqls~/.cursor/mcp.json
{
"mcpServers": {
"graphql-schema": {
"command": "npx",
"args": [
"-y",
"mcp-graphql-schema",
"/ABSOLUTE/PATH/TO/schema.graphqls"
]
}
}
}.vscode/mcp.json
{
"servers": {
"graphql-schema": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-graphql-schema",
"/ABSOLUTE/PATH/TO/schema.graphqls"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"graphql-schema": {
"command": "npx",
"args": [
"-y",
"mcp-graphql-schema",
"/ABSOLUTE/PATH/TO/schema.graphqls"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"graphql-schema": {
"command": "npx",
"args": [
"-y",
"mcp-graphql-schema",
"/ABSOLUTE/PATH/TO/schema.graphqls"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"graphql-schema": {
"command": "npx",
"args": [
"-y",
"mcp-graphql-schema",
"/ABSOLUTE/PATH/TO/schema.graphqls"
]
}
}
}