Set up Stannp in Metorial for Claude, ChatGPT and Cursor
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'll 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 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, 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
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 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.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Stannp.
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:
Employee: connect Stannp
In the portal
Open Stannp in the catalog
Sign in to your portal and open Stannp. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key (token).
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.
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.
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.
Check it worked
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. NeedscampaignId.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. NeedsrecipientId.get_report_summary: Retrieve a status summary of all mailpieces within a date range. NeedsstartDateandendDate.get_campaign: Retrieve detailed information about a specific campaign including its status, cost, and send date. NeedscampaignId.list_mailpieces: Retrieve a detailed list of individual mailpiece objects sent within a date range. NeedsstartDateandendDate.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. NeedsgroupIdandaddress1.create_campaign: Create a new bulk mail campaign that targets a recipient group with a design template. Needsname,typeandgroupId.send_sms: Send an SMS message to a phone number or an existing recipient. Needsmessage.approve_campaign: Approve a campaign, locking its design and recipient list. NeedscampaignId.book_campaign: Schedule an approved campaign for dispatch on a specific date. NeedscampaignIdandsendDate.send_postcard: Send a personalized postcard to a recipient. Needssize.add_recipients_to_group: Add one or more existing recipients to a mailing group by their IDs. NeedsgroupIdandrecipientIds.create_group: Create a new mailing group (mailing list) that recipients can be added to. Needsname.send_letter: Send a letter to a recipient.remove_recipients_from_group: Remove one or more recipients from a mailing group. NeedsgroupIdandrecipientIds.
Destructive tools (3)
delete_recipient: Permanently remove a recipient from the account by their ID. NeedsrecipientId.delete_campaign: Permanently delete an unbooked campaign. NeedscampaignId.delete_group: Delete a mailing group. NeedsgroupId.
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, Cursor, Codex and ChatGPT: connect each client to your portal and use Stannp there
- Tool permissions: tool filters and what employees see
- Stannp on metorial.com: the integration overview