Zep MCP server

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.

What you can do with the Zep MCP server

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.

Connect Zep to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. 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.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Zep tools.

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.

More integrations teams use with Zep

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs.

Technical notes for Zep

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.

  1. 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.
  2. Zep exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Zep MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Zep and which of its tools they can call.
  5. 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.