MetorialDocs

Set up Strapi in Metorial for Claude, ChatGPT and Cursor

Share Strapi with your team in Claude, ChatGPT and Cursor through Metorial: API token or JWT login sign-in, 14 tools (7 read-only).

To give your team Strapi in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Strapi integration in a Metorial portal, and each person connects with an API token. Agents can read and manage authorized content entries and media in a configured Strapi 4 or 5 instance through its Content REST API. The integration has 14 tools, 7 read-only, 5 write and 2 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares Strapi in a portal and how each person connects
  • What Strapi asks for when you connect, and where to find it
  • How to keep the 7 read-only tools and reject the other 7

Before you start

Sign-in methods

MethodTypeWhat a person provides
API Token (default)API tokentoken
JWT LoginCustom credentialsbaseUrl, identifier and password

The portal and metorial setup use API Token unless someone picks another method.

API Token

To connect, a person enters:

  • token: Strapi API token created in Settings → Global Settings → API Tokens

JWT Login

To connect, a person enters these values:

  • baseUrl: Base URL of your Strapi instance (e.g., https://your-strapi-instance.com)
  • identifier: Email or username for login
  • password: Password for login

Setup settings

Whichever method you pick, setup also asks for:

  • baseUrl: Base URL of the Strapi instance (e.g., https://your-strapi-instance.com)

Admin: share Strapi in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Strapi. Under Auth Method, keep API Token or pick another. For how members connect, choose Each person connects so everyone enters their own API token, or Shared connection to enter one API token for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Strapi.

Choose who gets it

Add the access groups that should see Strapi. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Strapi integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search strapi

Employee: connect Strapi

In the portal

Open Strapi in the catalog

Sign in to your portal and open Strapi. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API token (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search strapi
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses API Token. To connect with JWT Login instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Strapi connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list strapi
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 7 read-only tools, such as get_entry and get_media, and lose the 5 write tools, such as create_entry or update_entry, and the 2 destructive tools, such as delete_entry or delete_media.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list strapi
metorial tools <integration-id>
metorial call <integration-id> list_media -d '{}'

metorial tools lists the 14 tools, minus any you rejected. list_media takes no input. It lists files from the Strapi media library.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (7)

  • list_entries: Retrieve a paginated list of entries from an authorized Strapi content type. Needs contentType.
  • get_entry: Retrieve a single entry from an authorized Strapi content type by its document ID. Needs contentType and documentId.
  • get_media: Retrieve details of a specific media file from the Strapi media library by its ID. Needs fileId.
  • list_media: List files from the Strapi media library.
  • get_single_type: Retrieve a Strapi single type entry. Needs contentType.
  • get_current_user: Retrieve the native end user authenticated by JWT Login.
  • download_media: Provide a downloadable existing media file by its exact numeric file ID.

Write tools (5)

  • upload_media: Upload a file to the Strapi media library from a URL. Needs fileUrl and fileName.
  • update_single_type: Update a Strapi single type entry. Needs contentType and fields.
  • update_entry: Update an existing entry in an authorized Strapi content type. Needs contentType, documentId and fields.
  • update_media: Update the metadata of an existing file in the Strapi media library. Needs fileId.
  • create_entry: Create a new entry in an authorized Strapi content type. Needs contentType and fields.

Destructive tools (2)

  • delete_entry: Permanently delete an entry from an authorized Strapi content type by its document ID. Needs contentType and documentId.
  • delete_media: Permanently delete a file from the Strapi media library by its ID. Needs fileId.

Triggers

Strapi has 2 triggers, which fire on events in Strapi:

  • media_events: Triggered when media files are uploaded, updated, or deleted.
  • entry_events: Triggered when content entries are created, updated, deleted, published, or unpublished.

Next steps