Feedback

GraphQL Bridge MCP Server

@jorgeraad Claim

Basic information

Runtime
TypeScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
jorgeraad
Submitted by
Community
Quality
35
Stars
3

About GraphQL Bridge MCP Server

GraphQL Bridge connects MCP clients with GraphQL APIs, supporting schema introspection, queries, mutations, variables, and authentication.

GraphQL Bridge is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by jorgeraad. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools.

Setup

{
    "mcpServers": {
        "mcp4gql": {
            "command": "npx",
            "args": [
                "-y",
                "mcp4gql"
            ],
            "env": {
                "GRAPHQL_ENDPOINT": "YOUR_GRAPHQL_ENDPOINT_URL",
                "AUTH_TOKEN": "YOUR_OPTIONAL_AUTH_TOKEN"
            }
        }
    }
}

GraphQL Bridge MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp4gql": {
            "command": "npx",
            "args": [
                "-y",
                "mcp4gql"
            ],
            "env": {
                "GRAPHQL_ENDPOINT": "YOUR_GRAPHQL_ENDPOINT_URL",
                "AUTH_TOKEN": "YOUR_OPTIONAL_AUTH_TOKEN"
            }
        }
    }
}

GraphQL Bridge MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is GraphQL Bridge?

mcp4gql is a Node.js/TypeScript server that implements the Model Context Protocol (MCP), acting as a bridge for MCP clients like Cursor to interact with a target GraphQL API. It is intended for developers who want to query and introspect GraphQL APIs through MCP-compatible tools.

How to use GraphQL Bridge?

Configure the environment variables GRAPHQL_ENDPOINT (the target GraphQL API URL) and optionally AUTH_TOKEN (a bearer token). Then configure an MCP client such as Cursor or Claude Desktop to run the server via npx, passing those environment variables. The server communicates over stdio and exposes the tools introspectGraphQLSchema and executeGraphQLOperation to the client.

Key features of GraphQL Bridge

  • Implements the MCP Server class from @modelcontextprotocol/sdk
  • Communicates with clients via standard input/output (stdio transport)
  • Uses axios to send requests to the configured GraphQL endpoint
  • Exposes introspectGraphQLSchema tool for fetching the API schema
  • Exposes executeGraphQLOperation tool for running queries or mutations

Use cases of GraphQL Bridge

  • Exploring a GraphQL API’s schema from within an MCP-enabled editor
  • Running ad-hoc GraphQL queries or mutations without leaving the development environment
  • Automating GraphQL operations through MCP workflows in Cursor or Claude Desktop

Frequently asked questions

1 What tools does mcp4gql expose to MCP clients?

It exposes introspectGraphQLSchema to fetch the target API’s schema via introspection, and executeGraphQLOperation to execute arbitrary GraphQL queries or mutations with optional variables and operation name.

2 How do I configure mcp4gql for Cursor?

In Cursor MCP Settings, add a new global MCP server with the command npx -y mcp4gql and the required environment variables GRAPHQL_ENDPOINT and optional AUTH_TOKEN.

3 How do I configure mcp4gql for Claude Desktop?

In Claude Desktop settings, open Developer > Edit Config and add an entry under mcpServers using npx with -y mcp4gql as arguments and the same environment variables.

4 What dependencies does mcp4gql require?

It is a Node.js/TypeScript project that depends on @modelcontextprotocol/sdk, axios, and the standard Node.js runtime. It is run via npx, so Node.js must be installed.

5 How does authentication work with the target GraphQL API?

Authentication is optional. If the AUTH_TOKEN environment variable is set, the server includes an Authorization: Bearer <token> header in all GraphQL requests.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬