MetorialDocs

Set up Capsule Crm in Metorial for Claude, ChatGPT and Cursor

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

To give your team Capsule Crm in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Capsule Crm integration in a Metorial portal, and each person signs in to Capsule Crm with their own account. Agents can manage Capsule CRM contacts, sales opportunities, projects, tasks, and notes. The integration has 29 tools, 15 read-only, 10 write and 4 destructive, plus 5 triggers.

What you'll learn

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

Before you start

Sign-in methods

MethodTypeWhat a person provides
OAuth (default)OAuthSigns in to Capsule Crm
Personal Access TokenAPI tokentoken

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

OAuth

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

ScopeNameWhat it allows
readReadRead access to your Capsule CRM data
writeWriteWrite access to create, update, and delete Capsule CRM data

Personal Access Token

To connect, a person enters:

  • token: Personal Access Token generated from your Capsule CRM account preferences

Use your own Capsule Crm OAuth app

With your own OAuth app, people see your company's name on the Capsule Crm 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 Capsule Crm and copy the Redirect URI.

Register the app with Capsule Crm

Create an OAuth app or client in Capsule Crm 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 Capsule Crm integration.

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

Limit the tools

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

Choose who gets it

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

metorial-admin portals access list <portal-id> --type provider_template --search "capsule crm"

Employee: connect Capsule Crm

In the portal

Open Capsule Crm in the catalog

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

Authenticate

Under Quick setup, select Authenticate. A Capsule Crm 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 "capsule crm"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth. To connect with Personal Access Token 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 Capsule Crm 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 "capsule crm"
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 15 read-only tools, such as get_task and get_party, and lose the 10 write tools, such as create_task or manage_tags, and the 4 destructive tools, such as delete_task or delete_party.

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 "capsule crm"
metorial tools <integration-id>
metorial call <integration-id> list_users -d '{}'

metorial tools lists the 29 tools, minus any you rejected. list_users takes no input. It lists all users in the Capsule CRM account.

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

Tools

Read-only tools (15)

  • get_current_user: Get the Capsule CRM user associated with this connection, including their ID, name, timezone, and default currency.
  • get_party: Retrieve a single contact (person or organisation) by ID from Capsule CRM, including all their details such as email addresses, phone numbers, addresses, and websites. Needs partyId.
  • get_opportunity: Retrieve a single Capsule CRM opportunity by ID, including its state, assignment, and linked records.
  • list_parties: List contacts (people and organisations) from Capsule CRM with pagination and optional filtering by modification date.
  • list_pipelines: List sales pipelines and all their milestones from Capsule CRM.
  • list_users: List all users in the Capsule CRM account.
  • list_opportunities: List sales opportunities from Capsule CRM with pagination.
  • list_tasks: List tasks from Capsule CRM with pagination.
  • list_projects: List projects (formerly cases) from Capsule CRM with pagination.
  • list_entries: List activity history entries from Capsule CRM.
  • search_parties: Search for contacts in Capsule CRM by name, postcode, phone number, or other text. Needs query.
  • get_project: Retrieve a single Capsule CRM project by ID, including its state, assignment, and linked records.
  • search_opportunities: Search Capsule CRM opportunities using the same text search as Capsule, with pagination and optional related data.
  • list_teams: List Capsule CRM teams and their IDs for assigning contacts, opportunities, or projects.
  • get_task: Retrieve one Capsule CRM task by ID, including its status, due date, assignment, recurrence, and linked record.

Write tools (10)

  • create_opportunity: Create a new sales opportunity in Capsule CRM linked to a contact and pipeline milestone. Needs name, partyId and milestoneId.
  • update_task: Update an existing task in Capsule CRM. Needs taskId.
  • manage_tags: List, create, update, or delete tag definitions for parties, opportunities, or projects in Capsule CRM. Needs action and entityType.
  • update_opportunity: Update an existing sales opportunity in Capsule CRM. Needs opportunityId.
  • create_party: Create a new contact (person or organisation) in Capsule CRM. Needs type.
  • update_party: Update an existing contact (person or organisation) in Capsule CRM. Needs partyId.
  • create_project: Create a new project (formerly case) in Capsule CRM, linked to a contact. Needs name and partyId.
  • create_task: Create a new task in Capsule CRM. Needs description.
  • create_entry: Log a note or activity entry against a party, opportunity, or project in Capsule CRM. Needs content.
  • update_project: Update an existing project in Capsule CRM. Needs projectId.

Destructive tools (4)

  • delete_opportunity: Permanently delete a sales opportunity from Capsule CRM. Needs opportunityId.
  • delete_party: Permanently delete a contact (person or organisation) from Capsule CRM. Needs partyId.
  • delete_task: Permanently delete a task from Capsule CRM. Needs taskId.
  • delete_project: Permanently delete a project from Capsule CRM. Needs projectId.

Triggers

Capsule Crm has 5 triggers, which fire on events in Capsule Crm:

  • user_events: Triggered when a user is created, updated, or deleted in Capsule CRM.
  • party_events: Triggered when a contact (person or organisation) is created, updated, or deleted in Capsule CRM.
  • project_events: Triggered when a project is created, updated, deleted, closed, or moved to a different stage in Capsule CRM.
  • opportunity_events: Triggered when a sales opportunity is created, updated, deleted, closed, or moved to a different milestone in Capsule CRM.
  • task_events: Triggered when a task is created, updated, or completed in Capsule CRM.

Next steps