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
- A portal with at least one access group
- An account with Storyblok for each person who connects
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| Canada (CA) (default) | OAuth | Signs in to Storyblok |
| Personal Access Token (AP) | API token | token |
| China (CN) | OAuth | Signs in to Storyblok |
| Personal Access Token (CA) | API token | token |
| United States (US) | OAuth | Signs in to Storyblok |
| Europe (EU) | OAuth | Signs in to Storyblok |
| Personal Access Token (US) | API token | token |
| Personal Access Token (EU) | API token | token |
| Asia-Pacific (AP) | OAuth | Signs in to Storyblok |
| Personal Access Token (CN) | API token | token |
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:
| Scope | Name | What it allows |
|---|---|---|
read_content | Read Content | Read content from the space |
write_content | Write Content | Write 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:
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
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.
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 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. NeedsstoryId.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. Needsaction.manage_release: Create, delete, merge, or list content releases. Needsaction.manage_datasource: Create, update, delete, or list datasources and their entries. Needsaction.manage_datasource_entry: Create, update, delete, or list entries within a datasource. Needsaction.manage_asset: Read, update metadata or delete media assets. NeedsactionandassetId.manage_collaborator: Add, remove, or list collaborators (users) in the space. Needsaction.manage_component: Create, update, or delete content components (content type definitions). Needsaction.
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
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Storyblok there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Storyblok on metorial.com: the integration overview