Connect Zep to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.
Ask your agent in plain language. Each of these maps to a real tool on the server.
Use the manage ontology tool in Zep
Use the delete episode tool in Zep
Use the get context tool in Zep
Use the clone graph tool in Zep
Use the search graph tool in Zep
Use the add fact tool in Zep
Supported Tools
manage_ontology
Manage Ontology
Configure or retrieve custom entity types and edge types for knowledge graphs. Setting an ontology defines domain-specific graph structure that improves precision and relevance of agent memory. Can also list all currently configured entity and edge types.
delete_episode
Delete Episode
Delete an episode from the knowledge graph by its UUID. Cascading delete removes edges created solely by this episode and nodes that are no longer referenced by any other episodes.
get_context
Get Context
Retrieve assembled context for a thread. Returns a context block combining semantic search, full-text search, and breadth-first search results from the user's knowledge graph, optimized for relevance to the current conversation. Supports custom context templates.
clone_graph
Clone Graph
Clone a user or group knowledge graph into a new standalone graph. Useful for creating copies of a user's knowledge for testing, migration, or sharing purposes.
search_graph
Search Graph
Search a user's or group's knowledge graph using hybrid semantic and full-text search. Can search across nodes (entities), edges (facts/relationships), or episodes (messages/data chunks). Supports multiple reranking strategies and filtering options.
add_fact
Add Fact
Add a structured fact triple to a user's or group's knowledge graph. A fact triple consists of a source entity, a relationship, and a target entity. Use this to ingest business data, user interactions, transactions, or any structured knowledge.
explore_graph
Explore Graph
Browse nodes, edges, and episodes in a user's knowledge graph. Retrieve all nodes for a user, get edges connected to a specific node, or get episodes that mention a node. Useful for understanding the structure and contents of a graph.
get_user_threads
Get User Threads
Retrieve all conversation threads belonging to a specific user. Returns the complete list of threads associated with the user, useful for reviewing conversation history or managing user data.
manage_thread
Manage Thread
Create, retrieve, list, or delete conversation threads. Retrieving a thread includes its message history and owner information. Threads contain chat messages that feed into the user's knowledge graph.
add_messages
Add Messages
Add one or more chat messages to a thread. Messages are stored in thread history and automatically processed into the user's knowledge graph. Supports batch mode for concurrent processing of large message sets.
manage_user
Manage User
Create, retrieve, update, or delete a user in Zep. Users represent application end-users and are the foundation for user-specific knowledge graphs and conversation threads.
set_user_summary_instructions
Set User Summary Instructions
Configure custom instructions for how Zep generates summaries of user data in their knowledge graph. Use this to tailor summaries to emphasize information most relevant to your application.
get_project
Get Project
Identify the Zep project authorized by the current API key, including its name, UUID, description, and default time zone.
add_graph_data
Add Graph Data
Ingest business data, documents, or other text into a user or standalone knowledge graph. Zep returns an episode that is processed asynchronously into entities and facts.
list_users
List Users
List or search users in the connected Zep project to discover user IDs for managing threads, adding data, and searching user graphs.
Enable Zep in Metorial. In your Metorial portal, enable the Zep MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
Sign in. Select Add and sign in to load Zep tools.
Enable Zep in Metorial. In your Metorial portal, enable the Zep MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom MCP server. On ChatGPT web, open Plugins, select +, then Add custom MCP server.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>), choose OAuth and accept the risk notice.
Create and install the plugin. Select Create as a plugin, install it and sign in to load Zep tools.
Enable Zep in Metorial. In your Metorial portal, enable the Zep MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add Metorial to your MCP config. Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.
Sign in. Open Customize in the sidebar, find Metorial and sign in to load Zep tools.
{
"mcpServers":{
"metorial":{
"url":"<your-magic-mcp-url>"
}
}
}
Enable Zep in Metorial. In your Metorial portal, enable the Zep MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server over HTTP. Add --scope user to use it in every project.
Sign in. Run /mcp, select Metorial and sign in to load Zep tools.
claude mcp add --transport http metorial <your-magic-mcp-url>
Enable Zep in Metorial. In your Metorial portal, enable the Zep MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server and sign in. The Codex CLI, IDE extension and ChatGPT desktop app share this config.
Check the connection. Type /mcp in Codex to see Metorial and its Zep tools.
codex mcp add metorial --url <your-magic-mcp-url>
codex mcp login metorial
Run Zep through the Metorial gateway
One governed layer for every app your agents reach, not a separate connector per tool.
Give Zep and every other app to your whole team through one MCP gateway, behind your SSO.
Scope which teams and agents can use Zep tools with role-based access control, and trace every call.
Prefer to run it yourself? Metorial is open source and self-hostable.
Manage persistent memory and knowledge graphs for AI agents. Create and manage users, conversation threads, and chat message history. Build and query temporal knowledge graphs from chat data, business data, and documents. Add structured and unstructured data to user-specific or shared group graphs. Retrieve assembled context using semantic, full-text, and graph-based search with configurable reranking and filtering. Search across graph nodes, edges, and episodes. Configure custom context templates, user summary instructions, and entity types.
Frequently asked questions
Common questions about connecting Zep to AI agents with Metorial.
How many tools does the Zep MCP server have?
The Zep MCP server exposes 15 tools, including Manage Ontology, Delete Episode, Get Context. Each one is governed and traced through Metorial.
Does the Zep MCP server support triggers?
Zep exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
Which AI clients can use the Zep MCP server?
Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Zep MCP server through the same Metorial URL.
How do I give only some teams access to Zep?
Use role-based access control to decide which teams, users, and agents can use Zep and which of its tools they can call.
Can I self-host the Zep MCP server?
Yes. Metorial is open source, so you can run the Zep MCP server yourself or use the hosted gateway.
Connect Zep to production AI agents
See how Metorial gives your team governed access to Zep, with tracing and security controls built in.