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

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

Share Stannp with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 26 tools (13 read-only).

---

To give your team Stannp in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Stannp integration in a Metorial portal, and each person connects with an API key. Agents can send physical postcards, letters, greetings cards, and self-mailers programmatically. The integration has 26 tools, 13 read-only, 10 write and 3 destructive, plus 4 triggers.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Stannp 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** | API token | `token` |

### API Key

To connect, a person enters:

- `token`: Your Stannp API key, found at the bottom of your account settings page

### Setup settings

Setup also asks for:

- `region` (optional): API region. US uses api-us1.stannp.com, UK/EU uses dash.stannp.com One of "us", "uk".

## Admin: share Stannp 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 Stannp. 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 Stannp.

4. **Choose who gets it**

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

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

## Employee: connect Stannp

### In the portal

1. **Open Stannp in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API key (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 stannp
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Stannp 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 stannp
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 13 read-only tools, such as `list_groups` and `get_campaign`, and lose the 10 write tools, such as `send_sms` or `send_letter`, and the 3 destructive tools, such as `delete_group` or `delete_campaign`.

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 stannp
metorial tools <integration-id>
metorial call <integration-id> get_account_info -d '{}'
```

`metorial tools` lists the 26 tools, minus any you rejected. `get_account_info` takes no input. It retrieves account information and current balance.

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

## Tools

### Read-only tools (13)

- `list_groups`: Retrieve a paginated list of mailing groups (mailing lists) on the account.
- `validate_address`: Verify that a mailing address is valid and deliverable before sending mail.
- `list_templates`: Retrieve all available design templates.
- `get_account_info`: Retrieve account information and current balance.
- `get_campaign_cost`: Calculate the cost breakdown for a campaign including per-item rates, recipient counts, and totals. Needs `campaignId`.
- `list_recipients`: Retrieve a paginated list of recipients.
- `list_campaigns`: Retrieve all campaigns on the account with their current status and details.
- `get_recipient`: Retrieve detailed information about a single recipient by their ID. Needs `recipientId`.
- `get_report_summary`: Retrieve a status summary of all mailpieces within a date range. Needs `startDate` and `endDate`.
- `get_campaign`: Retrieve detailed information about a specific campaign including its status, cost, and send date. Needs `campaignId`.
- `list_mailpieces`: Retrieve a detailed list of individual mailpiece objects sent within a date range. Needs `startDate` and `endDate`.
- `get_campaign_sample`: Generate a downloadable PDF sample to review a campaign before approving it.
- `list_booking_dates`: Find available dispatch dates before booking a campaign.

### Write tools (10)

- `create_recipient`: Add a new recipient to a mailing group. Needs `groupId` and `address1`.
- `create_campaign`: Create a new bulk mail campaign that targets a recipient group with a design template. Needs `name`, `type` and `groupId`.
- `send_sms`: Send an SMS message to a phone number or an existing recipient. Needs `message`.
- `approve_campaign`: Approve a campaign, locking its design and recipient list. Needs `campaignId`.
- `book_campaign`: Schedule an approved campaign for dispatch on a specific date. Needs `campaignId` and `sendDate`.
- `send_postcard`: Send a personalized postcard to a recipient. Needs `size`.
- `add_recipients_to_group`: Add one or more existing recipients to a mailing group by their IDs. Needs `groupId` and `recipientIds`.
- `create_group`: Create a new mailing group (mailing list) that recipients can be added to. Needs `name`.
- `send_letter`: Send a letter to a recipient.
- `remove_recipients_from_group`: Remove one or more recipients from a mailing group. Needs `groupId` and `recipientIds`.

### Destructive tools (3)

- `delete_recipient`: Permanently remove a recipient from the account by their ID. Needs `recipientId`.
- `delete_campaign`: Permanently delete an unbooked campaign. Needs `campaignId`.
- `delete_group`: Delete a mailing group. Needs `groupId`.

## Triggers

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

- `recipient_blacklisted`: Triggers whenever a recipient has been blacklisted from receiving mail.
- `campaign_status_changed`: Triggers whenever a campaign status changes (printing, dispatched, or cancelled).
- `recipient_event`: Triggers whenever a new recipient event is recorded, such as a QR code scan from a Stannp-generated QR code on a postcard or letter.
- `mailpiece_status_changed`: Triggers whenever an individual mailpiece status changes (printing, dispatched, cancelled, local_delivery, delivered, returned).

## 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 Stannp there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Stannp on metorial.com](https://metorial.com/integrations/stannp): the integration overview