Hygraph integration
Hygraph (formerly GraphCMS) is a federated, GraphQL-native headless CMS. Authors model structured content (entries, assets, localized fields, relations) and consume it through an auto-generated GraphQL endpoint that supports queries, mutations, publishing/unpublishing, asset management, and Relay-style pagination. This integration targets the regular read & write endpoint authenticated with a Permanent Auth Token (PAT).
Say what should happen.
The workflow builds itself.
Common Hygraph use cases
- Editing a blog post
- Adding a new blog post
- Removing obsolete posts
- Going live with a new article
- Loading a post for a detail page
- Fetching a list of posts/products/pages
- Listing all images in the media library
- Pulling a published article back to draft
- Importing an image already hosted elsewhere
- Discovering content models before generating a query
What you can do with Hygraph
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Entry, 6 operations
mutation_create_entryMutation create entryPOSTCreate a new entry in a Hygraph content model.mutation_delete_entryMutation delete entryPOSTDelete a Hygraph entry by ID.mutation_publish_entryMutation publish entryPOSTPublish a Hygraph entry, optionally across multiple locales.mutation_unpublish_entryMutation unpublish entryPOSTUnpublish a Hygraph entry, optionally for specific locales.mutation_update_entryMutation update entryPOSTUpdate fields on an existing Hygraph entry.query_entry_by_idQuery entry by idPOSTFetch a single Hygraph entry by ID for a given content model.
Asset, 1 operation
mutation_create_asset_from_urlMutation create asset from urlPOSTCreate a new Hygraph asset by URL ingestion.
Assets, 1 operation
query_assetsQuery assetsPOSTList Hygraph assets (images, files, media) with optional filtering and pagination.
Entries, 1 operation
query_entries_by_typeQuery entries by typePOSTRun an arbitrary GraphQL query against the Hygraph content endpoint to fetch entries of any model.
Schema, 1 operation
query_models_metadataQuery models metadataPOSTList all content models and types declared in the Hygraph project via GraphQL introspection.
Use Hygraph from Claude Code, Cursor or Codex
Connect Hygraph in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Hygraph operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Hygraph
- Create your workspace
Sign up free. Nothing to install.
- Connect Hygraph once
Add your Hygraph connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Hygraph integration FAQ
What can you do with the Hygraph integration?
LiveContext exposes 10 operations on Hygraph, covering entry, asset, assets and entries. Common uses include Editing a blog post, Adding a new blog post and Removing obsolete posts.
