MCP Gateway | GraphQL MCP, Connect APIs to AI - WunderGraph

The MCP Gateway

Connect your APIs to AI and give tools like ChatGPT, Gemini, and Claude secure access to your data with full control, built-in governance, and zero code.

System Overview

How the MCP Gateway connects your GraphQL API with AI models

Core Capabilities

Give AI Access. Keep Control.

Connect your API with AI models through secure tooling and precise control, unlocking new possibilities for your data.

AI Discovery

Make your APIs discoverable by AI models like ChatGPT and Claude, starting with GraphQL.

Operation Control

Expose only approved operations to AI, with full control over what agents can access.

Rich Metadata

Provide detailed schema information and input requirements that AI models can understand and use.

Instant Integration

Connect your API with AI platforms like ChatGPT, Claude, and Cursor with minimal configuration.

Available AI Tools

Turn your APIs into AI-ready tools — structured, discoverable, and controlled by you.

Automatic Discovery

Enables AI models to autonomously explore your API structure and available operations.

Controlled Execution

Operation-specific execution tools that provide secure and governed data access.

Rich Metadata

Detailed schema information helps AI models accurately understand your API requirements.

Your Operations as AI Tools

Schema-Aware AI Integration

Cosmo adds rich JSON Schema metadata to your APIs so AI agents understand what each operation does and how to use it safely.

Smart Schema Analysis

Cosmo analyzes your API operations to extract semantic information about what each one does and how it should be used.

Comment Preservation

Cosmo preserves your documentation comments and passes them to AI agents, providing helpful context for every operation.

Input for Filtering Products

input ProductFilter {
  minPrice: Float  # Minimum price threshold for filtering
  maxPrice: Float  # Maximum price threshold for filtering
  inStock: Boolean  # Filter by stock availability status
}

Main Query Entry Points

type Query {
  products(filter: ProductFilter): [Product!]
}

Generated JSON Schema

{
  "description": "Retrieves products matching the filter criteria. Results can be filtered by price range and availability",
  "type": "object",
  "properties": {
    "filter": {
      "type": "object",
      "description": "Input for filtering products with price range and stock options",
      "properties": {
        "minPrice": {
          "type": "number",
          "description": "Minimum price threshold for filtering"
        },
        "maxPrice": {
          "type": "number",
          "description": "Maximum price threshold for filtering"
        },
        "inStock": {
          "type": "boolean",
          "description": "Filter by stock availability status"
        }
      }
    }
  }
}

Empowering Teams to Make AI Work for Them

Business Intelligence Assistant

Hello! I'm your Business Intelligence Assistant. You can ask me questions about your company data, and I'll analyze it for you.

Example Query: What were our top selling products last quarter by region?

Top Products by Region (Q3 2023)

Natural Language Queries

Ask questions in plain English and get real answers from your APIs, no GraphQL or SQL required.

Validated Results

All AI queries run through your approved operations to ensure every response is secure, accurate, and consistent.

Ready to connect your API to AI?

Get started with MCP in minutes and unlock the full potential of your APIs with safe, structured AI access.