How to integrate Stannp MCP with Hermes

Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Stannp logo
Hermes logo
divider

Introduction

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Stannp account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate Stannp with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,000+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Stannp with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Stannp

Ask your agent to connect to Stannp, or simply request any Stannp-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Stannp connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Stannp or request any Stannp-related task. It will prompt you to authenticate and authorize access.

5. Done!

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 & Triggers

Tools
Add recipients to groupTool to add existing recipients to a mailing list group.
Add Recipient to GroupTool to add a recipient to a recipient group.
Cancel PostcardTool to cancel a postcard if processing has not started yet.
Create CampaignTool to create a new direct mail campaign on the platform.
Create campaign sampleTool to produce a PDF sample of your campaign.
Create folderTool to create a folder in your secure file transfer area.
Create recipient groupTool to create a new recipient group in Stannp.
Create LetterTool to create a letter with mail merge to insert address and variable data.
Create PostcardTool to create a postcard.
Create recipient selectionTool to create a new recipient selection for targeting in Stannp.
Delete recipient groupTool to delete a recipient group in Stannp.
Delete RecipientTool to permanently delete a recipient from your account.
Get Account BalanceTool to retrieve the current account balance.
Get CampaignTool to retrieve details of a specific campaign.
Get Campaign Available DatesTool to get available dates for scheduling a campaign (up to 30 days).
Get Campaign CostTool to get the estimated cost of booking a campaign.
Get ContactTool to retrieve details of a specific contact.
Get Current UserTool to get information about the currently authenticated user including rate limit status.
Get Reporting SummaryTool to get a status summary on individual items within a date range.
Import RecipientsTool to import recipients from a CSV or XLS file into a Stannp recipient group.
List CampaignsTool to get a list of all campaigns.
List ContactsTool to list all contacts.
List FoldersTool to get a list of folders in your secure file transfer area.
List Mailing GroupsTool to get a list of mailing groups on your account.
List MailpiecesTool to retrieve mailpiece objects sent within a date range.
List TemplatesTool to list all templates associated with the account.
Merge PDF filesTool to merge multiple PDF files into a single file.
Purge GroupTool to remove all recipients from a mailing list.
Recalculate groupTool to recalculate a group to ensure stats are up to date.
Remove Recipients from GroupTool to remove recipients from a group without deleting them.
Upload FileTool to upload a file to your secure file transfer area.
Validate AddressTool to validate a postal address.

Way Forward

With Stannp connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

How to build Stannp MCP Agent with another framework

FAQ

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 Hermes?

Yes, you can. Hermes 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.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.