Skip to content

Menu

Hygraph MCP Server logo

Hygraph MCP Server

Published

At a glance

Hosted by the vendor
https://hygraph.com/docs/hygraph-ai/mcp-server
Watch out for
Deleting content or schema and unpublishing entries are not supported over MCP and have to be done in Hygraph Studio.

Hygraph runs an official, hosted MCP server that connects AI clients to a Hygraph project over HTTP. Nothing gets installed on your side apart from, in some clients, the mcp-remote bridge. The docs name Claude (as a connector or through Claude Code), Cursor, VS Code, Windsurf and Claude Desktop as supported clients.

There are two endpoints. The project endpoint, https://mcp-{REGION}.hygraph.com/{PROJECT_ID}/{ENVIRONMENT}/mcp, is pinned to one project and environment and authenticates with a Permanent Auth Token. The global endpoint, https://mcp.hygraph.com/mcp, uses your Hygraph login, and the assistant first calls list_projects and list_environments to choose where to work. The Claude connector uses the global one.

The design is deliberately conservative. Deleting entries or schema elements and unpublishing are not supported over MCP at all, and execute_graphql rejects delete and unpublish mutations. Everything else follows the permissions of the token or the signed-in user.

How it connects

Your AI app

An assistant or agent that supports MCP

Hygraph MCP Server

Runs as

  • npx (Node.js)
  • Remote (HTTP)

Gives the agent

  • Content reads
  • Content writes
  • Raw GraphQL
  • Schema migrations
  • AI guidelines and agents
  • Project discovery

Hygraph

Signs in with

  • Token
Your AI app talks to Hygraph MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Content reads
list_entity_types, get_entity_schema, list_entities, get_entities_by_id and discover_entities let the agent learn the model and read entries; search_content runs a case-insensitive full-text search.
Content writes
create_entry and update_entry work in DRAFT, and publish_entry moves an entry to PUBLISHED.
Raw GraphQL
execute_graphql runs any Content API query or non-destructive mutation, including bulk updates across many entries.
Schema migrations
get_project_info gives an overview of models, components, enumerations, locales and stages; get_management_operation_schema describes an operation, and submit_batch_migration applies changes in one transaction with a dry_run option.
AI guidelines and agents
get_ai_guidelines loads brand, glossary, audience and legal guidance (read-only). list_agents, trigger_agents and check_progress start and track Studio agents set to Use in Agent runs.
Project discovery
On the global endpoint only, list_projects and list_environments let the assistant find every project you can access.

Setting it up

For the project endpoint, open Project Settings in Hygraph, go to Access > Permanent Auth Tokens and click Generate MCP PAT, choosing a permission set (General, Content, Management or Read-only MCP Server). Then copy the MCP Server API URL from Access > Endpoints. Claude Code supports HTTP natively: export HYGRAPH_TOKEN="your_token_here" and run claude mcp add hygraph https://mcp-{REGION}.hygraph.com/{PROJECT_ID}/{ENVIRONMENT}/mcp --transport http --header "Authorization: Bearer ${HYGRAPH_TOKEN}", then confirm it with claude mcp list. Cursor, VS Code, Windsurf and Claude Desktop with a PAT go through npx mcp-remote, which needs Node.js 20.18.1 or later; in Cursor the easiest route is the Add to Cursor button under MCP Server API in Studio. On Windows, use npx.cmd in place of npx. If you would rather skip tokens, add the Hygraph MCP connector in Claude under Settings > Connectors, sign in to Hygraph and accept. On Team and Enterprise plans an Owner may have to enable it first.

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • List draft entries untouched for 90 days, set a priority field on them and publish the ones that are ready.
  • Create a new Author model with name, bio and avatar fields, or add a required SEO Title field across page models, after a dry run.
  • Generate TypeScript types or Markdown files with front matter from the models and entries in a project.
  • Load the project AI guidelines, then draft a new Product entry in DRAFT for an editor to review.
  • Run a translator agent from Studio on a batch of posts and poll check_progress until they are ready for review.

Limitations and things to watch

  • Deleting content or schema and unpublishing entries are not supported over MCP and have to be done in Hygraph Studio.
  • execute_graphql can run bulk mutations, so the docs advise care before approving it with Always allow.
  • Cursor's default Auto model mode is not compatible with the server; you have to pick a model manually.
  • Agents bound to workflow steps cannot be triggered from MCP, and agent output always lands in DRAFT.
  • The project endpoint is locked to one project and environment, so working across environments means a token and endpoint per environment or the global endpoint.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…