LabscoMCP early access ↗
Docat0209MCP SERVER

GraphQL to MCP

Turn a GraphQL schema into MCP tools — one tool per query, generated from the endpoint rather than hand-written.

by Docat0209 ↗API Specifications & HTTP ToolingCommunity

LABSCO SUMMARY

The tools you see here are the demo schema's, not this server's — what it actually offers is the generation.

This is a generic GraphQL-to-MCP bridge: the continent and language tools come from the public countries schema in its quick-start example, not from the product. Point it at your own endpoint and the tool list becomes yours. That design has a real advantage over hand-wrapping an API — the tools cannot drift from the schema, because they are the schema — and a real cost, which is that a large graph produces a large tool list riding along in every turn. Worth checking the query count before attaching it to something substantial.

What it is

A generator rather than a fixed integration: it reads a GraphQL endpoint's schema and exposes each query as its own tool, with the return type stated.

What you get

  • One tool per GraphQL query, each carrying its signature and return type — so the model sees the shape rather than having to introspect.
  • The tool list follows whatever schema you point it at, so a new query on your GraphQL server becomes a new tool with no wrapper code to write.
  • Pointed at the public countries schema from the README's quick start, it exposes continent, country and language queries, each in a list and a singular form.

Requirements

A GraphQL endpoint to point it at — the tool surface is derived from whatever schema that endpoint serves.

Setup effort

One command — npx graphql-to-mcp https://countries.trevorblades.com/graphql