What the Strapi MCP server lets AI clients do
Strapi includes a built-in MCP server since 5.47.0, and it is free. It lets AI clients create, read, update, delete, publish and unpublish content through the Content Manager. A team that wants Claude, Cursor or another MCP client to draft, edit or publish content in Strapi can use it instead of building a custom integration, but only if the work fits how the content team operates. The server acts through the same content model and permissions that govern editors, so the question is less about whether the tool works and more about whether AI-driven edits should happen at all in a given content type.
Teams usually need the MCP server when repetitive, high-volume or structured content work benefits from an assistant: bulk updates to product descriptions, drafting localized variants of existing entries, restructuring fields across many records, or creating entries from a spreadsheet or brief. A plain admin workflow is enough when editors write a handful of pages a week, when content needs human review in the admin panel before anything changes, or when the team has not yet decided who is accountable for AI-made edits. In that case, adding an MCP client mostly adds risk without removing much work. The decision also depends on your plan, since review workflows and audit logs are Enterprise features in Strapi's self-hosted plans, which affects how much oversight you can attach to AI-made changes.
Before enabling anything, confirm three things in your own environment: which content types the MCP server can reach, what the Admin token used by the client is allowed to do, and whether the publish and unpublish tools should be available at all. Because Strapi exposes only the tools that the token's permissions allow, a narrowly scoped token is the main control you have over what an AI client can change. Write down the content types in scope and test the token against a staging instance first. The Strapi MCP server documentation lists the current configuration keys and tool behavior, and you should check them against the version you run.
How to enable /mcp and connect an MCP client
This sequence turns on Strapi's built-in MCP server, confirms the endpoint answers, limits an Admin token to the permissions the AI client needs, and proves the client sees only the tools that token allows. It is run in a non-production environment first.
Confirm your Strapi version and environment
Check that the project runs Strapi 5.47.0 or later, since the built-in MCP server was added in that release. Run this in a local or staging instance, not production, so that any mistakes in permissions or content changes stay contained. Confirm the project uses a supported Node.js version and a supported database before changing configuration. The step is done when the admin panel loads on the test instance and the version in your project matches or exceeds 5.47.0.
Enable mcp.enabled in server configuration
Open the server configuration file in your project and set mcp.enabled to true, then restart Strapi so the change takes effect. Make this change in the environment-specific configuration for your test instance rather than in shared defaults, so production stays unaffected. Keep the change in version control so reviewers can see that MCP was turned on. The step is done when Strapi starts without configuration errors after the restart.
Confirm the endpoint is served at /mcp
Request the /mcp path on the test instance from a host that can reach it, using a tool such as curl or your browser's developer tools. An unauthenticated request should be refused rather than return content, which confirms the endpoint exists and requires credentials. If the path returns a 404, re-check the configuration key and restart. The step is done when you have confirmed that the endpoint responds at /mcp and that the response is an authentication refusal, not a missing route.
Create an Admin token with minimal permissions
In the admin panel, create an Admin token under the API token settings and give it a name that identifies the client it is for. Grant only the content types and actions the AI client needs, for example read access first, and add create or update rights only for the content types that the test task requires. Avoid full-access tokens. Copy the token value once and store it in your secrets manager. The step is done when the token exists with a scoped permission set that you can list on its details page.
Connect one MCP client to the endpoint
Add the Strapi MCP endpoint to one client, such as Claude or Cursor, using that client's MCP server configuration. Pass the Admin token as the credential and keep the client limited to the test instance URL. Review the client's connection settings to confirm the token is stored in the client's secret field and not in a shared file. The step is done when the client reports a successful connection to the server.
Check the tool list against token permissions
Ask the client to list the tools it can use and compare that list with the token's permissions in the admin panel. A read-only token should show read tools only, and create, update, publish or delete tools should be absent. If a tool appears that the token does not allow, stop and review the configuration before using the client further. The step is done when the tool list matches the token's permissions exactly.
Run a test edit and confirm the audit trail
Ask the client to make one small, reversible change to a test entry, such as updating a draft field, and then check the result in the Content Manager. Confirm the change appears under the expected content type and that the actions are recorded in the audit log if your plan includes audit logs. Confirm with your Strapi plan or vendor which audit events are captured for MCP actions. The step is done when the test change is visible, reversed or accepted, and the record of it can be found.
Configuration options and when each fits
This table compares the MCP server settings and token scopes that matter most, with the default, when to change it and what breaks at each extreme. Read it per environment: production usually needs the narrowest token and the tightest settings, while development can tolerate looser values. The main takeaway is that the defaults are sensible starting points, and the timeouts and token scope are the two settings most likely to cause problems when set carelessly.
| Setting | When to keep it or use it | When to change it | What breaks if set too low or too high |
|---|---|---|---|
| mcp.enabled on in development | Local work with Claude or Cursor against a local Strapi instance | Turn on only after you have confirmed which clients will connect | Too low (off): AI clients cannot reach /mcp at all. Too high (on everywhere): the endpoint is exposed on instances that do not need it |
| mcp.enabled off in production | Production instances where AI editing is not an approved workflow | Enable only after access, token scope and audit logging have been reviewed | Enabled without review: an AI client with a broad token can change live content with no approval step |
| connectTimeoutMs at 5,000 ms (default) | Most setups where the client and Strapi share a fast, stable network | Raise it when the client reaches Strapi over a slow link or through a proxy with cold starts | Too low: connections fail before Strapi responds, and clients report errors that look like outages. Too high: a stalled connection holds resources longer |
| requestTimeoutMs at 60,000 ms (default) | Ordinary create, read, update and publish calls on typical content types | Raise it for bulk operations across many entries or large media, or lower it to fail fast in CI | Too low: long writes are cut off mid-operation, so the client may retry and create duplicates. Too high: a hung agent session keeps a request open for a long time |
| Full-permission Admin token | Only for a tightly controlled sandbox instance that holds no production content | Avoid in shared or production environments; replace with a scoped token | Any leaked or misused token can read, change, publish and unpublish across every content type, and the audit trail shows only the token's actions |
| Scoped Admin token | Recommended default: limit the token to the content types and actions the workflow needs | Widen scope only after a specific task fails and the added permission is documented | Too narrow: the client receives fewer tools, and tasks fail in ways that look like missing features. Too broad: the scope approaches full-permission risk |
| Separate token per client or team | When several AI clients or editors use MCP, so each token can be revoked alone | Consolidate only if the audit trail still identifies who acted | One shared token: revoking it stops every client, and audit entries cannot show which tool made a change |
How admin token permissions limit what AI clients can change
Read-only research is the lowest-risk way to connect an AI client to Strapi. A client that only needs to summarize content, find gaps across entries or check how fields are filled should hold a token that can read the content types it needs and nothing more. Because Strapi exposes only the MCP tools the token's permissions allow, a read-only token should not be able to create, update, delete, publish or unpublish anything, which means the tool list the client sees is the first control to verify.
- Scope to specific content types: Grant read access only to the collections the research task needs, not to every type in the project.
- Leave out draft-only content: Confirm whether the research needs unpublished drafts, since that choice changes what the client can see.
- Name the token for its purpose: A label such as research-readonly makes later audits easier to read.
- Test the tool list: Connect the client and confirm that no write or publish tools appear before any content work begins.
- Keep the token out of shared files: Store it in the client's secure settings, not in project repositories.
Before approving a research token, confirm the exact tools it exposes in your own Strapi version, since the MCP feature has been changing across Strapi 5 releases.
Drafting is where AI clients start to change content. A token that creates and edits entries can be limited to the content types where drafting is useful, such as blog posts or product descriptions, and kept away from settings, legal pages or reference data that editors own. Drafting permissions should be set per content type in the admin panel, and the client should be told which types it may touch so it does not guess.
- Allow create and update on chosen types: Give write access only to the collections where an AI draft is reviewed by a human before release.
- Withhold delete access: Deletion is rarely needed for drafting and is hard to reverse without backups.
- Keep publish rights off: A drafting token should leave publishing to editors who sign off on the content.
- Limit media and relations: Check whether the token can attach media or link entries, since those changes affect other content.
- Match the editorial process: If review workflows are in use, confirm that drafts from the client enter the stage your editors expect.
Record which content types each drafting token covers, so that a later permission change to one type does not silently widen what the client can do elsewhere.
Publishing is a separate decision from editing. A token that can publish or unpublish can make content live for end users, so it should be granted only when a named owner has accepted that risk. A token that can edit but not publish keeps a human in the release step. Treat publish-capable tokens as a different class of credential, with their own owner, scope and review date.
- Decide publishing separately: Granting edit access does not imply publish access, and each should be requested explicitly.
- Restrict to named types: Publish rights should cover only the collections where an approved process exists.
- Assign an owner: One accountable person or team should approve each publish-capable token.
- Review on a schedule: Re-check publish tokens after Strapi upgrades, since permission models and tool sets can change.
- Pair with the audit trail: Confirm that publish actions by the client are recorded and can be traced to that token.
Before granting publish rights, confirm with your Strapi plan and audit logging setup which actions your team can see and retain.
Separate tokens for each client or team are the simplest way to keep AI access understandable. When one shared token powers Claude, Cursor and an internal script at once, it is impossible to tell which client made a change, and revoking access for one tool revokes it for all. Issuing one token per client, and one per team where teams differ, lets permissions, rotation and audit review stay independent.
- One token per client: Give each MCP client its own token so changes can be traced and access revoked individually.
- Separate research and writing: Use different tokens for read-only and drafting work even within one team.
- Rotate on a schedule: Set a rotation period and document who performs it and how clients are reconnected.
- Revoke on departure: Remove tokens when a developer, contractor or tool leaves the project.
- Document the mapping: Keep a register that lists each token, its client, its scope and its owner.
Illustrative example: a marketing team using Cursor for drafts and a separate research assistant would hold two tokens with different scopes, so a problem with one does not expose the other.
How an MCP request reaches the Content Manager
The request starts in an MCP client such as Claude or Cursor and enters Strapi at the /mcp endpoint, which is served only when mcp.enabled is set in the server configuration. Strapi then checks the Admin token before anything else. The token's permissions decide which tools the server exposes, so the client only sees operations the token allows. Each permitted call runs through the Content Manager and is recorded in the audit trail. Check the token scope first, because the client can only ever do what that token can do.
The trust boundary sits between the AI client and the Strapi server, where the token is checked.
Security risks to review before connecting an AI client
Connecting an AI client to Strapi gives it a standing path into the Content Manager, so the risk sits in the token, its permissions, the network path to /mcp and the record of what the client did. Each card below names one of these risks and one check your team can run in its own environment before go-live.
Token handling and rotation
An Admin token used by an MCP client works like a password for the content API, and it is often pasted into a client configuration file that several people can read. Confirm where the token is stored on each developer machine, who can see the client configuration, and how quickly you can revoke it. Set a rotation schedule that your team can actually follow, and test that revoking the token stops the client from reading or writing content immediately.
Strapi MCP server docsLeast-privilege token scopes
Strapi exposes only the MCP tools that the token's permissions allow, so the token's role decides what an AI client can do. Create a dedicated Admin token for the client rather than reusing a personal or super-administrator token. Limit it to the content types and actions the workflow needs, then open the MCP tool list and confirm that delete and publish tools are absent unless you intend them to be there.
Publish rights for AI-driven changes
Publishing is the step that puts AI-written content in front of readers, so it deserves its own permission decision. Decide whether the AI client may publish at all, or whether it only creates and edits drafts for a human to publish. If your plan includes review workflows, check whether a required approval stage applies to changes made through MCP. Test a publish attempt with the restricted token and record the result.
Network exposure of /mcp
The MCP endpoint is served at /mcp on the same Strapi instance as the public API, so it can be reached from any network that can reach the admin backend. Decide which networks, VPN ranges or identity-aware proxies may call it, and enforce that at the reverse proxy or firewall. Verify from an outside network that the path is unreachable, and confirm the setting that enables the server is off in production unless you have chosen to run it there.
Timeouts that limit runaway calls
An AI client can issue long chains of requests, and a stalled connection can hold resources on the server. The MCP server uses a connection timeout and a request timeout that you can set in configuration. Review the defaults with your platform team, decide whether they fit your largest content operations, and test that a stuck request ends within the window you chose.
Logging of AI-initiated actions
A change made through MCP looks like any other admin action unless you can separate it. Confirm which logs record API calls and admin activity on your instance, and whether the audit trail distinguishes actions taken by the MCP token. On Enterprise, audit logs record admin actions and keep them for a default period that you can change. Export a sample of MCP edits to your SIEM and check that you can answer who changed what, and when.
- Audit log default retention
- 90 days
What the audit trail shows and what to confirm
Audit logs are an Enterprise feature in Strapi's self-hosted plans, so a team on Community or Growth should not assume that every change an AI client makes through the MCP server is recorded in a log they can review. Before you enable mcp.enabled for anyone, confirm with Strapi which plan you are on and whether actions taken through the MCP server, using an admin token, appear in the audit log for that plan. The answer decides whether you rely on Strapi's own record or build a second one. Ask Strapi, in writing, how long audit records are kept and whether that period can be changed on your plan.
If your plan does not give you a complete audit trail for MCP-initiated actions, plan the evidence before rollout rather than after an incident. Decide which admin token each AI client uses, so that actions can be traced to one credential, and record who owns each token and who may rotate it. Keep your own copy of the Strapi server and database logs that show requests to /mcp, and confirm where those logs are stored and how long they are retained. Also confirm how the logs reach your SIEM, because a short retention window inside Strapi can make a later review impossible unless the records have already been exported.
Treat this check as a go-live gate. Run a test in staging: have an AI client create, edit, publish and unpublish a test entry, then confirm that each action appears in the record you plan to rely on, with the token identity attached. If a publish or delete does not appear where you expect, do not extend MCP access to production until the gap is closed. Re-run the same test after each Strapi upgrade, since logging behavior is a setting to verify on each version rather than a property you can assume will stay fixed.
Limits to confirm in your own environment
The MCP server is a built-in feature with a small set of documented defaults, and several behaviors that matter for editorial safety are not covered by those defaults. The cards below list what to confirm with Strapi or in a test instance before you give an AI client write access to production content.
Exact tool names and schema coverage
The documented scope is create, read, update, delete, publish and unpublish through the Content Manager, but the exact tool names, their arguments and which content types, components and dynamic zones each tool handles are not covered in the facts available here. Export the tool list from a test instance with your token, compare it with the content types you plan to expose, and confirm how relations, media fields and components are written before any client touches live data.
Strapi MCP docsDraft and Publish behavior
Confirm how an AI client's create, update and publish calls behave on content types with Draft and Publish enabled. Check whether an update writes to the draft version only, whether publish promotes the draft as expected, and how unpublish affects the live entry. Run these steps on a copy of your schema so editors never discover an unexpected live change.
Review workflows and releases
Confirm whether MCP calls respect review workflow stages and the required approval step before publishing, and whether content can be added to or changed inside a scheduled release. Review workflows and releases are Enterprise features, so verify on the plan you actually run. If an agent can bypass a stage, the stage is an editorial control in name only.
Rate limits and request volume
The facts cover only the connection and request timeouts, not any limit on how many calls a client can make per minute or per token. Ask Strapi whether MCP requests count against any rate limiting, and test how a runaway agent loop behaves against your server settings. Also confirm how your reverse proxy and load balancer treat long-running requests on the /mcp path.
- Request timeout default
- 60,000 ms
Client MCP compatibility
Claude, Cursor and other MCP clients implement the protocol with differences in transport, authentication headers, tool discovery and timeout handling. Test each client you approve against your Strapi version and record which operations succeed, which fail and what error messages editors see. Do not assume that a working test in one client holds in another.
Token lifecycle and audit trail depth
Confirm how admin tokens are created, scoped, rotated and revoked, and whether the actions an AI client takes appear in the audit trail with enough detail to identify the token used. Audit logs are an Enterprise feature with a default retention period, so check the retention and export options for your plan before relying on them as evidence.
- Audit log default retention
- 90 days
Questions teams ask before connecting AI clients to Strapi
Does the Strapi MCP server cost extra to turn on?
No. The MCP server is a free feature in Strapi 5 since version 5.47.0, so the license is not the cost. The spend comes from the work around it: setting mcp.enabled in the server configuration, designing the admin tokens and their permissions, testing how each AI client behaves against your content types, and getting the change reviewed before anyone publishes through it. Those are one-time costs for the initial setup, plus recurring costs whenever content types change or a new client is added. Ask any partner to quote these as separate line items so you can see which part is configuration and which is review.
How long does a pilot with an AI client take?
The duration depends on how many content types the client may touch, how many roles need separate tokens, and whether your editors already have a stable content model. A narrow pilot on one content type with one read-only token is quick to configure; a pilot that creates, edits and publishes across several types with different permissions takes longer because each permission set needs its own test pass. Ask for a written scope with a named set of content types, tokens and clients, and a defined test plan, since the timeline follows from those choices rather than from the tool itself.
What does our team need to provide for the MCP setup?
You need a Strapi instance you control, with a current Strapi 5 version and a supported database and Node.js version. You also need someone who owns the content model and can say which types and fields an AI client should see, and someone from security or IT who will approve the admin tokens and their permissions. Finally, you need a named editor or content owner to test real workflows, because a configuration that works technically can still produce content your team does not want published.
Can our own engineers set this up without a partner?
Yes, if your team already runs Strapi and is comfortable with server configuration and token management. The steps are mostly configuration: enable the server, create admin tokens with limited permissions, point the client at the /mcp endpoint, and tune the connect and request timeouts. The harder part is judgment: deciding which permissions a token should hold, checking what happens when an AI client makes many writes in a row, and confirming that the audit trail shows the actions you need. If nobody on your team has done that kind of review before, a partner's review is often the faster route.
When is an independent security review of the MCP setup worth paying for?
A security review is most useful when the AI client can publish content, when the token has broad permissions across several content types, or when the content is regulated or customer-facing. The review should cover token scope, what the client can read and write, timeout and failure behavior, and whether actions are recorded in a way your compliance team can use. Audit logs are an Enterprise feature in Strapi's self-hosted plans, so if you need that trail, confirm your plan before you design the workflow. A review that ends with a written findings list and a retest is easier to take to an approver than a verbal sign-off.
What goes wrong when an AI client writes to Strapi?
The common failures are over-broad tokens, clients that publish when they should only draft, and timeouts that leave a multi-step change half complete. The default request timeout is 60,000 ms and the connect timeout is 5,000 ms, so long operations can fail in ways your editors need to understand. Test a few representative workflows, including failed and retried requests, and confirm that a partial change can be found and corrected. Keep in mind that the MCP server exposes only the tools a token's permissions allow, so the token design is the first control to check.
Does using the MCP server affect our Strapi plan choice?
The MCP server itself is free, but your plan choice still shapes the surrounding controls. Audit logs and review workflows are Enterprise features in Strapi's self-hosted plans, while content history and releases start at the Growth plan. If your approval process depends on a required review stage before anything is published, check that the plan covers review workflows before you let an AI client publish. Confirm current plan contents on Strapi's self-hosted pricing page, since plan details can change.
When an AI client should not edit production content
The MCP server can create, edit, publish and unpublish content through the Content Manager, so the default position should be staging first: point the AI client at a non-production Strapi instance, let it draft and revise there, and move approved content to production through a controlled path such as a reviewed transfer or a human publishing step. An agent that can publish to production has the same reach as an editor with that permission, but it works faster, without the pause that usually happens when a person reads a draft before pressing publish. Before granting any production access, confirm which Strapi plan your team is on, since review workflows and audit logs are Enterprise features and content history and releases start at the Growth plan according to Strapi's self-hosted pricing page.
Separate tokens matter as much as environments. Admin tokens determine which tools the MCP server exposes, so the agent should receive its own token with the narrowest permissions that still allow its task, distinct from any token or account an editor uses. A token that can publish on a regulated content type, such as a patient information page, a rate table or a public notice, makes the agent a publisher of record, which conflicts with editorial accountability when nobody can say who approved the change. Cases to rule out or gate include content that carries legal, clinical or financial claims, multilingual pages where a machine translation has not been checked, anything subject to a retention or consent rule, and any batch that touches many entries at once. For each, decide in advance who signs off, and check whether the audit trail will name the agent and the approver. Confirm these details against your own Strapi version and plan before you rely on them.
How DeployOpen scopes and delivers Strapi MCP setups
DeployOpen plans and builds Strapi MCP server setups inside infrastructure you control, starting from a written scope that names the AI clients, token permissions and content types involved. Each engagement ends with documented settings, tested permissions and a handover your editors and engineers can operate.
How we scope
- Engagements are fixed-scope, with the MCP clients, content types and token permissions agreed in writing before work starts.
- We record which AI clients will connect, which Strapi environment they reach and which editorial actions they may perform.
- Scope names the Strapi edition and plan needed for the audit trail and review features your organization requires.
- We confirm your Strapi version and hosting so the mcp.enabled setting and /mcp endpoint match your deployment.
How we build
- We enable the MCP server in the server configuration and set timeout values to match the editorial tasks planned.
- We create Admin tokens with the narrowest permissions each AI client needs, then verify which tools each token exposes.
- We test create, update, publish and unpublish requests against a staging instance before any production access.
- We test failure cases such as expired tokens, slow requests and tokens that lack publish rights.
How we hand over
- You receive written configuration, token inventory and permission maps for every AI client connected to Strapi.
- Documentation explains how to rotate or revoke Admin tokens and how to review actions in the audit trail.
- We walk your editors and platform team through approved workflows, including what AI clients may and may not change.
- Handover lists the open decisions your team owns, such as retention of audit records and approval rules for publishing.
How we support
- Ongoing support, Strapi upgrades and continuous testing are available as retainers after handover.
- Retainers can cover re-testing of token permissions after Strapi minor releases and changes to content types.
- We can review new AI clients or additional MCP tools before they are connected to production content.
- Support scope and response expectations are agreed in writing, and a quote follows from the written scope.

