Contentful MCP server for AI agents

Live

OAUTH 2.1

CONTENT MANAGEMENT

Files & Documents

Contentful MCP gives your agent content management in Contentful: search and update entries, upload and publish assets, edit content types, and manage taxonomy concepts.

  • Per-user credentials: each call uses the actual user's token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Contentful MCP
agent · Acme Q3
Run
Find blog post entries that mention pricing and are still unpublished.
S
contentfulmcp_search_entries
142ms
Content agent
6 blog post entries mention pricing and are still unpublished. The oldest was last updated 41 days ago.
Sources: Contentful, master environment, 6 entries
contentfulmcp
6 entries
18:29
Message Claude...

Tools your content agent reaches for on Contentful, scoped per user.

CALL ANY TOOL
81 tools for content management in Contentful: search and resolve entries, manage assets, content types, locales, and taxonomy concepts, run AI actions, and publish or archive content.
contentfulmcp_append_entry_field
Append entry field
Append one or more items to an array-typed entry field (Array of Symbols, Links, or ResourceLinks) entirely server-side, deduplicating survivors before writing back only the target field/locale. Prefer this over update_entry when adding items to large reference arrays, since update_entry replaces the full array and can silently lose items if the agent held a truncated read.
Parameters
Name
Type
Required
Description
entryId
string
Required
The ID of the entry to modify.
environmentId
string
Required
The Contentful environment ID (e.g. 'master', 'staging'). Find it in Settings > Environments.
fieldId
string
Required
The ID of the array field to append to.
locale
string
Required
The locale key to target (e.g. 'en-US'). Fields are locale-keyed; you must supply the exact locale string.
spaceId
string
Required
The unique identifier of the Contentful space. Find it in your Contentful dashboard under Settings > General.
values
array
Required
One or more items to append. Each item must match the element shape of the target array field: a plain string for Array of Symbols, {sys:{type:'Link', linkType:'Entry'|'Asset', id:'...'}} for Array of Links, or {sys:{type:'ResourceLink', linkType:'...', urn:'...'}} for Array of ResourceLinks.
version
number
Optional
Optional. The entry's sys.version as returned by get_entry. If provided, the append is rejected when the entry has changed since you read it. If omitted, the append targets the current server state without a version check.
contentfulmcp_archive_asset
Archive asset
contentfulmcp_cancel_scheduled_release
Cancel scheduled release
contentfulmcp_create_concept
Create concept
contentfulmcp_create_entry
Create entry
contentfulmcp_create_release
Create release
contentfulmcp_delete_asset
Delete asset
contentfulmcp_delete_concept_scheme
Delete concept scheme
contentfulmcp_delete_entry
Delete entry
contentfulmcp_get_ai_action
Get ai action
contentfulmcp_get_concept_scheme
Get concept scheme
contentfulmcp_get_entry_preview_url
Get entry preview url
contentfulmcp_get_org
Get org
contentfulmcp_invoke_ai_action
Invoke ai action
contentfulmcp_list_ai_actions
List ai actions
contentfulmcp_list_concepts
List concepts
contentfulmcp_list_editor_interfaces
List editor interfaces
contentfulmcp_list_orgs
List orgs
contentfulmcp_list_scheduled_actions
List scheduled actions
contentfulmcp_patch_entry
Patch entry
contentfulmcp_publish_asset
Publish asset
contentfulmcp_publish_entry
Publish entry
contentfulmcp_schedule_unpublish_release
Schedule unpublish release
contentfulmcp_search_entries
Search entries
contentfulmcp_unarchive_entry
Unarchive entry
contentfulmcp_unpublish_entry
Unpublish entry
contentfulmcp_update_asset
Update asset
contentfulmcp_update_concept_scheme
Update concept scheme
contentfulmcp_update_entry
Update entry
contentfulmcp_upload_asset
Upload asset

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Contentful MCP tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["contentfulmcp"], toolNames: [
    "contentfulmcp_search_entries",
    "contentfulmcp_update_entry",
    "contentfulmcp_publish_entry"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find unpublished blog post entries that mention pricing" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["contentfulmcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find unpublished blog post entries that mention pricing" }],
  tools,
});

// Execute the tool call with the user's vaulted Contentful token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["contentfulmcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find unpublished blog post entries that mention pricing" }],
  tools,
});

// Tool call runs with the user's vaulted Contentful token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["contentfulmcp"] }, pageSize: 100,
});

const agent = new Agent({
  name: "content_agent",
  model: "gemini-2.5-pro",
  instruction: "Contentful MCP tools scoped to this user",
  tools,
});

await agent.run("Find unpublished blog post entries that mention pricing");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Contentful MCP tool. Click to copy, paste into your agent, done.
Entries
Copy the prompt
Copied
Search blog post entries that mention pricing.
Copy the prompt
Copied
Update the title field on this entry and keep the other fields as they are.
Copy the prompt
Copied
Publish these 3 entries to the Content Delivery API.
Copy the prompt
Copied
Show the version history of this entry so I can roll back.
Assets
Copy the prompt
Copied
Upload a new asset to Contentful from this image URL.
Copy the prompt
Copied
List the assets in the master environment.
Copy the prompt
Copied
Archive the assets we no longer need but want to keep.
Content models and taxonomy
Copy the prompt
Copied
List the content types in this environment with their fields.
Copy the prompt
Copied
Create a taxonomy concept called Pricing in the Topics concept scheme.
Copy the prompt
Copied
Add a French locale with English as its fallback.
SEE HOW AUTH WORKS
Each user signs in to Contentful once; Scalekit stores and refreshes their tokens. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Contentful MCP
once. We tie it to their identity and the meetings they approved — no shared bot account, no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Contentful MCP
token lives in a vault scoped to them. User A's meetings are never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tokens:
auto-refreshed
3
Resolve
When your agent calls a
Contentful MCP
tool, we fetch the right token server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Contentful MCP
tool call is logged — who triggered it, which meeting was fetched, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other content and documents connectors.
Engineering Teams
Auto release notes agent
Reads merged GitHub PRs, groups them into structured release notes, publishes the page to Notion, and announces the release in Slack. Every call runs on the engineer's own delegated OAuth.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
GTM and RevOps Teams
Deal room sync
Pulls opportunity context from Salesforce, captures key decisions from Slack, and syncs a running summary to the deal room doc in Google Drive, but only when the deal actually changed.
Engineering Teams
Slack triage
Polls Slack for new messages, classifies bugs and support requests with a LangGraph router, files GitHub issues or Zendesk tickets, and confirms in the thread.
Test other agents
See the same per-user auth pattern across other content and documents connectors.
ENGINEERING
Auto-release notes agent
Group merged GitHub PRs into structured release notes, publish the page to Notion, and announce the release in Slack.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
GTM
Deal room sync agent
Pull opportunity context from Salesforce, capture decisions from Slack, and keep the Google Drive deal room doc current.
ENGINEERING
Slack triage agent
Classify new Slack messages as bugs or support requests, file the GitHub issue or Zendesk ticket, and reply in the thread.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Contentful token looks fine in a demo. In production every entry edit and publish looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Contentful today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Contentful as the user or through a shared service account?
As the user. Each user signs in to Contentful once, and Scalekit stores and refreshes their tokens. Every entry edit and publish in your audit trail is attributed to that user, not a shared service account.
Where is the Contentful OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Contentful?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the 34 read-only tools without the publish, archive, and delete tools. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Contentful access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent publish content or only edit drafts?
Both, depending on the tools you expose. contentfulmcp_create_entry and contentfulmcp_update_entry change entry fields, while the publish tools make entries and assets available via the Content Delivery API. Delete tools run in two phases: the first call returns a preview and a confirmation token. Leave publish and delete tools out of toolNames to keep the agent in edit-only mode.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""contentfulmcp"": {
""url"": ""https://mcp.scalekit.com/contentfulmcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.contentfulmcp]
url = ""https://mcp.scalekit.com/contentfulmcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""contentfulmcp"": {
""url"": ""https://mcp.scalekit.com/contentfulmcp"",
""type"": ""http""
}
}
}