Strapi MCP Server
by misterboe
A Model Context Protocol server for interacting with Strapi CMS. This server enables AI assistants to interact with your Strapi instance through a standardized interface, supporting content types and REST API operations.
Last updated: N/A
What is Strapi MCP Server?
The Strapi MCP Server is a tool that allows AI assistants to interact with a Strapi CMS instance through a standardized Model Context Protocol (MCP) interface. It supports various content types and REST API operations, making it easier for AI to manage and retrieve content from Strapi.
How to use Strapi MCP Server?
To use the server, configure it with your Strapi API URL and a valid JWT token. You can then use the provided JavaScript functions (e.g., strapi_list_servers
, strapi_get_content_types
, strapi_rest
, strapi_upload_media
) to interact with your Strapi instance. Configuration is done via a ~/.mcp/strapi-mcp-server.config.json
file.
Key features of Strapi MCP Server
Schema introspection
REST API support with validation
Media upload handling
JWT authentication
Content type management
Image processing with format conversion
Multiple server support
Automatic schema validation
Write protection policy
Integrated documentation
Version compatibility management
Use cases of Strapi MCP Server
Enabling AI-powered content management in Strapi
Automating content creation and updates via AI
Integrating Strapi content with AI assistants
Building AI-driven applications that leverage Strapi's content
Providing a standardized interface for AI to interact with Strapi
FAQ from Strapi MCP Server
How do I get a JWT token for Strapi?
How do I get a JWT token for Strapi?
Log in to your Strapi admin panel, create an API token with appropriate permissions, and add the token to your config file under the appropriate server name.
What version formats are supported?
What version formats are supported?
The server supports wildcard (e.g., '5.*'), specific (e.g., '4.1.5'), and simple (e.g., 'v4') version formats.
What is the write protection policy?
What is the write protection policy?
The server implements a strict write protection policy that requires explicit authorization for all write operations (POST, PUT, DELETE, Media Upload).
How do I filter content using the REST API?
How do I filter content using the REST API?
Use the filters
parameter in the strapi_rest
function with appropriate operators (e.g., $contains
, $and
).
What are the key differences between Strapi v4 and v5?
What are the key differences between Strapi v4 and v5?
Key differences include numeric vs document-based IDs, nested vs flat data structure, data wrapper in responses, traditional REST patterns vs new Document Service API, and external vs integrated i18n support.