How to integrate Kapso MCP with Hermes

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 Kapso 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.

Kapso logoKapso
Api Key

Kapso is an API platform for WhatsApp messaging, contacts, broadcasts, workflows, and serverless functions. It helps teams manage customer conversations and automate outreach from one place.

10 Tools

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 Kapso 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 Kapso 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 Kapso 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 Kapso

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

4. Done. You're all set with a new Kapso 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 Kapso or request any Kapso-related task. It will prompt you to authenticate and authorize access.

5. Done!

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

The Kapso MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Kapso account. It provides structured and secure access to your WhatsApp conversations, messages, customers, phone numbers, workflows, and serverless functions, so your agent can review conversations, inspect message history, find customers, check phone number health, and examine automations on your behalf.

  • Conversation and message review: Have your agent list recent WhatsApp conversations, filter them by status or assignment, and inspect message history.
  • Customer lookup: Let the agent find Kapso customers by name, external reference, or creation date.
  • Phone number monitoring: Direct your agent to review configured WhatsApp phone numbers and check their current health, messaging state, and configuration.
  • Workflow inspection: Instruct your agent to list workflows, filter them by name or lifecycle status, and examine their definitions and available variables.
  • Serverless function visibility: Have your agent list Kapso functions and inspect their code, runtime settings, deployment status, and computed URLs without running or changing them.

Way Forward

With Kapso 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.

TOOLS

Supported Tools

Every Kapso action and event your agent gets out of the box.

Get Function

Retrieve one Kapso serverless function's code, runtime configuration, deployment status, and computed URLs without invoking or changing it.

Get Phone Number

Retrieve one Kapso WhatsApp phone-number configuration by its Meta phone number ID.

Get Phone Number Health

Run Kapso's live checks for one WhatsApp phone-number configuration and return its body-level health status and individual check results.

Get Workflow

Retrieve one workflow's metadata, full graph definition, or available variables without executing or changing it.

List Conversations

List one page of WhatsApp conversations by recent activity, with filters for phone number, status, assignment, and activity time range.

List Customers

List Kapso project customers and filter them by name, external customer ID, or creation time.

List Functions

List serverless functions configured in the Kapso project, including runtime and deployment state, without returning function source code or invoking any function.

List Messages

List one page of WhatsApp message history project-wide through Kapso Platform or for one phone number through the Meta-compatible proxy.

List Phone Numbers

List WhatsApp phone-number configurations in the Kapso project, with filters for account, customer, messaging state, and display name.

List Workflows

List project workflows and filter them by lifecycle status, name, or creation time.

FAQ

Frequently asked questions

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

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 Kapso tools.

Yes, absolutely. You can configure which Kapso 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.

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 Kapso data and credentials are handled as safely as possible.

Start with Kapso.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Kapso tool your agent needs.Free to start.

Start building