Strapi MCP Server
@MCP-Mirror
About Strapi MCP Server
Mirror of
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"strapi": {
"command": "npx",
"args": [
"-y",
"@bschauer/[email protected]"
]
}
}
}Tools
5List all available Strapi servers from the configuration.
Get all content types from Strapi. Returns the complete schema of all content types.
Get all components from Strapi with pagination support. Returns both component data and pagination metadata (page, pageSize, total, pageCount).
Execute REST API requests against Strapi endpoints. IMPORTANT: All write operations (POST, PUT, DELETE) require explicit user authorization via the userAuthorized parameter. 1. Reading components: params: { populate: ['SEO'] } // Populate a component params: { populate: { SEO: { fields: ['Title', 'seoDescription'] } } } // With field selection 2. Updating components (REQUIRES USER AUTHORIZATION): body: { data: { // For single components: componentName: { Title: 'value', seoDescription: 'value' }, // For repeatable components: componentName: [ { field: 'value' } ] } } userAuthorized: true // Must set this to true for POST/PUT/DELETE after getting user permission 3. Other parameters: - fields: Select specific fields - filters: Filter results - sort: Sort results - pagination: Page through results
Upload media to Strapi's media library from a URL with format conversion, quality control, and metadata options. IMPORTANT: This is a write operation that REQUIRES explicit user authorization via the userAuthorized parameter.
Overview
What is Strapi MCP Server?
A Model Context Protocol server for interacting with Strapi CMS. It enables AI assistants to interact with a Strapi instance through a standardized interface, supporting content types and REST API operations.
How to use Strapi MCP Server?
Install via npx in your Claude Desktop configuration. Create a configuration file at ~/.mcp/strapi-mcp-server.config.json with your Strapi instance's API URL and JWT token. Use the provided tools (e.g., strapi_rest, strapi_get_content_types, strapi_upload_media) to perform operations.
Key features of Strapi MCP Server
- Schema introspection
- REST API support with validation
- Media upload handling with format conversion
- JWT authentication
- Content type management
- Version compatibility management (v4 & v5)
- Write protection policy
Use cases of Strapi MCP Server
- Query and manage Strapi content types via an AI assistant
- Create, read, update, and delete content using the REST API
- Upload media with automatic format conversion and optimization
- Explore schema before performing operations to validate fields
FAQ from Strapi MCP Server
What Strapi versions are supported?
Both Strapi v4 and v5 are supported. Version can be specified in the config (e.g., "5.*", "4.1.5", "v4") and the server handles API differences automatically.
How do I authenticate with my Strapi instance?
Authentication is done using a JWT token. You must create an API token in your Strapi admin panel and add it to the configuration file.
Can I use this server with multiple Strapi instances?
Yes. You can configure multiple Strapi instances by adding multiple entries to the configuration file at ~/.mcp/strapi-mcp-server.config.json.
How does write protection work?
The server implements a strict write protection policy. All write operations (POST, PUT, DELETE, media upload) require explicit authorization. Each operation is logged and validated.
What are the main differences between Strapi v4 and v5 handled automatically?
v4 uses numeric IDs and nested attribute structures with a data wrapper, while v5 uses document-based IDs, flat data direct attribute access, and enhanced JWT security with integrated i18n.
Frequently asked questions
What Strapi versions are supported?
Both Strapi v4 and v5 are supported. Version can be specified in the config (e.g., "5.*", "4.1.5", "v4") and the server handles API differences automatically.
How do I authenticate with my Strapi instance?
Authentication is done using a JWT token. You must create an API token in your Strapi admin panel and add it to the configuration file.
Can I use this server with multiple Strapi instances?
Yes. You can configure multiple Strapi instances by adding multiple entries to the configuration file at `~/.mcp/strapi-mcp-server.config.json`.
How does write protection work?
The server implements a strict write protection policy. All write operations (POST, PUT, DELETE, media upload) require explicit authorization. Each operation is logged and validated.
What are the main differences between Strapi v4 and v5 handled automatically?
v4 uses numeric IDs and nested attribute structures with a data wrapper, while v5 uses document-based IDs, flat data direct attribute access, and enhanced JWT security with integrated i18n.
Basic information
More Other MCP servers
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
πͺ Windows-MCP
CursorTouchMCP Server for Computer Use in Windows

Figs, Relationship Expert
Figs O'Sullivan, LMFTCouples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
Comments