OpenViSTAI · Agents · Blockchain · Crypto
Menu
MCP & Tooling

MCP Graphql

MCP Graphql is a TypeScript Model Context Protocol server that connects compatible clients to a configured GraphQL endpoint for schema discovery and query execution.

Independent OpenViST project profile, based on linked sources.

MCP Graphql — MCP-to-GraphQL connections where clients need schema discovery and query execution
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when an MCP-compatible client needs schema information and query access to a GraphQL endpoint, with configuration options for headers, supplied schemas and mutation access.

Who it is for

  • Developers connecting an MCP-compatible client to a GraphQL API.
  • Teams that want clients to use a local or hosted schema when introspection is unavailable or undesired.
  • API operators configuring request headers and deciding whether clients may run mutations.

Documented uses

  • Expose a GraphQL schema to an MCP client through introspection or a supplied schema file.
  • Let a compatible client issue GraphQL queries to a configured endpoint.
  • Configure request headers for endpoint access.
  • Enable mutation operations explicitly when write access is needed.
Before you choose

Requirements & limits

  • The endpoint is configured with ENDPOINT; request headers can be supplied through HEADERS.
  • Schema discovery can use endpoint introspection or a local or URL-hosted schema specified by SCHEMA.
  • Mutations are disabled by default and enabled with ALLOW_MUTATIONS=true.
  • The README describes a generic server and recommends a custom MCP implementation when access should be restricted to specific query fields or variables.
  • The repository specifies the MIT license and TypeScript as its primary language.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Configure the server for a GraphQL endpoint

Set the endpoint and optional request headers or schema source before running mcp-graphql.

Before you start

  • A GraphQL endpoint URL.
  • The mcp-graphql package run through npx.
  • If needed, request headers represented as a JSON string, or a local schema file path or schema URL.

Steps

  1. Set ENDPOINT to the GraphQL endpoint URL.

  2. If the endpoint requires headers, set HEADERS to a JSON string containing them.

  3. If using a supplied schema instead of introspection, set SCHEMA to a local file path or schema URL.

  4. Run the command below.

    Documented command
    npx mcp-graphql

Expected outcome

The MCP server is configured to expose schema information and GraphQL query execution to a compatible client.

Guide limitations

  • The source documents configuration and invocation, not a verified successful connection to a particular endpoint.
  • Mutations are disabled by default and require ALLOW_MUTATIONS=true.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 November 2026
Original website title
blurrah/mcp-graphql · Official homepage title · retained in its source language