# How to integrate Zep MCP with Atomic Agent

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

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

## Also integrate Zep with

- [ChatGPT](https://composio.dev/toolkits/zep/framework/chatgpt)
- [Antigravity](https://composio.dev/toolkits/zep/framework/antigravity)
- [OpenAI Agents SDK](https://composio.dev/toolkits/zep/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/zep/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/zep/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/zep/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/zep/framework/codex)
- [Grok Build](https://composio.dev/toolkits/zep/framework/grok-build)
- [Cursor](https://composio.dev/toolkits/zep/framework/cursor)
- [VS Code](https://composio.dev/toolkits/zep/framework/vscode)
- [OpenCode](https://composio.dev/toolkits/zep/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/zep/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/zep/framework/hermes-agent)
- [Google ADK](https://composio.dev/toolkits/zep/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/zep/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/zep/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/zep/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/zep/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/zep/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/zep/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/zep/framework/autogen)

## TL;DR

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

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

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

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `ZEP_ADD_FACT_TRIPLE` | Add Fact Triple | Tool to add a manually specified fact triple (subject-predicate-object) to the Zep knowledge graph. Use when you need to add explicit relationships between entities. Returns a task_id to monitor processing status. |
| `ZEP_ADD_SESSION_MEMORY` | Add Session Memory | Tool to add memory messages to a specified Zep session. Use when you need to store conversation history or context in a session. |
| `ZEP_ADD_THREAD_MESSAGES` | Add Thread Messages | Tool to add chat messages to a thread in Zep and ingest them into the user knowledge graph. Use when you need to add conversation history to a thread - for best results, add messages on every chat turn in the order they were created. |
| `ZEP_CLONE_GRAPH` | Clone Graph | Tool to clone a user or group graph with new identifiers in Zep. Use when you need to create test copies of user data, migrate user graphs to new identifiers, or set up template graphs for new users. This is an asynchronous operation that returns a task_id for tracking progress. |
| `ZEP_CREATE_GRAPH` | Create Graph | Tool to create a new graph by adding data to Zep. Use when you need to add text, message, or JSON data to a user's graph or a specific graph. The data is processed and an episode node is created in the graph. |
| `ZEP_CREATE_GROUP` | Create Group | Tool to create a new group in Zep for multi-user graph management. Use when you need to create a namespace for shared context across multiple users. |
| `ZEP_CREATE_SESSION` | Create Session | Tool to create a new session in Zep for storing conversation memory. Use when you need to establish a new conversation context linked to an existing user. The user must be created first before creating a session. |
| `ZEP_CREATE_THREAD` | Create Thread | Tool to create a new thread in Zep for a specific user. Use when you need to start a new conversation thread. The user must be created first before creating a thread. Zep automatically warms the cache for that user's graph data in the background to improve query latency. |
| `ZEP_CREATE_USER` | Create User | Tool to create a new user in Zep with properties like user_id, email, and metadata. Use when you need to add a new user to the system. It is recommended to provide at least first_name and ideally last_name for better user association. |
| `ZEP_DELETE_GRAPH` | Delete Graph | Tool to delete a graph from Zep. Use when you need to permanently remove a graph and all associated data. |
| `ZEP_DELETE_GROUP` | Delete Group | Tool to delete a group from Zep. Use when you need to permanently remove a group and its associated data. |
| `ZEP_DELETE_SESSION_MEMORY` | Delete Session Memory | Tool to delete a session and its memory from Zep. Use when you need to permanently remove all memory data associated with a specific session. |
| `ZEP_DELETE_THREAD` | Delete Thread | Tool to delete a thread and its messages from Zep. Note that deleting a thread removes the thread and its messages from the thread history but does not delete associated data in the user's knowledge graph. |
| `ZEP_DELETE_USER` | Delete User | Tool to delete a user and all associated threads and artifacts from Zep. Use when you need to permanently remove a user and handle Right To Be Forgotten requests. Deleting a user will delete all threads and thread artifacts associated with that user. |
| `ZEP_GET_EDGE_BY_UUID` | Get Edge by UUID | Tool to retrieve a specific edge by its UUID from the Zep knowledge graph. Use when you need to fetch detailed information about a relationship between nodes, including the semantic fact, connected nodes, and temporal metadata. |
| `ZEP_GET_GRAPH_BY_ID` | Get Graph by ID | Tool to retrieve a graph by its unique identifier from Zep. Use when you need to fetch details about a specific graph including its name, description, and timestamps. |
| `ZEP_GET_GROUP_BY_ID` | Get Group by ID | Tool to retrieve a group by ID from Zep. Use when you need to fetch detailed information about a specific group including its configuration and metadata. |
| `ZEP_GET_NODE_ENTITY_EDGES` | Get Node Entity Edges | Tool to retrieve all entity edges for a specific node in the Zep knowledge graph. Use when you need to fetch relationship information, facts, and connections for a given node UUID. |
| `ZEP_GET_PROJECT_INFO` | Get Project Info | Tool to retrieve project information based on the provided API key. Use when you need to fetch project details including UUID, name, description, and creation timestamp. |
| `ZEP_GET_SESSION_BY_ID` | Get Session by ID | Tool to retrieve a session by its unique identifier from Zep. Use when you need to fetch details about a specific session including user association, timestamps, classifications, and metadata. |
| `ZEP_GET_SESSION_MEMORY` | Get Session Memory | Tool to retrieve memory for a given session including relevant facts and entities. Use when you need contextual information and historical data from a session. |
| `ZEP_GET_SESSION_MESSAGE_BY_UUID` | Get Session Message by UUID | Tool to retrieve a specific message by UUID from a Zep session. Use when you need to fetch a single message's details by its unique identifier from a particular session. |
| `ZEP_GET_SESSION_MESSAGES` | Get Session Messages | Tool to retrieve messages for a given session from Zep. Use when you need to fetch the message history for a specific session with optional pagination support. |
| `ZEP_GET_TASK_STATUS` | Get Task Status | Tool to check the status of asynchronous operations in Zep. Use when monitoring batch adds, clone operations, or fact triple additions. Returns comprehensive task information including status, progress, timestamps, and error details if applicable. |
| `ZEP_GET_THREAD_MESSAGES` | Get Thread Messages | Tool to retrieve conversation history for a specific thread from Zep. Use when you need to fetch the chat message history with optional pagination support via limit, cursor, or lastn parameters. |
| `ZEP_GET_THREAD_USER_CONTEXT` | Get Thread User Context | Tool to retrieve the most relevant user context from the user graph based on thread messages. Use when you need to get context including memory from past threads that is most relevant to the current thread. |
| `ZEP_GET_USER_BY_ID` | Get User by ID | Tool to retrieve a user by their user ID from Zep. Use when you need to fetch detailed information about a specific user including their profile, metadata, and configuration settings. |
| `ZEP_GET_USER_NODE` | Get User Node | Tool to retrieve a user's graph node and summary from Zep. Use when you need to access the user summary generated from instructions, build custom context blocks, or retrieve facts and information associated with a specific user. |
| `ZEP_GET_USER_NODES` | Get User Nodes | Tool to retrieve all nodes for a specific user from their graph in Zep. Use when you need to fetch entity information, preferences, and knowledge graph data for a user. Supports pagination via limit and uuid_cursor parameters. |
| `ZEP_GET_USER_SESSIONS` | Get User Sessions | Tool to retrieve all sessions for a user from Zep. Use when you need to fetch session history for a specific user ID. Returns an array of session objects with metadata, classifications, and timestamps. |
| `ZEP_GET_USER_THREADS` | Get User Threads | Tool to retrieve all threads for a specific user from Zep. Use when you need to fetch thread history for a specific user ID. Returns an array of thread objects with identifiers and timestamps. |
| `ZEP_GRAPH_SEARCH` | Graph Search | Tool to perform hybrid graph search combining semantic similarity and BM25 full-text search across the Zep knowledge graph. Use when you need to search for entities, relationships, or episodes within a user, group, or specific graph. Supports various reranking methods and filtering options. |
| `ZEP_LIST_GRAPHS` | List Graphs | Tool to retrieve all graphs from Zep with pagination support. Use when you need to fetch a list of graphs with optional pagination via page_number and page_size parameters. |
| `ZEP_LIST_GROUPS_ORDERED` | List Groups Ordered | Tool to retrieve all groups from Zep with pagination support. Use when you need to fetch a list of groups with optional pagination via pageNumber and pageSize parameters. |
| `ZEP_LIST_SESSIONS_ORDERED` | List Sessions Ordered | Tool to retrieve all sessions from Zep with pagination and ordering support. Use when you need to fetch a list of sessions with optional pagination via page_number and page_size parameters. |
| `ZEP_LIST_THREADS` | List Threads | Tool to retrieve all threads from Zep with pagination support. Use when you need to fetch a list of threads with optional pagination and sorting via page_number, page_size, order_by, and asc parameters. |
| `ZEP_LIST_USERS_ORDERED` | List Users Ordered | Tool to retrieve all users from Zep with pagination support. Use when you need to fetch a list of users with optional pagination via pageNumber and pageSize parameters. |
| `ZEP_LIST_ALL_THREADS` | List All Threads | Tool to list all threads with pagination and ordering support. Use when you need to retrieve threads with optional pagination (page_number, page_size) and ordering (order_by, asc) parameters. |
| `ZEP_UPDATE_GRAPH` | Update Graph | Tool to update graph information in Zep including name and description. Use when you need to modify graph properties after creation. |
| `ZEP_UPDATE_GROUP` | Update Group | Tool to update group information in Zep including name, description, and fact rating instructions. Use when you need to modify an existing group's properties. |
| `ZEP_UPDATE_MESSAGE` | Update Message | Tool to update a message in a Zep thread. Use when you need to modify message content, metadata, role, or other properties of an existing message. Particularly useful for adding or modifying metadata after a message has been created. |
| `ZEP_UPDATE_SESSION_METADATA` | Update Session Metadata | Tool to update session metadata in Zep. Use when you need to modify or add metadata to an existing session. Metadata is merged, so existing keys are preserved unless explicitly overwritten. |
| `ZEP_UPDATE_USER` | Update User | Tool to update an existing user's information in Zep including email, metadata, and ontology settings. Use when you need to modify user properties after creation. |

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

- [ChatGPT](https://composio.dev/toolkits/zep/framework/chatgpt)
- [Antigravity](https://composio.dev/toolkits/zep/framework/antigravity)
- [OpenAI Agents SDK](https://composio.dev/toolkits/zep/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/zep/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/zep/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/zep/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/zep/framework/codex)
- [Grok Build](https://composio.dev/toolkits/zep/framework/grok-build)
- [Cursor](https://composio.dev/toolkits/zep/framework/cursor)
- [VS Code](https://composio.dev/toolkits/zep/framework/vscode)
- [OpenCode](https://composio.dev/toolkits/zep/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/zep/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/zep/framework/hermes-agent)
- [Google ADK](https://composio.dev/toolkits/zep/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/zep/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/zep/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/zep/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/zep/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/zep/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/zep/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/zep/framework/autogen)

## 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.
- [Composio](https://composio.dev/toolkits/composio) - Composio is an integration platform that connects AI agents with hundreds of business tools. It streamlines authentication and lets you trigger actions across services—no custom code needed.
- [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.
- [Composio search](https://composio.dev/toolkits/composio_search) - Composio search is a unified web search toolkit spanning travel, e-commerce, news, financial markets, images, and more. It lets you and your apps tap into up-to-date web data from a single, easy-to-integrate service.
- [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.
- [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.
- [Perplexityai](https://composio.dev/toolkits/perplexityai) - Perplexityai delivers natural, conversational AI models for generating human-like text. Instantly get context-aware, high-quality responses for chat, search, or complex workflows.
- [Browser tool](https://composio.dev/toolkits/browser_tool) - Browser tool is a virtual browser integration that lets AI agents interact with the web programmatically. It enables automated browsing, scraping, and action-taking from any AI workflow.
- [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.
- [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.
- [Ai ml api](https://composio.dev/toolkits/ai_ml_api) - Ai ml api is a suite of AI/ML models for natural language and image tasks. It provides fast, scalable access to advanced AI capabilities for your apps and workflows.
- [AirOps MCP](https://composio.dev/toolkits/airops_mcp) - AirOps MCP is AirOps' managed content platform exposing brand context, knowledge bases, and workflows. Use it to give agents brand-aware content, automate content workflows, and track Brand Kit edits.
- [Aivoov](https://composio.dev/toolkits/aivoov) - Aivoov is an AI-powered text-to-speech platform offering 1,000+ voices in over 150 languages. Instantly turn written content into natural, human-like audio for any application.
- [All images ai](https://composio.dev/toolkits/all_images_ai) - All-Images.ai is an AI-powered image generation and management platform. It helps you create, search, and organize images effortlessly with advanced AI capabilities.
- [AltTextLab](https://composio.dev/toolkits/alt_text_lab) - AltTextLab is an AI service that generates accessible, SEO-aware alt text for images. It helps teams make image content easier to understand, index, and publish.

## Frequently Asked Questions

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

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

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

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

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