Strapi MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| strapi_list_serversC | List all available Strapi servers from the configuration. Security PolicySTRICT_USER_AUTHORIZATION_REQUIRED: No write operations without explicit user authorization. Protected operations: POST (Create), PUT (Update), DELETE (Delete), Media Upload. All write operations require userAuthorized: true parameter. Strapi Version SupportSupports both Strapi v4 and v5 with automatic version detection. Version Differences
Common Errors
Best Practices
|
| strapi_get_content_typesB | Get all content types from Strapi. Returns the complete schema of all content types. Initialization Steps (ALWAYS DO FIRST)
Schema Conventions
Endpoint Patterns
|
| strapi_get_componentsA | Get all components from Strapi with pagination support. Returns both component data and pagination metadata (page, pageSize, total, pageCount). |
| strapi_restA | Execute REST API requests against Strapi endpoints. IMPORTANT: All write operations (POST, PUT, DELETE) require explicit user authorization via the userAuthorized parameter. Reading Dataparams: { populate: ['SEO'] } // Populate a component params: { populate: { SEO: { fields: ['Title', 'seoDescription'] } } } // With field selection params: { filters: { title: { $contains: 'search' } } } // Filter results params: { sort: ['createdAt:desc'] } // Sort results params: { pagination: { page: 1, pageSize: 10 } } // Pagination Writing Data (REQUIRES userAuthorized: true)body: { data: { componentName: { Title: 'value' }, // Single component componentName: [{ field: 'value' }] // Repeatable component } } Debugging Guide
Strapi v5 Specifics
|
| strapi_upload_mediaA | 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. Upload Steps
Linking Images to Content (Strapi v5)After upload, use PUT request to link: { "method": "PUT", "endpoint": "api/articles/{documentId}", "body": { "data": { "images": ["imageId"] } }, "userAuthorized": true } |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/misterboe/strapi-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server