Set up Cardly in Metorial for Claude, ChatGPT and Cursor
Share Cardly with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 30 tools (14 read-only).
To give your team Cardly in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Cardly integration in a Metorial portal, and each person connects with an API key. Agents can send personalized, handwritten greeting cards, postcards, and letters at scale via physical mail. The integration has 30 tools, 14 read-only, 11 write and 5 destructive, plus 1 trigger.
What you'll learn
- How an admin shares Cardly in a portal and how each person connects
- What Cardly asks for when you connect, and where to find it
- How to keep the 14 read-only tools and reject the other 16
Before you start
- A portal with at least one access group
- An API key from Cardly 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 | apiKey |
API Key
To connect, a person enters:
apiKey: Cardly API key (starts with test_ or live_)
Admin: share Cardly 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 Cardly. 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 Cardly.
Choose who gets it
Add the access groups that should see Cardly. 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 Cardly integration. Once it exists, check which groups have it:
Employee: connect Cardly
In the portal
Open Cardly in the catalog
Sign in to your portal and open Cardly. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key (apiKey).
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 Cardly 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 14 read-only tools, such as get_order and list_users, and lose the 11 write tools, such as place_order or edit_artwork, and the 5 destructive tools, such as remove_user or delete_artwork.
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 30 tools, minus any you rejected. get_account_balance takes no input. It retrieves the current card credit balance and gift credit balance for your organisation.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (14)
list_templates: Retrieve available message templates configured in the Cardly business portal.get_contact: Retrieve a contact by its ID within a contact list.generate_preview: Generate a low-quality, watermarked preview PDF of a card and envelope before placing a live order. NeedsartworkId,templateIdandrecipient.list_users: Retrieve all users who have access to your organisation portal, including their roles and permissions.list_orders: Retrieve orders placed by your organisation.get_account_balance: Retrieve the current card credit balance and gift credit balance for your organisation.list_invitations: List organisation invitations and their IDs, email addresses, permissions, and status before resending or revoking an invitation.list_artwork: List available card artwork for your organisation.list_contacts: List contacts in a specific contact list. NeedslistId.list_resources: Browse available design resources including media types (product sizes like greeting cards, postcards, letters), handwriting fonts, writing styles (messiness levels), and doodles (decorative images).find_contact: Search for a contact within a list by email address or external ID. NeedslistId.list_contact_lists: Retrieve all active contact lists for your organisation, including their custom field definitions.list_webhooks: Retrieve all webhooks configured for your organisation, including their target URLs, subscribed events, and enabled status.get_order: Retrieve detailed information about a specific order by its ID, including line items, cost, and current status. NeedsorderId.
Write tools (11)
edit_artwork: Update an existing artwork's name, description, or page images. NeedsartworkId.create_contact_list: Create a new contact list with optional custom fields. Needsname.send_invitation: Invite a new user to your organisation portal with specific permissions. Needsemailandpermissions.sync_contact: Create or update a contact using an upsert operation. NeedslistId,firstName,lastName,address,cityandcountry.update_webhook: Update an existing webhook's target URL, subscribed events, enabled status, or metadata. NeedswebhookId.manage_invitation: Resend or revoke a pending invitation by invitation ID or email address. Needsaction.place_order: Place an order to send one or more personalized handwritten cards, postcards, or letters. Needslines.create_contact: Add a new contact to a contact list with their name, address, and optional custom field values. NeedslistId,firstName,lastName,address,cityandcountry.create_webhook: Create a new webhook subscription. Needsurlandevents.create_artwork: Upload new card artwork with base64-encoded page images. NeedsmediaId,nameandpages.edit_contact: Update an existing contact's details. NeedslistIdandcontactId.
Destructive tools (5)
delete_artwork: Permanently delete artwork from your organisation. NeedsartworkId.delete_contact_list: Permanently delete a contact list and all contacts within it. NeedslistId.remove_user: Remove a user's access to the organisation portal. NeedsuserId.delete_contact: Remove a contact from a contact list. NeedslistId.delete_webhook: Permanently delete a webhook subscription. NeedswebhookId.
Triggers
Cardly has 1 trigger, which fire on events in Cardly:
cardly_events: Receive near-realtime event notifications for order lifecycle, gift card redemptions, QR code scans, and delivery status changes via webhooks.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Cardly there
- Tool permissions: tool filters and what employees see
- Cardly on metorial.com: the integration overview