strapi-mcp-connect
v1.1.1Model Context Protocol (MCP) server for Strapi CMS.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
test_connection Test Strapi Connection
Checks that this MCP server can reach your Strapi instance. Always run this first.
get_entries Get Strapi Entries
Fetch a list of entries for a collection type. Use the PLURAL API ID (e.g. 'articles', 'pages', 'products'). Supports pagination, filters, populate, sorting, and draft/published status.
| Parameter | Type | Description |
|---|---|---|
pluralApiId * | string | Plural API ID of the collection type, e.g. 'pages', 'articles' |
filters | string | Optional raw Strapi filter query string, e.g. 'filters[title][$contains]=hello' |
page | integer | Page number (pagination) |
pageSize | integer | Results per page |
populate | string | Optional relations/media to populate, e.g. '*' for all, or 'author,image' |
sort | string | Optional sort string, e.g. 'createdAt:desc' or 'title:asc' |
status | string | Strapi v5 draft and publish status: 'draft' or 'published' (default is published) |
get_entry Get Single Strapi Entry
Fetch a single collection entry by its numeric ID or documentId (Strapi v5).
| Parameter | Type | Description |
|---|---|---|
id * | string | The entry's id or documentId |
pluralApiId * | string | Plural API ID, e.g. 'pages', 'articles' |
populate | string | Optional relations/media to populate, e.g. '*' |
status | string | Strapi v5 draft status: 'draft' or 'published' |
get_single_type Get Strapi Single Type
Fetch data for a Single Type (e.g. 'homepage', 'navigation', 'footer', 'global').
| Parameter | Type | Description |
|---|---|---|
singularApiId * | string | Singular API ID of the single type, e.g. 'homepage', 'footer' |
populate | string | Optional populate parameter, e.g. '*' |
status | string | Strapi v5 status: 'draft' or 'published' |
update_single_type Update Strapi Single Type
Update data for a Single Type (e.g. 'homepage', 'navigation', 'footer').
| Parameter | Type | Description |
|---|---|---|
data * | Field values to update as a JSON object | |
singularApiId * | string | Singular API ID of the single type, e.g. 'homepage', 'footer' |
create_entry Create Strapi Entry
Create a new entry in a collection type. 'data' must be a JSON object matching that content type's fields.
| Parameter | Type | Description |
|---|---|---|
data * | Field values as a JSON object, e.g. { "title": "Hello", "body": "..." } | |
pluralApiId * | string | Plural API ID, e.g. 'pages', 'articles' |
status | string | Strapi v5 draft and publish status (default: 'published' or draft) |
update_entry Update Strapi Entry
Update fields on an existing collection entry by documentId or id.
| Parameter | Type | Description |
|---|---|---|
data * | Only the fields you want to change, as a JSON object | |
id * | string | The entry's documentId (or numeric ID) |
pluralApiId * | string | Plural API ID, e.g. 'pages', 'articles' |
delete_entry Delete Strapi Entry
Permanently delete an entry by id or documentId. This cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The entry's id or documentId |
pluralApiId * | string | Plural API ID, e.g. 'pages', 'articles' |
get_content_types_schema Get Content Types Schema
Retrieve the schema definitions of all Strapi content types (collections and single types). This helps you understand the required fields and structure before creating or updating entries.
get_components_schema Get Components Schema
Retrieve the schema definitions of all Strapi components. This is crucial for understanding the structure of dynamic zones and nested components before data entry.
raw_query Raw Strapi API Request
Execute a direct GET, POST, PUT, or DELETE request against any Strapi API endpoint (e.g. '/users', '/custom-route').
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | The API path relative to /api, e.g. '/users' or '/pages?populate=*' |
body | Optional JSON payload for POST/PUT requests | |
method | string |
upload_media Upload Media to Strapi
Upload a local file to Strapi's Media Library. Use this to upload images/documents and get their ID to link them to entries.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | The absolute path to the local file (e.g., C:/images/hero.jpg) |