Strapi MCP Server
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
api_key | Yes | Your JWT token from the Strapi admin panel | |
api_url | Yes | The URL of your Strapi instance, e.g. 'http://localhost:1337' | http://localhost:1337 |
version | No | Optional: Specify Strapi version (e.g., '5.*', '4.1.5', 'v4') |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
strapi_list_servers | List all available Strapi servers from the configuration. |
strapi_get_content_types | Get all content types from Strapi. Returns the complete schema of all content types. |
strapi_get_components | Get all components from Strapi with pagination support. Returns both component data and pagination metadata (page, pageSize, total, pageCount). |
strapi_rest | Execute REST API requests against Strapi endpoints. IMPORTANT: All write operations (POST, PUT, DELETE) require explicit user authorization via the userAuthorized parameter.
|
strapi_upload_media | 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. |