Allows interaction with GraphQL endpoints, providing tools to execute queries, retrieve schema information through introspection, and optionally run mutations when enabled.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GraphQL MCP Serverintrospect the schema to see what queries are available"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Graphql MCP Server
An model context protocol adapted to running and list graphql queries
Environment Variable | Description | Default |
| GraphQL endpoint URL |
|
| JSON string containing headers for requests |
|
| Enable mutation operations (disabled by default) |
|
Resources
schema: exposes the GraphQL Schema to easy use by the IA
Related MCP server: mcp-graphql
Available Tools
introspect: This tool retrieves the GraphQL schema. used to index or get a new funciton by the LLM
query: Execute GraphQL queries.
Installation
Installing Manually
start with installing the dependencies
after run the build of the package
It can be manually installed to cursor:
You can also test the mpc using the MPC inspector