Skip to main content
Glama
NarglesCS

GraphMCP

by NarglesCS

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GRAPHMCP_MAX_DEPTHNoMax query nesting depth (fragment-cycle safe).10
GRAPHMCP_ALLOW_MUTATIONSNoSet to '1' to enable graphql_mutate tool.off

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
graphql_schemaA

Return the GraphQL schema (SDL). Call this before writing queries.

graphql_validateA

Validate a GraphQL query without executing it.

Returns {"valid": bool, "errors": [...], "depth": int}. Use this to catch typos and invalid fields cheaply before calling graphql_query.

graphql_queryA

Execute a read-only GraphQL query and return {"data", "errors"}.

Select only the fields you need. Example:

query($role: Role) {
  users(role: $role) { name posts(limit: 2) { title } }
}

with variables {"role": "ADMIN"}. Mutations are rejected here.

graphql_mutateA

Execute a GraphQL mutation (write operation).

Only permitted when the server is started with GRAPHMCP_ALLOW_MUTATIONS=1. Example:

mutation($input: CreatePostInput!) { createPost(input: $input) { id } }

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
schema_resourceThe GraphQL schema (SDL) served by this server.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NarglesCS/GraphMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server