# How to integrate Kit MCP with Atomic Agent

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

## 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 Kit.
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 Kit account. See the [Atomic Agent documentation](https://atomicagent.io/docs/?cta_placement=atomic-agent-docs) for installation instructions.

## Also integrate Kit with

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

## TL;DR

### How Atomic Agent connects to Kit
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 Kit to Atomic Agent

### Connect Kit 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 Kit. It searches Composio for the right tool.
- On first use, open the sign-in link returned in the chat. Connect your Kit 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 Kit MCP server, and what's possible with it?

The Kit MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Kit account. It provides structured and secure access to your subscriber lists, tags, forms, and automations, so your agent can perform actions like managing subscribers, creating tags, updating custom fields, and handling broadcasts on your behalf.
- Subscriber management and automation: Add new subscribers to forms, remove subscribers, or update their details to keep your audience lists accurate and engaged.
- Custom field and tag creation: Automatically create, update, or delete custom fields and tags, making it easy to segment and personalize your communications.
- Webhook and event setup: Set up or remove webhooks so your agent can listen for subscriber or purchase events and trigger automations as needed.
- Broadcast and campaign control: Delete obsolete broadcasts or manage your messaging campaigns directly through your agent for streamlined outreach.
- Account insights and configuration: Retrieve detailed account information, including plan details and primary contact, to keep your integrations and automations running smoothly.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `KIT_ADD_SUBSCRIBER_TO_FORM` | Add Subscriber to Form | Add an existing subscriber to a form by their IDs. This action associates a subscriber with a form in Kit. The subscriber must already exist in your Kit account (use KIT_LIST_SUBSCRIBERS to find them). The form must also exist (use KIT_LIST_FORMS to find valid form IDs). Returns HTTP 201 if the subscriber is newly added to the form, or HTTP 200 if they were already associated with the form. Both cases are considered successful operations. Important: This action requires both form_id and subscriber_id (aliased as 'id' in requests). An optional referrer URL can be provided for tracking purposes and will have its UTM parameters automatically parsed. |
| `KIT_ADD_SUBSCRIBER_TO_FORM_BY_EMAIL` | Add Subscriber to Form by Email | Tool to add an existing subscriber to a form using their email address. Use when you know the subscriber's email but not their ID. The subscriber must already exist in your Kit account before adding them to a form. Returns HTTP 201 if the subscriber is newly added to the form, or HTTP 200 if they were already associated with the form. |
| `KIT_CREATE_BROADCAST` | Create Broadcast | Tool to create a new broadcast (email campaign) to send to subscribers. Use when you need to draft, schedule, or immediately publish an email broadcast. To save as draft, set send_at to null; to schedule, provide a future send_at timestamp; to publish to web, set public to true. |
| `KIT_CREATE_CUSTOM_FIELD` | Create Custom Field | Tool to create a new custom field for subscriber data. Use when you need to store extra attributes for subscribers. |
| `KIT_CREATE_SUBSCRIBER` | Create Subscriber | Tool to create a new subscriber or update an existing one (upsert). If a subscriber with the provided email address does not exist, creates one. If already exists, updates the first name. |
| `KIT_CREATE_TAG` | Create Tag | Tool to create a new tag in the account. Use when you need a custom label to segment subscribers. Use after confirming tag uniqueness to avoid duplicates. Example: "Create a tag called 'VIP' for premium customers." |
| `KIT_CREATE_WEBHOOK` | Create Webhook | Creates a webhook subscription for real-time event notifications. Use this to receive HTTP POST notifications when subscriber events (activate, unsubscribe, form subscribe, tag add/remove, link clicks, etc.) or purchase events occur in your Kit account. |
| `KIT_DELETE_BROADCAST` | Delete Broadcast | Tool to delete a specific broadcast. Use when you need to permanently remove a broadcast by ID (after confirming the ID). Example prompt: "Delete broadcast with ID 123" |
| `KIT_DELETE_CUSTOM_FIELD` | Delete Custom Field | Tool to delete a specific custom field. Use after confirming the custom field ID is correct. Deletes the field permanently. |
| `KIT_DELETE_SUBSCRIBER` | Delete Subscriber | Unsubscribe a subscriber from all email communications by their ID. This action permanently unsubscribes a subscriber, removing them from all sequences and forms. The subscriber's historical data is retained but they will no longer receive emails. This operation is idempotent - unsubscribing an already-unsubscribed subscriber succeeds without error. Use KIT_LIST_SUBSCRIBERS to find valid subscriber IDs before calling this action. Returns: Empty response on success (HTTP 204 No Content). Raises: ExecutionFailed: If the subscriber ID doesn't exist (404), authentication fails (401), or other API errors occur. |
| `KIT_DELETE_TAG` | Delete Tag | Tool to delete a tag by ID. Use when you need to remove obsolete or incorrect tags after confirming the tag exists. |
| `KIT_DELETE_WEBHOOK` | Delete Webhook | Tool to delete a webhook by ID. Use when you want to permanently remove a webhook after confirming its ID. |
| `KIT_FILTER_SUBSCRIBERS` | Filter Subscribers | Tool to filter subscribers based on engagement criteria such as email opens, clicks, or delivery status. Use when you need to segment subscribers by their engagement behavior with specific date ranges and count thresholds. |
| `KIT_GET_ACCOUNT` | Get Account | Tool to retrieve current account information. Use after validating API key to fetch account ID, plan type, primary email, and timezone details. |
| `KIT_GET_ACCOUNT_COLORS` | Get Account Colors | Tool to retrieve list of colors associated with the account. Use after confirming authentication to fetch account-specific color palette. |
| `KIT_GET_BROADCAST` | Get Broadcast | Tool to retrieve details of a specific broadcast by ID. Use when you have a valid broadcast ID and need its metadata. |
| `KIT_GET_BROADCAST_CLICKS` | Get Broadcast Clicks | Tool to retrieve link click data for a specific broadcast by ID. Use when you need to analyze which links were clicked and their engagement metrics. |
| `KIT_GET_BROADCAST_STATS` | Get Broadcast Stats | Tool to retrieve statistics for a specific broadcast by ID. Use after a broadcast has been sent to monitor performance. |
| `KIT_GET_CREATOR_PROFILE` | Get Creator Profile | Tool to retrieve the creator profile information for the account. Use when you need creator metadata (name, bio, avatar, profile URL) before publishing or customizing content. |
| `KIT_GET_EMAIL_STATS` | Get Email Stats | Tool to retrieve email statistics for the account. Use after confirming authentication to fetch metrics on emails (sent, opened, clicked) over the last 90 days. |
| `KIT_GET_GROWTH_STATS` | Get Growth Stats | Tool to retrieve growth statistics for the account over a date range. Stats are returned in your sending time zone (not UTC). Defaults to last 90 days if no dates specified. |
| `KIT_GET_SUBSCRIBER` | Get Subscriber | Tool to retrieve a specific subscriber by their ID. Use when you need to fetch detailed information about a single subscriber. |
| `KIT_GET_SUBSCRIBER_STATS` | Get Subscriber Stats | Tool to retrieve email stats for a specific subscriber. Use when you need subscriber engagement metrics (opens, clicks, bounces, rates). Data only available for events from June 2025 onwards. |
| `KIT_LIST_BROADCASTS` | List Broadcasts | Tool to retrieve a paginated list of all broadcasts. Use when you need to enumerate or review broadcast summaries with cursor-based pagination. |
| `KIT_LIST_CUSTOM_FIELDS` | List Custom Fields | Tool to retrieve a paginated list of custom fields. Use after confirming you need to enumerate or inspect all custom fields with cursor-based pagination. |
| `KIT_LIST_EMAIL_TEMPLATES` | List Email Templates | Retrieve a paginated list of all email templates in the Kit account. Returns template details including ID, name, default status, and category. Supports cursor-based pagination for navigating large template collections. Use this when you need to view or iterate through email templates. |
| `KIT_LIST_FORMS` | List Forms | Lists all forms in your Kit account with optional filtering and cursor-based pagination. Use this to retrieve forms when you need to: - Get all available forms (landing pages and embedded forms) - Filter by status (active, archived, trashed) or type (embed, hosted) - Paginate through large collections of forms - Get form IDs and metadata for other operations |
| `KIT_LIST_SEGMENTS` | List Segments | Tool to retrieve a paginated list of segments. Use when you need to enumerate segments with cursor-based pagination for further processing or display. |
| `KIT_LIST_SEQUENCES` | List Sequences | Tool to retrieve a paginated list of all sequences. Use when you need to enumerate sequences with pagination for further processing or display. |
| `KIT_LIST_SUBSCRIBERS` | List Subscribers | Tool to retrieve a list of subscribers. Use when you need to fetch subscriber records with optional filtering, sorting, and pagination. |
| `KIT_LIST_SUBSCRIBERS_FOR_FORM` | List Subscribers For Form | Retrieves subscribers for a specific form by ID with optional filtering and cursor-based pagination. Use this action to: - Get all subscribers who have joined a specific form - Filter subscribers by when they were added to the form (added_after/added_before) - Filter subscribers by when they were created (created_after/created_before) - Filter by subscriber status (e.g., 'active') - Navigate through results using cursor-based pagination (after/before cursors) - Control page size with per_page parameter - Optionally get total subscriber count with include_total_count='true' First use KIT_LIST_FORMS to get valid form_id values. |
| `KIT_LIST_TAGS` | List Tags | Retrieve a paginated list of all tags in the Kit account. Returns tag details including ID, name, and creation date. Supports cursor-based pagination for navigating large tag collections. Use this when you need to view or iterate through tags. |
| `KIT_LIST_TAG_SUBSCRIBERS` | List Tag Subscribers | Tool to retrieve subscribers for a specific tag. Use after confirming the tag ID when you need to list subscribers associated with a tag. |
| `KIT_LIST_WEBHOOKS` | List Webhooks | Retrieve a paginated list of all webhooks configured in the Kit account. Returns webhook details including ID, event type, and target URL. Supports cursor-based pagination for navigating large webhook collections. Use this when you need to view or iterate through webhooks. |
| `KIT_REMOVE_TAG_FROM_SUBSCRIBER` | Remove Tag From Subscriber | Tool to remove a tag from a subscriber using their subscriber ID. Use when you need to untag a subscriber from a specific tag after confirming both tag and subscriber IDs exist. |
| `KIT_TAG_SUBSCRIBER` | Tag Subscriber | Tool to associate a subscriber with a specific tag by ID. Use after confirming tag and subscriber IDs when tagging a subscriber. |
| `KIT_TAG_SUBSCRIBER_BY_EMAIL` | Tag Subscriber by Email | Assigns a tag to an existing subscriber using their email address. The subscriber must already exist in your Kit account. Returns the subscriber's details including the timestamp when they were tagged. Use when you have a valid tag ID and the subscriber's email address. |
| `KIT_UNTAG_SUBSCRIBER_BY_EMAIL` | Untag Subscriber by Email | Tool to remove a tag from a subscriber using their email address. Use when you need to untag an existing subscriber after confirming both the tag ID and subscriber's email address are valid. |
| `KIT_UPDATE_ACCOUNT_COLORS` | Update Account Colors | Tool to update the list of colors for the account. Use when customizing your Kit account's color palette for broadcasts and templates. Maximum 5 hex color codes allowed per account. |
| `KIT_UPDATE_CUSTOM_FIELD` | Update Custom Field | Tool to update a custom field's label. Use after listing or retrieving custom fields and confirming the field ID to rename. |
| `KIT_UPDATE_SUBSCRIBER` | Update Subscriber | Tool to update an existing subscriber's information. Use when you need to modify a subscriber's first name, email address, or custom fields. Supports updating up to 140 custom fields at a time. |
| `KIT_UPDATE_TAG` | Update Tag | Tool to update a tag's name by ID. Use after retrieving tag ID and confirming the new name. |

## 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 Kit from Atomic Agent
With your account connected, ask Atomic Agent to work with Kit 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 Kit MCP Agent with another framework

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

## Related Toolkits

- [Reddit](https://composio.dev/toolkits/reddit) - Reddit is a social news platform with thriving user-driven communities (subreddits). It's the go-to place for discussion, content sharing, and viral marketing.
- [Facebook](https://composio.dev/toolkits/facebook) - Facebook is a social media and advertising platform for businesses and creators. It helps you connect, share, and manage content across your public Facebook Pages.
- [Linkedin](https://composio.dev/toolkits/linkedin) - LinkedIn is a professional networking platform for connecting, sharing content, and engaging with business opportunities. It's the go-to place for building your professional brand and unlocking new career connections.
- [Active campaign](https://composio.dev/toolkits/active_campaign) - ActiveCampaign is a marketing automation and CRM platform for managing email campaigns, sales pipelines, and customer segmentation. It helps businesses engage customers and drive growth through smart automation and targeted outreach.
- [ActiveTrail](https://composio.dev/toolkits/active_trail) - ActiveTrail is a user-friendly email marketing and automation platform. It helps you reach subscribers and automate campaigns with ease.
- [Adobe Marketing Agent MCP](https://composio.dev/toolkits/adobe_marketing_agent_mcp) - Adobe Marketing Agent MCP is Adobe's hosted MCP service that exposes marketing context, preferences, and agent capabilities. Use it to provide agents with campaign, audience, and analytics context via a managed integration.
- [Ahrefs](https://composio.dev/toolkits/ahrefs) - Ahrefs is an SEO and marketing platform for site audits, keyword research, and competitor insights. It helps you improve search rankings and drive organic traffic.
- [AimTell](https://composio.dev/toolkits/aimtell) - AimTell is a web push notification platform for managing websites, subscribers, campaigns, segments, and delivery analytics. Use it to send targeted browser notifications and measure engagement across your web push campaigns.
- [Amcards](https://composio.dev/toolkits/amcards) - AMCards lets you create and mail personalized greeting cards online. Build stronger customer relationships with easy, automated card campaigns.
- [Beamer](https://composio.dev/toolkits/beamer) - Beamer is a news and changelog platform for in-app announcements and feature updates. It helps companies boost user engagement by sharing news where users are most active.
- [Beehiiv](https://composio.dev/toolkits/beehiiv) - Beehiiv is a newsletter platform for creating and managing publications and subscribers. It helps grow audience engagement and monetize your mailing list.
- [Benchmark email](https://composio.dev/toolkits/benchmark_email) - Benchmark Email is a platform for creating, sending, and tracking email campaigns. It's built to help you engage audiences and analyze results—all in one place.
- [Bigmailer](https://composio.dev/toolkits/bigmailer) - BigMailer is an email marketing platform for managing multiple brands with white-labeling and automation. It helps teams streamline campaigns and simplify integration with Amazon SES.
- [Bitly](https://composio.dev/toolkits/bitly) - Bitly is a link management platform for shortening, customizing, sharing, and tracking links and QR codes. It helps teams create branded links and measure engagement across campaigns.
- [BlueFox Email](https://composio.dev/toolkits/bluefox_email) - BlueFox Email is an email API for managing contacts, subscriber lists, and sending transactional and triggered messages. Use it to reliably send transactional and triggered emails and manage subscribers at scale.
- [Brandfetch](https://composio.dev/toolkits/brandfetch) - Brandfetch is an API that delivers company logos, colors, and visual branding assets. It helps marketers and developers keep brand visuals consistent everywhere.
- [Braze](https://composio.dev/toolkits/braze) - Braze is a customer engagement platform for managing user data, messaging, campaigns, and analytics. Use it to deliver targeted, multi-channel messaging and analyze campaign performance.
- [Brevo](https://composio.dev/toolkits/brevo) - Brevo is an all-in-one email and SMS marketing platform for transactional messaging, automation, and CRM. It helps businesses engage customers and streamline communications through powerful campaign tools.
- [Buffer](https://composio.dev/toolkits/buffer) - Buffer is a social media management platform for planning, creating, scheduling, and publishing posts across connected channels. It helps teams keep content organized and publish consistently without jumping between social apps.
- [BulkPublish](https://composio.dev/toolkits/bulkpublish) - BulkPublish is a social media publishing platform for managing scheduled content across multiple channels. It helps teams plan campaigns, publish consistently, and track performance in one place.

## Frequently Asked Questions

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

With a standalone Kit MCP server, the agents and LLMs can only access a fixed set of Kit tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Kit 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 Kit tools.

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

Yes, absolutely. You can configure which Kit 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 Kit data and credentials are handled as safely as possible.

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