MetorialDocs

Set up Storyblok in Metorial for Claude, ChatGPT and Cursor

Share Storyblok with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or personal access token sign-in, 15 tools (8 read-only).

To give your team Storyblok in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Storyblok integration in a Metorial portal, and each person signs in to Storyblok with their own account. Agents can discover accessible spaces and authenticated identity. The integration has 15 tools, 8 read-only and 7 destructive, plus 6 triggers.

What you'll learn

  • How an admin shares Storyblok in a portal and how each person connects
  • The 2 OAuth scopes Storyblok can request, and what each one allows
  • How to keep the 8 read-only tools and reject the other 7

Before you start

Sign-in methods

MethodTypeWhat a person provides
Canada (CA) (default)OAuthSigns in to Storyblok
Personal Access Token (AP)API tokentoken
China (CN)OAuthSigns in to Storyblok
Personal Access Token (CA)API tokentoken
United States (US)OAuthSigns in to Storyblok
Europe (EU)OAuthSigns in to Storyblok
Personal Access Token (US)API tokentoken
Personal Access Token (EU)API tokentoken
Asia-Pacific (AP)OAuthSigns in to Storyblok
Personal Access Token (CN)API tokentoken

The portal and metorial setup use Canada (CA) unless someone picks another method.

Canada (CA)

People sign in to Storyblok and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
read_contentRead ContentRead content from the space
write_contentWrite ContentWrite and manage content in the space

Personal Access Token (AP)

To connect, a person enters:

  • token: Personal Access Token from My Account > Account Settings > Personal access tokens

China (CN)

It requests the same scopes as Canada (CA).

Personal Access Token (CA)

To connect, a person enters:

  • token: Personal Access Token from My Account > Account Settings > Personal access tokens

United States (US)

It requests the same scopes as Canada (CA).

Europe (EU)

It requests the same scopes as Canada (CA).

Personal Access Token (US)

To connect, a person enters:

  • token: Personal Access Token from My Account > Account Settings > Personal access tokens

Personal Access Token (EU)

To connect, a person enters:

  • token: Personal Access Token from My Account > Account Settings > Personal access tokens

Asia-Pacific (AP)

It requests the same scopes as Canada (CA).

Personal Access Token (CN)

To connect, a person enters:

  • token: Personal Access Token from My Account > Account Settings > Personal access tokens

Setup settings

Whichever method you pick, setup also asks for:

  • spaceId: The numeric ID of your Storyblok space

Use your own Storyblok OAuth app

With your own OAuth app, people see your company's name on the Storyblok consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Storyblok and copy the Redirect URI.

Register the app with Storyblok

Create an OAuth app or client in Storyblok and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Storyblok integration.

Admin: share Storyblok 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 Storyblok. Under Auth Method, keep Canada (CA) or pick another. For how members connect, choose Each person connects, so everyone signs in to Storyblok as themselves.

Limit the tools

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

Choose who gets it

Add the access groups that should see Storyblok. 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 Storyblok integration. Once it exists, check which groups have it:

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

Employee: connect Storyblok

In the portal

Open Storyblok in the catalog

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

Authenticate

Under Quick setup, select Authenticate. A Storyblok sign-in tab opens. Sign in and approve the permissions listed.

Confirm

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

With the CLI

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

catalog search prints the catalog item ID. metorial setup uses Canada (CA). To connect with Personal Access Token (AP) 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 Storyblok 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 storyblok
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 8 read-only tools, such as get_story and list_assets, and lose the 7 destructive tools, such as manage_asset or manage_story.

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 storyblok
metorial tools <integration-id>
metorial call <integration-id> list_components -d '{}'

metorial tools lists the 15 tools, minus any you rejected. list_components takes no input. It retrieves all content components (content type definitions) in the space.

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

Tools

Read-only tools (8)

  • list_activities: Retrieve the audit log of recent activities in the space.
  • get_space_info: Read an exact space and its available workflows, stages, custom roles and one page of tags.
  • get_story: Retrieve a single story with its full content by ID. Needs storyId.
  • list_assets: Search and list media assets in the space.
  • list_components: Retrieve all content components (content type definitions) in the space.
  • list_stories: Search and list content stories in the space.
  • get_current_user: Read the native authenticated management user.
  • list_spaces: Discover accessible spaces in the credential region.

Destructive tools (7)

  • manage_story: Create, update, delete, publish, or unpublish a content story. Needs action.
  • manage_release: Create, delete, merge, or list content releases. Needs action.
  • manage_datasource: Create, update, delete, or list datasources and their entries. Needs action.
  • manage_datasource_entry: Create, update, delete, or list entries within a datasource. Needs action.
  • manage_asset: Read, update metadata or delete media assets. Needs action and assetId.
  • manage_collaborator: Add, remove, or list collaborators (users) in the space. Needs action.
  • manage_component: Create, update, or delete content components (content type definitions). Needs action.

Triggers

Storyblok has 6 triggers, which fire on events in Storyblok:

  • user_events: Triggers when collaborators are added, removed, or have their roles updated in the space.
  • workflow_events: Triggers when a story moves to a different workflow stage.
  • asset_events: Triggers when assets are uploaded, replaced, deleted, or restored.
  • datasource_events: Triggers when datasource entries are saved or added.
  • story_events: Triggers when stories are published, unpublished, deleted, or moved.
  • release_events: Triggers when a release is merged (published) into the current content.

Next steps