# How to integrate Modem MCP with Atomic Agent

```json
{
  "title": "How to integrate Modem MCP with Atomic Agent",
  "toolkit": "Modem MCP",
  "toolkit_slug": "modem_mcp",
  "framework": "Atomic Agent",
  "framework_slug": "atomic-agent",
  "url": "https://composio.dev/toolkits/modem_mcp/framework/atomic-agent",
  "markdown_url": "https://composio.dev/toolkits/modem_mcp/framework/atomic-agent.md",
  "updated_at": "2026-09-24T15:54:58.576Z"
}
```

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

## Also integrate Modem MCP with

- [ChatGPT](https://composio.dev/toolkits/modem_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/modem_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/modem_mcp/framework/hermes-agent)

## TL;DR

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

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

The Modem MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Modem account. It provides structured and secure access so your agent can perform Modem operations on your behalf.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `MODEM_MCP_ADD_PEOPLE_TO_COMPANY` | Add people to company | Associate one or more people with a company. Before your first call, read the skill: `modem_skills({ name: "write-tools" })`. |
| `MODEM_MCP_BULK_UPDATE_TOPICS` | Bulk update topics | Update multiple topics at once (e.g. archive or re-prioritize a set of topics). Before your first call, read the skill: `modem_skills({ name: "write-tools" })`. |
| `MODEM_MCP_CREATE_COMPANIES` | Create companies | Create one or more companies in the organization. Before your first call, read the skill: `modem_skills({ name: "write-tools" })`. |
| `MODEM_MCP_MERGE_COMPANIES` | Merge companies | Merge one or more source companies into a target company. Before your first call, read the skill: `modem_skills({ name: "write-tools" })`. |
| `MODEM_MCP_MERGE_PEOPLE` | Merge people | Merge one or more source people into a target person. Before your first call, read the skill: `modem_skills({ name: "write-tools" })`. |
| `MODEM_MCP_MERGE_TOPICS` | Merge topics | Merge one or more source topics into a target topic. Before your first call, read the skill: `modem_skills({ name: "write-tools" })`. |
| `MODEM_MCP_MODEM_AGENT_CANCEL_RUN` | Modem agent cancel run | Cooperatively cancel one exact durable Modem agent run. Completed external actions are not reversed. |
| `MODEM_MCP_MODEM_AGENT_GET_RUN` | Modem agent get run | Get the current status and terminal result of a durable Modem agent run. |
| `MODEM_MCP_MODEM_AGENT_INVOKE` | Modem agent invoke | Start a durable Modem agent conversation. Returns immediately with conversation_id and run_id; poll modem_agent_get_run for the result. Before your first call, read the skill: `modem_skills({ name: "agent-runs" })`. |
| `MODEM_MCP_MODEM_AGENT_SEND_MESSAGE` | Modem agent send message | Start a durable follow-up turn in an existing MCP conversation. |
| `MODEM_MCP_MODEM_SKILLS` | Modem skills | Skills that teach you how to use THIS Modem MCP server's tools. Call before your first `search_modem`, `modem_agent_invoke`, or write-tool call, or when unsure which Modem tool to use. Pass `name` for the full skill, one of `search-modem`, `agent-runs`, `write-tools`. Omit `name` to list them with descriptions. This is not the Skills page in dashboard settings. |
| `MODEM_MCP_SEARCH_MODEM` | Search modem | Answer a natural-language question about your Modem data and get matching rows back. Read-only. It does not run the full Modem agent or spend agent credits. Send a `question`, or send only the `cursor` from a previous result to fetch its next page. Topic `priority` in the rows is an integer: very_low (-100), low (-50), default (0), high (50), very_high (100). Before your first call, read the skill: `modem_skills({ name: "search-modem" })`. |
| `MODEM_MCP_UPDATE_COMPANIES` | Update companies | Update fields on one or more existing companies. Before your first call, read the skill: `modem_skills({ name: "write-tools" })`. |
| `MODEM_MCP_UPDATE_PEOPLE` | Update people | Update fields on one or more existing people. Before your first call, read the skill: `modem_skills({ name: "write-tools" })`. |
| `MODEM_MCP_UPDATE_TOPIC` | Update topic | Update a single topic (priority, lifecycle state, archived status, issue type, or keywords). Before your first call, read the skill: `modem_skills({ name: "write-tools" })`. |

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

- [ChatGPT](https://composio.dev/toolkits/modem_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/modem_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/modem_mcp/framework/hermes-agent)

## Related Toolkits

- [Google Sheets](https://composio.dev/toolkits/googlesheets) - Google Sheets is a cloud-based spreadsheet tool for real-time collaboration and data analysis. It lets teams work together from anywhere, updating information instantly.
- [Notion](https://composio.dev/toolkits/notion) - Notion is a collaborative workspace for notes, docs, wikis, and tasks. It streamlines team knowledge, project tracking, and workflow customization in one place.
- [Airtable](https://composio.dev/toolkits/airtable) - Airtable combines the flexibility of spreadsheets with the power of a database for easy project and data management. Teams use Airtable to organize, track, and collaborate with custom views and automations.
- [Asana](https://composio.dev/toolkits/asana) - Asana is a collaborative work management platform for teams to organize and track projects. It streamlines teamwork, boosts productivity, and keeps everyone aligned on goals.
- [Google Tasks](https://composio.dev/toolkits/googletasks) - Google Tasks is a to-do list and task management tool integrated into Gmail and Google Calendar. It helps you organize, track, and complete tasks across your Google ecosystem.
- [Linear](https://composio.dev/toolkits/linear) - Linear is a modern issue tracking and project planning tool for fast-moving teams. It helps streamline workflows, organize projects, and boost productivity.
- [Firecrawl](https://composio.dev/toolkits/firecrawl) - Firecrawl automates large-scale web crawling and data extraction. It helps organizations efficiently gather, index, and analyze content from online sources.
- [Tavily](https://composio.dev/toolkits/tavily) - Tavily offers powerful search and data retrieval from documents, databases, and the web. It helps teams locate and filter information instantly, saving hours on research.
- [Jira](https://composio.dev/toolkits/jira) - Jira is Atlassian’s platform for bug tracking, issue tracking, and agile project management. It helps teams organize work, prioritize tasks, and deliver projects efficiently.
- [Exa](https://composio.dev/toolkits/exa) - Exa is a data extraction and search platform for gathering and analyzing information from websites, APIs, or databases. It helps teams quickly surface insights and automate data-driven workflows.
- [Serpapi](https://composio.dev/toolkits/serpapi) - SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.
- [Clickup](https://composio.dev/toolkits/clickup) - ClickUp is an all-in-one productivity platform for managing tasks, docs, goals, and team collaboration. It streamlines project workflows so teams can work smarter and stay organized in one place.
- [Monday](https://composio.dev/toolkits/monday) - Monday.com is a customizable work management platform for project planning and collaboration. It helps teams organize tasks, automate workflows, and track progress in real time.
- [Peopledatalabs](https://composio.dev/toolkits/peopledatalabs) - Peopledatalabs delivers B2B data enrichment and identity resolution APIs. Supercharge your apps with accurate, up-to-date business and contact data.
- [Snowflake](https://composio.dev/toolkits/snowflake) - Snowflake is a cloud data warehouse built for elastic scaling, secure data sharing, and fast SQL analytics across major clouds.
- [Posthog](https://composio.dev/toolkits/posthog) - PostHog is an open-source analytics platform for tracking user interactions and product metrics. It helps teams refine features, analyze funnels, and reduce churn with actionable insights.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [Aeroleads](https://composio.dev/toolkits/aeroleads) - Aeroleads is a B2B lead generation platform for finding business emails and phone numbers. Grow your sales pipeline faster with powerful prospecting tools.
- [Agiled](https://composio.dev/toolkits/agiled) - Agiled is an all-in-one business management platform for CRM, projects, and finance. It helps you streamline workflows, consolidate client data, and manage business processes in one place.
- [Ahrefs MCP](https://composio.dev/toolkits/ahrefs_mcp) - Ahrefs MCP is Ahrefs' hosted MCP server for SEO data and insights. Use it to access backlinks, organic metrics, keyword research, and competitor analysis.

## Frequently Asked Questions

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

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

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

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

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