Strapi MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your JWT token / API token from the Strapi admin panel. | |
| api_url | Yes | The URL of the Strapi instance, e.g. "http://localhost:1337". | |
| version | No | Optional Strapi version specification, e.g. "5.*", "4.*", "4.1.5", "v4", or "v5". |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| 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 | |
TDQS
Scored across 5 tools
The discovery tools (strapi_get_content_types, strapi_get_components) and strapi_list_servers are clearly distinct. strapi_rest is a generic catch-all that overlaps conceptually with strapi_upload_media (media could be created via POST), but the dedicated upload tool adds format/quality options that justify separation.
All tools use a consistent strapi_ prefix with verb_noun patterns (list_servers, get_content_types, get_components, upload_media). strapi_rest is the one outlier lacking a verb, but it reads clearly as a generic executor.
Five tools is well-scoped: two introspection tools, one server listing, one generic REST executor, and one specialized upload. Each earns its place without redundancy.
strapi_rest provides full CRUD/lifecycle coverage through generic execution, backed by schema discovery and media upload. Minor gap: no dedicated media delete or batch operations, though these are reachable via strapi_rest.