Set up Close in Metorial for Claude, ChatGPT and Cursor
Share Close with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 20 tools (11 read-only).
To give your team Close in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Close integration in a Metorial portal, and each person signs in to Close with their own account. Agents can manage Close CRM leads, contacts, opportunities, tasks, notes and email templates. The integration has 20 tools, 11 read-only, 5 write and 4 destructive, plus 5 triggers.
What you'll learn
- How an admin shares Close in a portal and how each person connects
- The 2 OAuth scopes Close can request, and what each one allows
- How to keep the 11 read-only tools and reject the other 9
Before you start
- A portal with at least one access group
- An account with Close 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 |
|---|---|---|
| API Key | API token | apiKey |
| OAuth (default) | OAuth | Signs in to Close |
The portal and metorial setup use OAuth unless someone picks another method.
API Key
To connect, a person enters:
apiKey: Close API key. Create one in Settings > Developer > API Keys.
OAuth
People sign in to Close and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
all.full_access | Full Access | Full read and write access to all organization data |
offline_access | Offline Access | Allows refreshing access tokens without user interaction |
Use your own Close OAuth app
With your own OAuth app, people see your company's name on the Close 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 Close and copy the Redirect URI.
Register the app with Close
Create an OAuth app or client in Close and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in OAuth documentation.
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 Close integration.
Admin: share Close 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 Close. Under Auth Method, keep OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to Close as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Close.
Choose who gets it
Add the access groups that should see Close. 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 Close integration. Once it exists, check which groups have it:
Employee: connect Close
In the portal
Open Close in the catalog
Sign in to your portal and open Close. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A Close 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 OAuth. To connect with API Key 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 Close 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 11 read-only tools, such as get_lead and get_tasks, and lose the 5 write tools, such as manage_note or manage_task, and the 4 destructive tools, such as send_email or delete_lead.
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_leads takes no input.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (11)
list_activities: List activities in Close CRM with optional filters.search_leads: Search leads in Close using advanced search/filtering. Needsquery.list_opportunities: List opportunities in Close CRM with optional filtering by lead, user, status, and search query.list_smart_views: List saved Smart Views (saved search filters) in Close.list_contacts: List contacts in Close CRM, optionally filtered by lead.list_users: List users in the Close organization.list_leads: Lists and searches leads in Close CRM with optional text query filtering and pagination.get_lead: Retrieves a single lead from Close CRM by ID with full details including contacts, opportunities, and addresses. NeedsleadId.list_pipelines_and_statuses: List pipelines, lead statuses, and/or opportunity statuses in Close.get_current_user: Identify the connected Close user, authorized organizations, permissions and email-account identities.get_tasks: List Close tasks or retrieve a single task by ID.
Write tools (5)
manage_opportunity: Create a new opportunity or update an existing one in Close CRM.manage_contact: Create a new contact or update an existing one in Close CRM.manage_task: Create a new task or update an existing one in Close CRM.manage_email_template: Create or update an email template in Close CRM.manage_note: Create or update a note on a lead in Close CRM. Needsnote.
Destructive tools (4)
delete_lead: Delete a lead from Close CRM by its ID. NeedsleadId.manage_lead: Creates or updates a lead in Close CRM.send_email: Send an email through Close CRM associated with a lead. NeedsleadId,subjectandbody.delete_task: Delete a Close task by ID.
Triggers
Close has 5 triggers, which fire on events in Close:
contact_events: Triggers when a contact is created, updated, or deleted in Close.lead_events: Triggers when a lead is created, updated, or deleted in Close.activity_events: Triggers when an activity (email, call, note, SMS, meeting) is created, updated, or deleted in Close.opportunity_events: Triggers when an opportunity is created, updated, or deleted in Close.task_events: Triggers when a task is created, updated, or deleted in Close.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Close there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Close on metorial.com: the integration overview