Set up Agility CMS in Metorial for Claude, ChatGPT and Cursor
Share Agility CMS with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 20 tools (14 read-only).
To give your team Agility CMS in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Agility CMS integration in a Metorial portal, and each person signs in to Agility CMS with their own account. Agents can manage and deliver structured content, pages, and media assets in a headless CMS. The integration has 20 tools, 14 read-only and 6 destructive, plus 1 trigger.
What you'll learn
- How an admin shares Agility CMS in a portal and how each person connects
- The 4 OAuth scopes Agility CMS can request, and what each one allows
- How to keep the 14 read-only tools and reject the other 6
Before you start
- A portal with at least one access group
- An account with Agility CMS 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 |
|---|---|---|
| USA (default) | OAuth | Signs in to Agility CMS |
| Australia | OAuth | Signs in to Agility CMS |
| API Key (USA 2) | API token | apiKey |
| Europe | OAuth | Signs in to Agility CMS |
| USA 2 | OAuth | Signs in to Agility CMS |
| API Key (USA) | API token | apiKey |
| API Key (Canada) | API token | apiKey |
| Canada | OAuth | Signs in to Agility CMS |
| API Key (Europe) | API token | apiKey |
| API Key (Australia) | API token | apiKey |
The portal and metorial setup use USA unless someone picks another method.
USA
People sign in to Agility CMS and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
openid | OpenID | OpenID Connect authentication |
profile | Profile | Access to user profile information |
email | Access to user email address | |
offline_access | Offline Access | Enable refresh token for offline access |
Australia
It requests the same scopes as USA.
API Key (USA 2)
To connect, a person enters:
apiKey: Agility CMS API Key (fetch or preview). Found in Settings > API Keys.
Europe
It requests the same scopes as USA.
USA 2
It requests the same scopes as USA.
API Key (USA)
To connect, a person enters:
apiKey: Agility CMS API Key (fetch or preview). Found in Settings > API Keys.
API Key (Canada)
To connect, a person enters:
apiKey: Agility CMS API Key (fetch or preview). Found in Settings > API Keys.
Canada
It requests the same scopes as USA.
API Key (Europe)
To connect, a person enters:
apiKey: Agility CMS API Key (fetch or preview). Found in Settings > API Keys.
API Key (Australia)
To connect, a person enters:
apiKey: Agility CMS API Key (fetch or preview). Found in Settings > API Keys.
Setup settings
Whichever method you pick, setup also asks for:
guid: Your Agility CMS instance GUID (e.g., "e13c7b01-u"). Found in Settings > API Keys.locale(optional): Default locale code for content operations (e.g., "en-us", "fr-ca").
Use your own Agility CMS OAuth app
With your own OAuth app, people see your company's name on the Agility CMS 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 Agility CMS and copy the Redirect URI.
Register the app with Agility CMS
Create an OAuth app or client in Agility CMS 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 Agility CMS integration.
Admin: share Agility CMS 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 Agility CMS. Under Auth Method, keep USA or pick another. For how members connect, choose Each person connects, so everyone signs in to Agility CMS as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Agility CMS.
Choose who gets it
Add the access groups that should see Agility CMS. 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 Agility CMS integration. Once it exists, check which groups have it:
Employee: connect Agility CMS
In the portal
Open Agility CMS in the catalog
Sign in to your portal and open Agility CMS. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. An Agility CMS 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 USA. To connect with Australia 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 Agility CMS 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 14 read-only tools, such as get_page and list_users, and lose the 6 destructive tools, such as manage_page or manage_asset.
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 20 tools, minus any you rejected. list_users takes no input.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (14)
sync_content: Performs incremental content synchronization using the Content Sync API.list_containers: Lists all content containers in the Agility CMS instance.list_content_models: Lists all content models or page modules defined in the Agility CMS instance.list_content: Retrieves a list of content items by their model reference name from the Content Fetch API. NeedsreferenceName.get_page: Retrieves a page by its ID from the Content Fetch API, including all content zones, modules, and page properties. NeedspageId.list_users: Lists all users in the Agility CMS instance.execute_graphql: Executes a GraphQL query against the Agility CMS GraphQL API. Needsquery.get_locales: Retrieves all available locales configured for the Agility CMS instance.get_content_history: Retrieves the version history and comments for a content item via the Management API. NeedscontentId.get_content_item: Retrieves a single content item by its ID from the Agility CMS Content Fetch API. NeedscontentId.list_assets: Lists media assets from the Agility CMS asset library.get_sitemap: Retrieves the sitemap for a given channel from the Content Fetch API. NeedschannelName.get_current_user: Retrieves the authenticated Agility CMS user and their instance access details.get_batch_status: Retrieves a queued write batch, including its state, progress, item IDs, and error details.
Destructive tools (6)
manage_page: Creates, updates, deletes, publishes, or unpublishes a page via the Management API. Needsoperation.manage_content_item: Creates, updates, or deletes a content item via the Management API. Needsoperation.manage_folder: Creates, deletes, or renames a folder in the Agility CMS asset library. Needsoperation.manage_content_model: Creates, updates, retrieves, or deletes a content model (schema) in Agility CMS. Needsoperation.content_workflow: Performs workflow operations on content items: **publish**, **unpublish**, **request-approval**, **approve**, or **decline**. NeedsactionandcontentIds.manage_asset: Deletes or moves a media asset in the Agility CMS asset library. NeedsoperationandmediaId.
Triggers
Agility CMS has 1 trigger, which fire on events in Agility CMS:
content_changed: Triggers when content items or pages are published, saved, or go through workflow changes (approval requested, approved, declined) in Agility CMS.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Agility CMS there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Agility CMS on metorial.com: the integration overview