# How to integrate Stannp MCP with Atomic Agent

```json
{
  "title": "How to integrate Stannp MCP with Atomic Agent",
  "toolkit": "Stannp",
  "toolkit_slug": "stannp",
  "framework": "Atomic Agent",
  "framework_slug": "atomic-agent",
  "url": "https://composio.dev/toolkits/stannp/framework/atomic-agent",
  "markdown_url": "https://composio.dev/toolkits/stannp/framework/atomic-agent.md",
  "updated_at": "2026-08-11T13:15:06.173Z"
}
```

## Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,500+ apps through Composio, including Stannp.
This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Stannp account. See the [Atomic Agent documentation](https://atomicagent.io/docs/?cta_placement=atomic-agent-docs) for installation instructions.

## Also integrate Stannp with

- [OpenAI Agents SDK](https://composio.dev/toolkits/stannp/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/stannp/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/stannp/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/stannp/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/stannp/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/stannp/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/stannp/framework/hermes-agent)
- [Google ADK](https://composio.dev/toolkits/stannp/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/stannp/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/stannp/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/stannp/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/stannp/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/stannp/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/stannp/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/stannp/framework/autogen)

## TL;DR

### How Atomic Agent connects to Stannp
Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.
Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

## Connect Stannp to Atomic Agent

### Connect Stannp to Atomic Agent
- Sign up or sign in to the [Composio dashboard](https://dashboard.composio.dev/?cta_placement=atomic-agent-api-key). Copy your API key.
- In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
- Ask Atomic Agent to do something in Stannp. It searches Composio for the right tool.
- On first use, open the sign-in link returned in the chat. Connect your Stannp account, then return to Atomic Agent to continue.
### Headless setup
Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

```bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY
```

## What is the Stannp MCP server, and what's possible with it?

The Stannp MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Stannp account. It provides structured and secure access to your direct mail contacts, groups, and templates, so your agent can perform actions like managing recipient lists, importing contacts, and retrieving mailing templates on your behalf.
- Organize and manage recipient groups: Easily create new recipient groups and add contacts, helping you segment your mailing lists for targeted direct mail campaigns.
- Import bulk recipients efficiently: Let your agent upload and import contacts from CSV or XLS files directly into Stannp, streamlining the process of building large mailing lists.
- Retrieve and view contact details: Instantly fetch information on specific contacts or list all your contacts, making it simple to keep track of who’s in your database.
- Access and manage templates: Quickly list and review all available Stannp templates, so your agent can select the right one when setting up new campaigns or mailings.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `STANNP_ADD_RECIPIENTS_TO_GROUP` | Add recipients to group | Tool to add existing recipients to a mailing list group. Use when you need to add recipients from your account to an existing group for campaign management. |
| `STANNP_ADD_RECIPIENT_TO_GROUP` | Add Recipient to Group | Tool to add a recipient to a recipient group. Use when you need to add new mailing list subscribers. |
| `STANNP_CANCEL_POSTCARD` | Cancel Postcard | Tool to cancel a postcard if processing has not started yet. Use when you need to cancel a scheduled postcard before it enters production. |
| `STANNP_CREATE_CAMPAIGN` | Create Campaign | Tool to create a new direct mail campaign on the platform. Use when you need to set up a campaign with recipients and design templates. Requires a valid group_id with recipients. |
| `STANNP_CREATE_CAMPAIGN_SAMPLE` | Create campaign sample | Tool to produce a PDF sample of your campaign. The generated link will be valid for 30 minutes. Use when you need to preview a campaign before sending it to recipients. |
| `STANNP_CREATE_FOLDER` | Create folder | Tool to create a folder in your secure file transfer area. Use when you need to organize files or prepare a storage location before uploading documents. |
| `STANNP_CREATE_GROUP` | Create recipient group | Tool to create a new recipient group in Stannp. Use when you need to organize contacts into a distinct group before sending campaigns. |
| `STANNP_CREATE_LETTER` | Create Letter | Tool to create a letter with mail merge to insert address and variable data. Use when you need to send physical mail via Stannp API. |
| `STANNP_CREATE_POSTCARD` | Create Postcard | Tool to create a postcard. Use when you need to send a postcard via direct mail. |
| `STANNP_CREATE_SELECTION` | Create recipient selection | Tool to create a new recipient selection for targeting in Stannp. Use when you need to create an auto filter selection to target specific recipients within a group based on criteria. |
| `STANNP_DELETE_GROUP` | Delete recipient group | Tool to delete a recipient group in Stannp. Recipients remain on your account unless delete_recipients is true. Use when you need to remove a mailing list group. |
| `STANNP_DELETE_RECIPIENT` | Delete Recipient | Tool to permanently delete a recipient from your account. Use when you need to remove a recipient from your mailing list. |
| `STANNP_GET_ACCOUNT_BALANCE` | Get Account Balance | Tool to retrieve the current account balance. Use when you need to check available account funds. |
| `STANNP_GET_CAMPAIGN` | Get Campaign | Tool to retrieve details of a specific campaign. Use when you need to get information about a campaign by its ID. |
| `STANNP_GET_CAMPAIGN_AVAILABLE_DATES` | Get Campaign Available Dates | Tool to get available dates for scheduling a campaign (up to 30 days). Use when you need to check which dates are available for campaign dispatch. |
| `STANNP_GET_CAMPAIGN_COST` | Get Campaign Cost | Tool to get the estimated cost of booking a campaign. Use when you need to calculate the total cost before booking a direct mail campaign. |
| `STANNP_GET_CONTACT` | Get Contact | Tool to retrieve details of a specific contact. Use when you need all stored fields of a contact by its ID. |
| `STANNP_GET_CURRENT_USER` | Get Current User | Tool to get information about the currently authenticated user including rate limit status. Use when you need to retrieve the current user's account details or check API rate limit status. |
| `STANNP_GET_REPORTING_SUMMARY` | Get Reporting Summary | Tool to get a status summary on individual items within a date range. Use when you need reporting metrics for mailpieces including delivery status, printing status, and counts. |
| `STANNP_IMPORT_RECIPIENTS` | Import Recipients | Tool to import recipients from a CSV or XLS file into a Stannp recipient group. Use when you have a mailing list file ready to upload. |
| `STANNP_LIST_CAMPAIGNS` | List Campaigns | Tool to get a list of all campaigns. Use when you need to retrieve campaigns after authentication. |
| `STANNP_LIST_CONTACTS` | List Contacts | Tool to list all contacts. Use when you need to retrieve contacts with optional pagination filters. |
| `STANNP_LIST_FOLDERS` | List Folders | Tool to get a list of folders in your secure file transfer area. Use when you need to retrieve available folders for file organization. |
| `STANNP_LIST_GROUPS` | List Mailing Groups | Tool to get a list of mailing groups on your account. Use when you need to retrieve all groups with optional pagination. |
| `STANNP_LIST_MAILPIECES` | List Mailpieces | Tool to retrieve mailpiece objects sent within a date range. Use when you need to query mailing history with optional status or tag filters. |
| `STANNP_LIST_TEMPLATES` | List Templates | Tool to list all templates associated with the account. Use when you need to retrieve available templates after authentication. |
| `STANNP_MERGE_PDFS` | Merge PDF files | Tool to merge multiple PDF files into a single file. Use when you need to consolidate multiple PDFs into one document. |
| `STANNP_PURGE_GROUP` | Purge Group | Tool to remove all recipients from a mailing list. Recipients remain on your account if delete_recipients is false. |
| `STANNP_RECALCULATE_GROUP` | Recalculate group | Tool to recalculate a group to ensure stats are up to date. Use when you need to refresh group statistics after adding or removing recipients. |
| `STANNP_REMOVE_RECIPIENTS_FROM_GROUP` | Remove Recipients from Group | Tool to remove recipients from a group without deleting them. Use when you need to remove contacts from a mailing group while keeping them in your account. |
| `STANNP_UPLOAD_FILE` | Upload File | Tool to upload a file to your secure file transfer area. Use when you need to upload files for direct mail campaigns. Supports both URL-based imports and binary file uploads. |
| `STANNP_VALIDATE_ADDRESS` | Validate Address | Tool to validate a postal address. Currently supports UK and US addresses only. Use when you need to verify if a given address is valid before sending mail. |

## Supported Triggers

None listed.

## Troubleshooting

### Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

### Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

### Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See [Composio pricing](/pricing) for the current limits that apply to your connection.

## Complete Code

None listed.

## Conclusion

### Use Stannp from Atomic Agent
With your account connected, ask Atomic Agent to work with Stannp in natural language. You can connect more apps through the same Composio integration as you need them.
Visit the [Atomic Agent website](https://atomicagent.io/?cta_placement=atomic-agent-site) or inspect the [Atomic Agent source code](https://github.com/AtomicBot-ai/atomic-agent?cta_placement=atomic-agent-repo).

## How to build Stannp MCP Agent with another framework

- [OpenAI Agents SDK](https://composio.dev/toolkits/stannp/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/stannp/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/stannp/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/stannp/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/stannp/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/stannp/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/stannp/framework/hermes-agent)
- [Google ADK](https://composio.dev/toolkits/stannp/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/stannp/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/stannp/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/stannp/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/stannp/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/stannp/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/stannp/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/stannp/framework/autogen)

## Related Toolkits

- [Metaads](https://composio.dev/toolkits/metaads) - Metaads is Meta's official Ads API that lets you manage, analyze, and optimize your Facebook and Instagram ad campaigns. Streamline ad operations and gain deeper insights with robust automation.
- [Adrapid](https://composio.dev/toolkits/adrapid) - Adrapid is a platform for rapid creation of digital marketing visuals using templates. It streamlines design workflows for banners, images, and HTML5 content with automation.
- [Adtraction](https://composio.dev/toolkits/adtraction) - Adtraction is an affiliate marketing platform for partner programs, tracking links, transactions, commissions, statistics, and payments. It helps advertisers and publishers manage performance marketing with clear reporting and payout workflows.
- [Adyntel](https://composio.dev/toolkits/adyntel) - Adyntel is an API that retrieves LinkedIn ads for any company using a domain or LinkedIn Page ID. Easily access competitive ad intelligence to power your marketing workflows.
- [Beaconstac](https://composio.dev/toolkits/beaconstac) - Beaconstac is a platform for creating and managing QR codes and proximity beacons. It helps businesses engage customers and track marketing performance with powerful analytics.
- [Bouncify](https://composio.dev/toolkits/bouncify) - Bouncify is an email verification service for single addresses and bulk lists. Use it to reduce bounces, protect sender reputation, and track verification credits.
- [Bulk Email Checker](https://composio.dev/toolkits/bulk_email_checker) - Bulk Email Checker is an email verification service for checking address validity, mailbox status, domains, and mail-server signals. It helps reduce bounces, spot risky emails, and keep outreach lists cleaner before you send.
- [Campaign cleaner](https://composio.dev/toolkits/campaign_cleaner) - Campaign cleaner is an email campaign optimization tool that boosts compatibility and deliverability across email clients. It helps marketers get better results by cleaning, enhancing, and ensuring high performance for every campaign.
- [Deadline funnel](https://composio.dev/toolkits/deadline_funnel) - Deadline Funnel lets you create personalized deadlines and timers for your marketing campaigns. It helps marketers boost conversions by adding authentic urgency to offers.
- [DeBounce](https://composio.dev/toolkits/debounce) - DeBounce is an email verification service for checking address validity, deliverability, and risk. It helps keep contact lists clean so your campaigns reach real inboxes.
- [Easy Email Verification](https://composio.dev/toolkits/easy_email_verification) - Easy Email Verification is an email validation service for checking single addresses and bulk lists. Use it to reduce bounces, clean contact data, and protect sender reputation.
- [Elastic Email](https://composio.dev/toolkits/elastic_email) - Elastic Email is an email delivery and marketing platform for transactional emails, campaigns, contacts, and reporting. Use it to send reliable emails, manage audiences, verify addresses, and track performance.
- [Fairing](https://composio.dev/toolkits/fairing) - Fairing is a post-purchase survey and attribution platform for ecommerce brands. It helps teams measure which marketing channels, campaigns, and customer touchpoints drive purchases.
- [GoDaddy MCP](https://composio.dev/toolkits/godaddy_mcp) - GoDaddy MCP is a domain discovery toolkit for checking availability and generating AI-powered name ideas. Use it to move from rough business keywords to practical domain options fast.
- [Google Ads](https://composio.dev/toolkits/googleads) - Google Ads is Google's online advertising platform for creating, managing, and optimizing digital campaigns. It helps businesses reach targeted customers and maximize return on ad spend.
- [Handwrite.io](https://composio.dev/toolkits/handwrite) - Handwrite.io is a direct mail service for creating physical handwritten card orders. It helps teams send personal cards with selectable handwriting, stationery, and tracking.
- [Inblog](https://composio.dev/toolkits/inblog) - Inblog is an AI-powered blogging platform for posts, authors, tags, redirects, design settings, analytics, and lead forms. Use it to manage SEO-focused content, measure performance, and capture blog leads in one place.
- [Instantly](https://composio.dev/toolkits/instantly) - Instantly is a platform for automating cold email outreach, managing leads, and optimizing deliverability. Get better results from email campaigns with minimal manual effort.
- [Invalid Bounce](https://composio.dev/toolkits/invalid_bounce) - Invalid Bounce is an email verification service with a bulk verification API. Use it to clean email lists, reduce bounces, and protect sender reputation.
- [Keyword](https://composio.dev/toolkits/keyword) - Keyword.com is a digital marketing platform for search rank tracking and SEO analytics. Use it to monitor keyword performance, spot ranking changes, and measure SEO visibility.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Stannp MCP?

With a standalone Stannp MCP server, the agents and LLMs can only access a fixed set of Stannp tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Stannp and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Atomic Agent?

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Stannp tools.

### Can I manage the permissions and scopes for Stannp while using Tool Router?

Yes, absolutely. You can configure which Stannp scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Stannp data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
