> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Nutshell in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/nutshell
Last updated: 2026-11-24

Share Nutshell with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 27 tools (17 read-only).

---

To give your team Nutshell in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Nutshell integration in a Metorial portal, and each person connects with an API key. Agents can manage Nutshell CRM contacts, companies, leads, activities, tasks, and notes. The integration has 27 tools, 17 read-only, 9 write and 1 destructive, plus 4 triggers.

**What you will learn**

- How an admin shares Nutshell in a portal and how each person connects
- What Nutshell asks for when you connect, and where to find it
- How to keep the 17 read-only tools and reject the other 10

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Nutshell for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key** | Custom credentials | `username` and `token` |

### API Key

To connect, a person enters these values:

- `username`: Your Nutshell user email address
- `token`: Your Nutshell API key (generated from Setup > API Keys)

## Admin: share Nutshell in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Nutshell. For how members connect, choose **Each person connects** so everyone enters their own API key, or **Shared connection** to enter one API key for everyone.

3. **Limit the tools**

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

4. **Choose who gets it**

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

```bash
metorial-admin portals access list <portal-id> --type provider_template --search nutshell
```

## Employee: connect Nutshell

### In the portal

1. **Open Nutshell in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API key (username and token).

3. **Confirm**

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

### With the CLI

```bash
metorial catalog search nutshell
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Nutshell 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.

```bash
metorial list nutshell
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 17 read-only tools, such as `get_lead` and `find_leads`, and lose the 9 write tools, such as `add_note` or `create_lead`, and the destructive tool `delete_record`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list nutshell
metorial tools <integration-id>
metorial call <integration-id> list_sources -d '{}'
```

`metorial tools` lists the 27 tools, minus any you rejected. `list_sources` takes no input. It lists lead sources in Nutshell CRM.

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

## Tools

### Read-only tools (17)

- `find_leads`: Search and list leads (sales opportunities) in Nutshell CRM.
- `list_products`: List products available in Nutshell CRM.
- `search_crm`: Perform a universal search across all entity types in Nutshell CRM. Needs `searchQuery`.
- `find_contacts`: Search and list contacts in Nutshell CRM.
- `get_timeline`: Retrieve the timeline of interactions and changes for a contact, account, or lead in Nutshell CRM. Needs `entityType` and `entityId`.
- `get_contact`: Retrieve a contact (person) by ID from Nutshell CRM. Needs `contactId`.
- `get_account`: Retrieve an account (company) by ID from Nutshell CRM. Needs `accountId`.
- `list_users_teams`: List users and/or teams in Nutshell CRM.
- `get_lead`: Retrieve a lead (sales opportunity) by ID from Nutshell CRM. Needs `leadId`.
- `find_accounts`: Search and list accounts (companies) in Nutshell CRM.
- `list_activity_types`: List all available activity types in Nutshell CRM (e.g., Call, Meeting, Email).
- `find_activities`: Search and list activities in Nutshell CRM.
- `list_sources`: List lead sources in Nutshell CRM.
- `list_pipelines_stages`: List a page of pipelines, stages, and closing outcomes in Nutshell CRM.
- `get_current_user`: Identify the authenticated Nutshell user and CRM instance.
- `get_record`: Retrieve an activity, task, or note by API ID, including its exact current revision and related record identifiers.
- `list_custom_fields`: Discover custom-field definitions applicable to contacts, accounts, or leads through the current REST API.

### Write tools (9)

- `update_account`: Update an existing account (company) in Nutshell CRM. Needs `accountId`.
- `create_account`: Create a new account (company) in Nutshell CRM. Needs `name`.
- `create_lead`: Create a new lead (sales opportunity) in Nutshell CRM.
- `update_contact`: Update an existing contact in Nutshell CRM. Needs `contactId`.
- `create_contact`: Create a new contact (person) in Nutshell CRM. Needs `name`.
- `update_lead`: Update an existing lead in Nutshell CRM. Needs `leadId`.
- `add_note`: Add a note to a contact, account, or lead in Nutshell CRM. Needs `entityType`, `entityId` and `body`.
- `create_task`: Create a new task in Nutshell CRM for tracking follow-ups and action items. Needs `description`.
- `create_activity`: Log a new activity (call, meeting, email, etc.) in Nutshell CRM. Needs `name`.

### Destructive tools (1)

- `delete_record`: Delete one contact, account, lead, activity, task, or note using the exact current revision.

## Triggers

Nutshell has 4 triggers, which fire on events in Nutshell:

- `new_accounts`: [Polling fallback] Polls for newly created accounts (companies) in Nutshell CRM.
- `new_contacts`: [Polling fallback] Polls for newly created contacts (people) in Nutshell CRM.
- `entity_changes`: Triggered when entities (leads, contacts, accounts, activities) are created or updated in Nutshell.
- `new_leads`: [Polling fallback] Polls for newly created leads in Nutshell CRM.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Nutshell there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Nutshell on metorial.com](https://metorial.com/integrations/nutshell): the integration overview