Strapi MCP Server

An MCP server for your Strapi CMS that provides access to content types and entries through the MCP protocol

Local serverstdioTypeScript

What is the Strapi MCP Server?

An MCP server for your Strapi CMS that provides access to content types and entries through the MCP protocol

What you get

This MCP server integrates with any Strapi CMS instance to provide: - Access to Strapi content types as resources - Tools to create and update content types in Strapi - Tools to manage content entries (create, read, update, delete) - Support for Strapi in development mode - Robust error handling with clear diagnostics and troubleshooting guidance - Configuration validation to prevent common setup issues

  • List and read content types
  • Get, create, update, and delete entries
  • Upload media files
  • Connect and disconnect relations
  • Get content type schemas
  • CRITICAL FIX: — Fixed timeout issue in relation tools - connect_relation and disconnect_relation now properly handle validation errors instead of timing out

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_content_typesList all available content types in Strapi
get_entriesGet entries for a specific content type with optional filtering, pagination, sorting, and population of relations
get_entryGet a specific entry by ID
create_entryCreate a new entry for a content type
update_entryUpdate an existing entry
delete_entryDelete an entry
upload_mediaUpload a media file to Strapi (max ~750KB file due to base64 context limits)
upload_media_from_pathUpload a media file from local file path (max 10MB, avoids context overflow)
get_content_type_schemaGet the schema (fields, types, relations) for a specific content type.
connect_relationConnect related entries to an entry's relation field.
disconnect_relationDisconnect related entries from an entry's relation field.
create_content_typeCreate a new content type using the Content-Type Builder API (Requires Admin privileges).
publish_entryPublish a specific entry.
unpublish_entryUnpublish a specific entry.
list_componentsList all available components in Strapi.
get_component_schemaGet the schema for a specific component.
create_componentCreate a new component.
update_componentUpdate an existing component.
strapi//content-type/api::article.article?filters={"title":{"$contains":"hello"}} - Get filtered articles

How to install the Strapi MCP Server

{
  "mcpServers": {
    "strapi-mcp": {
      "command": "npx",
      "args": [
        "strapi-mcp"
      ],
      "env": {
        "STRAPI_URL": "http://localhost:1337",
        "STRAPI_ADMIN_EMAIL": "your_admin_email@example.com",
        "STRAPI_ADMIN_PASSWORD": "YOUR_STRAPI_ADMIN_PASSWORD"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
STRAPI_URLDeclared in the maintainer’s client configuration.Optional
STRAPI_ADMIN_EMAILDeclared in the maintainer’s client configuration.Check documentation
STRAPI_ADMIN_PASSWORDDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Strapi MCP to list content types.”
  • “Use Strapi MCP to get entries.”
  • “Use Strapi MCP to get entry.”

Frequently asked questions

An MCP server for your Strapi CMS that provides access to content types and entries through the MCP protocol Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.