Skip to main content
Glama

GraphQL MCP Server

by FabrWill
MIT License
457

Graphql MCP Server

An model contexto protocol adapted to running and list graphql queries

Environment VariableDescriptionDefault
ENDPOINTGraphQL endpoint URLhttp://localhost:4000/graphql
HEADERSJSON string containing headers for requests{}
ALLOW_MUTATIONSEnable mutation operations (disabled by default)false

Resources

  • schema: exposes the GraphQL Schema to easy use by the IA

Available Tools

  1. introspect: This tool retrieves the GraphQL schema. used to index or get a new funciton by the LLM
  2. query: Execute GraphQL queries.

Installation

Installing Manually

start with installing the dependencies

npm i

after run the build of the package

npm run build

It can be manually installed to cursor:

{ "mcpServers": { "gql-mcp-server": { "command": "npx", "args": ["mcp-graphql"], "env": { "ENDPOINT": "https://localhost", "HEADERS": "{\"x-api-key\":\"apikey\"}" } } } }
-
security - not tested
A
license - permissive license
-
quality - not tested

A Model Context Protocol server for executing GraphQL queries, allowing AI models to interact with GraphQL APIs through introspection and query execution.

  1. Resources
    1. Available Tools
      1. Installation
        1. Installing Manually

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server that provides AI assistants with structured access to your Logseq knowledge graph, enabling retrieval, searching, analysis, and creation of content within your personal knowledge base.
        Last updated -
        45
        TypeScript
        • Apple
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.
        Last updated -
        457
        1
        MIT License
        • Apple
      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.
        Last updated -
        0
        TypeScript
        • Apple
        • Linux
      • A
        security
        F
        license
        A
        quality
        A Model Context Protocol server that enables AI agents to dynamically interact with Hasura GraphQL endpoints through natural language, supporting schema discovery, data querying/manipulation, and aggregations.
        Last updated -
        9
        11
        TypeScript

      View all related MCP servers

      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/FabrWill/gql-mcp'

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