connect_relation
Connects related entries to a relation field.
Work a Strapi instance end to end: read and write entries for any content type, wire up relations, publish or unpublish, upload media, and change the content types and components themselves.
LABSCO SUMMARY
Content modelling is what separates this from a plain API wrapper — you can add a content type and start writing entries into it inside the same conversation, which is the part that usually requires the admin panel. That reach is also the caution, since the same credentials that create an entry can delete a content type.
A server over Strapi's content and admin APIs with 20 tools spanning entries, relations, media, publishing, content types and components.
STRAPI_URL, STRAPI_ADMIN_EMAIL and STRAPI_ADMIN_PASSWORD; creating, updating or deleting a content type additionally needs admin privileges on that account.
One command plus credentials — npm install strapi-mcp, then supply credentials
USE CASES
Query the entries with a filter that isolates the bad ones, then update them one at a time by id — the filtering and pagination are what keep the set being edited to the set you meant.
Read the current schema before changing it, add the attribute to the content type, and confirm against the content-type listing that the model is what you expected afterwards.
Upload from a path rather than inline when the image is large, create the entry that references it, and publish as a separate deliberate step once it reads correctly.
Read the entry to see what it is currently linked to, connect the ids that should have come across, and disconnect the ones the import attached to the wrong record.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
connect_relationConnects related entries to a relation field.
create_componentCreate a new component
create_content_typeCreates a new content type (Admin privileges required).
create_entryCreate a new entry for a content type
delete_content_typeDeletes a content type (Admin privileges required).
delete_entryDeletes a specific entry.
disconnect_relationDisconnects related entries from a relation field.
get_component_schemaGet the schema for a specific component
get_content_type_schemaGet the schema (fields, types, relations) for a specific content type.
get_entriesGet entries for a specific content type with optional filtering, pagination, sorting, and population of relations
get_entryGet a specific entry by ID
list_componentsList all available components in Strapi
list_content_typesList all available content types in Strapi
publish_entryPublishes a specific entry.
unpublish_entryUnpublishes a specific entry.
update_componentUpdate an existing component
update_content_typeUpdates a content type attributes (Admin privileges required).
update_entryUpdate an existing entry
upload_mediaUpload a media file to the Strapi Media Library. Maximum size: ~750KB file (1MB base64). For larger files, use upload_media_from_path.
upload_media_from_pathUpload a media file from a local file path. Avoids context window overflow issues. Maximum size: 10MB.
BEFORE YOU INSTALL
20 tools when we connected. With only an API token instead of an admin email and password, permissions may be limited, schema access especially, and creating content types needs admin privileges. upload_media takes up to 1MB of base64, about a 750KB file; upload_media_from_path takes up to 10MB.
Both documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 20 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npm install strapi-mcp{
"mcpServers": {
"strapi-mcp": {
"command": "npx",
"args": [
"strapi-mcp"
],
"env": {
"STRAPI_URL": "http://localhost:1337",
"STRAPI_ADMIN_EMAIL": "<YOUR_STRAPI_ADMIN_EMAIL>",
"STRAPI_ADMIN_PASSWORD": "<YOUR_STRAPI_ADMIN_PASSWORD>"
}
}
}
}