upload_media
Upload Media
Upload a file to the Strapi media library from a URL. Optionally set alternative text, caption, and a custom name for the file.
Ask your agent in plain language. Each of these maps to a real tool on the server.
Strapi is a headless CMS that teams usually host themselves, with content types modeled for their own site or app. Connecting it lets an agent draft and update entries, manage single types like the homepage, and handle the media library, limited to the content types your API token allows.
Create a new article or product entry with every field filled in, ready for an editor to review and publish.
Find entries that match a filter, such as an outdated product name, and update only the affected fields.
Update a single type like the homepage banner or footer links without opening the admin panel.
Upload images from a URL and fill in missing alt text and captions on existing files.
Strapi connects to your own Strapi 4 or 5 instance with an API token created in the Strapi admin. Strapi tokens can be read-only, full access or custom per content type, so create a custom token that covers only the collections the agent should touch.
Sign-in options on Metorial: API Token, JWT Login.
upload_media
Upload a file to the Strapi media library from a URL. Optionally set alternative text, caption, and a custom name for the file.
list_entries
Retrieve a paginated list of entries from an authorized Strapi content type. Supports filtering by field values, sorting, field selection, relation population, locale, and draft/published status.
get_entry
Retrieve a single entry from an authorized Strapi content type by its document ID. Supports field selection, relation population, locale, and draft/published status.
get_media
Retrieve details of a specific media file from the Strapi media library by its ID. Returns file metadata including URL, dimensions, format, alternative text, and caption.
list_media
List files from the Strapi media library. Returns uploaded images, videos, documents, and other files with their metadata including URLs, dimensions, and format info.
update_single_type
Update a Strapi single type entry. Single types have only one entry (e.g., homepage, site settings). Only provided fields are updated.
update_entry
Update an existing entry in an authorized Strapi content type. Only the fields provided will be updated; other fields remain unchanged. Supports locale-specific updates.
delete_entry
Permanently delete an entry from an authorized Strapi content type by its document ID. Strapi 5 removes draft and published versions of the requested/default locale. Strapi 4 uses its numeric entry ID.
update_media
Update the metadata of an existing file in the Strapi media library. Change the file name, alternative text, or caption without re-uploading the file.
delete_media
Permanently delete a file from the Strapi media library by its ID.
get_single_type
Retrieve a Strapi single type entry. Single types are content types with only one entry (e.g., homepage, site settings). Supports field selection, relation population, locale, and draft/published status.
create_entry
Create a new entry in an authorized Strapi content type. Pass field values as key-value pairs in the fields object. Supports setting locale and initial publication status.
get_current_user
Retrieve the native end user authenticated by JWT Login. API tokens authorize content access and do not provide end-user identity.
download_media
Provide a downloadable existing media file by its exact numeric file ID. The file must belong to the connected instance or a trusted storage origin.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Read and manage authorized content entries and media in a configured Strapi 4 or 5 instance through its Content REST API.
Common questions about connecting Strapi to AI agents with Metorial.