Zep MCP server
205 operations3 webhooks
Context engineering and agent memory with Zep: create users and threads, add chat messages and read the assembled context, build and search knowledge graphs (episodes, nodes, edges, hyperedges, observations, ontology), manage user groups, context templates, batch ingestion and project settings, and work with Agent Skills and traces (205 operations).
Try Zep with your agent
Connect Zep, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Zep on my account, then run one read-only example and show me the result.
Zep tools and triggers
Tools are what your agent can do in Zep through Corsair's MCP server. Triggers are the Zep events a routine can start from.
Agents
- CreateWrite
Create Agent. (POST /agents)
agents.create
- Declare Breaking ChangeDestructive
Declare a breaking Agent deployment change. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.declareBreakingChange
- DeleteDestructive
Delete Agent. Cannot be undone. (DELETE /agents/{agent_uuid})
agents.delete
- GetRead-only
Get Agent. (GET /agents/{agent_uuid})
agents.get
- Get ContextRead-only
Get Agent context. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.getContext
- Learning.GetRead-only
Get Agent Learning State. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.learning.get
- Learning.List RunsRead-only
List Agent Skill Compilation Outcomes. List durable learning-run outcomes for an Agent. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.learning.listRuns
- ListRead-only
List Agents. (POST /agents/list)
agents.list
- Literal Policy.GetRead-only
Get Agent Literal Policy. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.literalPolicy.get
- Literal Policy.UpdateWrite
Update Agent Literal Policy. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.literalPolicy.update
- Plan SplitRead-only
Plan an Agent split. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.planSplit
- Skill Candidates.EvaluateWrite
Record Agent Skill Candidate Evaluation.
agents.skillCandidates.evaluate
- Skill Candidates.GetRead-only
Get Agent Skill Candidate Review. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skillCandidates.get
- Skill Candidates.ListRead-only
List Agent Skill Candidate Reviews. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skillCandidates.list
- Skill Publications.LookupRead-only
Look up automatic Skill publication lineage. Find a destination Skill by its source Agent, Skill, and version. The endpoint returns 404 until an automatic publication is ready or after it is invalidated. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skillPublications.lookup
- Skills.ApproveWrite
Approve Agent Skill. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.approve
- Skills.CreateWrite
Create Agent Skill. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.create
- Skills.Create VersionWrite
Create Agent Skill Version. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.createVersion
- Skills.Evaluations.CreateWrite
Record Agent Skill Evaluation. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.evaluations.create
- Skills.Evidence.ListRead-only
List Agent Skill Evidence. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.evidence.list
- Skills.GetRead-only
Get Agent Skill. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.get
- Skills.Get PublicationRead-only
Get automatic Skill publication lineage. Get the publication that created a destination Skill. Use its source version and policy identity to verify a copied Skill. The endpoint returns 404 for unpublished and invalidated Skills. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.getPublication
- Skills.Import PackageWrite
Import an Agent Skill. Submit a portable Skill archive. The completed Task returns {"result":{"skill_uuid":"<uuid>"}}. Approve that Skill before retrieval. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.importPackage
- Skills.ListRead-only
List Agent Skills. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.list
- Skills.Relations.ListRead-only
List Agent Skill Relationships. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.relations.list
- Skills.RetireDestructive
Retire Agent Skill. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.retire
- Skills.SearchRead-only
Search Agent Skills. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.search
- Skills.Uses.Add OutcomeWrite
Record Agent Skill Feedback. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.uses.addOutcome
- Skills.Uses.CreateWrite
Create Agent Skill Use. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.uses.create
- Skills.Versions.CompareRead-only
Compare Agent Skill Versions. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.versions.compare
- Skills.Versions.Exports.CreateWrite
Export an Agent Skill version. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.versions.exports.create
- Skills.Versions.Exports.GetRead-only
Download an Agent Skill export. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.versions.exports.get
- Skills.Versions.GetRead-only
Get Agent Skill Version. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.versions.get
- Skills.Versions.ListRead-only
List Agent Skill Versions. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.versions.list
- Skills.Versions.RestoreWrite
Restore Agent Skill Version. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.skills.versions.restore
- Task Families.ListRead-only
List Agent Task Families. (POST /agents/{agent_uuid}/task-families/list)
agents.taskFamilies.list
- Task Families.RenameWrite
Rename Agent Task Family. (POST /agents/{agent_uuid}/task-families/rename)
agents.taskFamilies.rename
- Trace Imports.CreateWrite
Create a trace import. Create a scheduled import or queue a one-time import. A scheduled import returns HTTP 201 with import. A one-time import returns HTTP 202 with import, run, and task. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.traceImports.create
- Trace Imports.DeleteDestructive
Delete a trace import. Set traces=delete to queue asynchronous Trace deletion. The default keeps Traces. Example query: ?traces=delete. Agent Skills is in closed release: accounts without access get 403 permission_denied. Cannot be undone.
agents.traceImports.delete
- Trace Imports.GetRead-only
Get a trace import. Read one trace import. The response does not include its source cursor. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.traceImports.get
- Trace Imports.ListRead-only
List trace imports. List trace imports that belong to this Agent. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.traceImports.list
- Trace Imports.PauseWrite
Pause a trace import. Pause a scheduled trace import. One-time imports cannot be paused. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.traceImports.pause
- Trace Imports.ResumeWrite
Resume a trace import. Resume a scheduled trace import. Zep verifies credentials first when they caused the pause. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.traceImports.resume
- Trace Imports.Runs.CreateWrite
Create a trace import run. Create a pending run and its Task. This operation does not start the run. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.traceImports.runs.create
- Trace Imports.Runs.GetRead-only
Get a trace import run. Read one run that belongs to this trace import. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.traceImports.runs.get
- Trace Imports.Runs.Items.ListRead-only
List trace import run items. List trace results for this run. Run items do not include source payload. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.traceImports.runs.items.list
- Trace Imports.Runs.ListRead-only
List trace import runs. List runs that belong to this trace import. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.traceImports.runs.list
- Trace Imports.UpdateWrite
Update a trace import. Use expected_revision to reject a stale update. Example request: {"expected_revision":1,"name":"Updated support traces"}. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.traceImports.update
- Traces.AbandonWrite
Abandon Agent Trace. (POST /agents/{agent_uuid}/traces/{trace_uuid}/abandon)
agents.traces.abandon
- Traces.Append EventWrite
Append Agent Trace Event. A tool call and its result can share a tool_call_id. For example, append {"event_type":"tool_call","tool_call_id":"call_8f2b","content":"Search orders","context":{"tools":[{"name":"search_orders"}]}} and {"event_type":"tool_result","tool_call_id":"call_8f2b","content":"Order…
agents.traces.appendEvent
- Traces.CloseWrite
Close Agent Trace. (POST /agents/{agent_uuid}/traces/{trace_uuid}/close)
agents.traces.close
- Traces.Correct Task FamilyWrite
Correct Agent Trace Task Family. (POST /agents/{agent_uuid}/traces/{trace_uuid}/correct-task-family)
agents.traces.correctTaskFamily
- Traces.CreateWrite
Create Agent Trace. (POST /agents/{agent_uuid}/traces)
agents.traces.create
- Traces.DeleteDestructive
Delete Agent Trace. Cannot be undone. (DELETE /agents/{agent_uuid}/traces/{trace_uuid})
agents.traces.delete
- Traces.Delete EventDestructive
Delete Agent Trace Event. Cannot be undone.
agents.traces.deleteEvent
- Traces.GetRead-only
Get Agent Trace. (GET /agents/{agent_uuid}/traces/{trace_uuid})
agents.traces.get
- Traces.Get SummaryRead-only
Get Current Agent Trace Summary. (GET /agents/{agent_uuid}/traces/{trace_uuid}/summary)
agents.traces.getSummary
- Traces.ListRead-only
List Agent Traces. (POST /agents/{agent_uuid}/traces/list)
agents.traces.list
- Traces.List EventsRead-only
List Agent Trace Events. (GET /agents/{agent_uuid}/traces/{trace_uuid}/events)
agents.traces.listEvents
- Traces.List Summary VersionsRead-only
List Agent Trace Summary Versions. (GET /agents/{agent_uuid}/traces/{trace_uuid}/summary/versions)
agents.traces.listSummaryVersions
- Traces.ReopenWrite
Reopen Agent Trace. (POST /agents/{agent_uuid}/traces/{trace_uuid}/reopen)
agents.traces.reopen
- Traces.UpdateWrite
Update Agent Trace. (PATCH /agents/{agent_uuid}/traces/{trace_uuid})
agents.traces.update
- UpdateWrite
Update Agent. (PATCH /agents/{agent_uuid})
agents.update
- Verifiers.GetRead-only
Get Agent Verifier. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.verifiers.get
- Verifiers.Invalidate EvidenceDestructive
Invalidate Agent Verifier Evidence. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.verifiers.invalidateEvidence
- Verifiers.ListRead-only
List Agent Verifiers. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.verifiers.list
- Verifiers.RevokeDestructive
Revoke Agent Verifier. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.verifiers.revoke
- Verifiers.UpdateWrite
Update Agent Verifier. Agent Skills is in closed release: accounts without access get 403 permission_denied.
agents.verifiers.update
Graphs
- CloneWrite
Clone graph. (POST /graphs/{graph_uuid}/clone)
graphs.clone
- CreateWrite
Create graph. (POST /graphs)
graphs.create
- DeleteDestructive
Delete graph. Cannot be undone. (DELETE /graphs/{graph_uuid})
graphs.delete
- Document Summaries.ListRead-only
List document summaries. Lists the document summaries of a graph and returns one page of results. The default page_size is 50, and the maximum page_size is 100. You can sort by uuid or created_at. The default sort is uuid in descending order.
graphs.documentSummaries.list
- Edges.AddWrite
Add edges. Adds 1 to 100 edges. A name creates a node when deduplicate is false. When deduplicate is true, Zep matches a node by name first.
graphs.edges.add
- Edges.DeleteDestructive
Delete edge. Cannot be undone. (DELETE /graphs/{graph_uuid}/edges/{edge_uuid})
graphs.edges.delete
- Edges.GetRead-only
Get edge. (GET /graphs/{graph_uuid}/edges/{edge_uuid})
graphs.edges.get
- Edges.ListRead-only
List edges. Lists the edges of a graph and returns one page of results. The default page_size is 50, and the maximum page_size is 100. You can sort by uuid, created_at, or valid_at. The default sort is uuid in descending order. An edge with no valid_at sorts as if its valid_at is 1970-01-01T00:00:00Z.
graphs.edges.list
- Edges.UpdateWrite
Update edge. Updates one edge. When the edge belongs to a hyperedge, changing fact rewrites it on every member of that hyperedge in one all-or-nothing write, because the members share it. Attribute-only edits touch this edge alone.
graphs.edges.update
- Episodes.AddWrite
Add episode. (POST /graphs/{graph_uuid}/episodes)
graphs.episodes.add
- Episodes.DeleteDestructive
Delete episode. Cannot be undone. (DELETE /graphs/{graph_uuid}/episodes/{episode_uuid})
graphs.episodes.delete
- Episodes.GetRead-only
Get episode. (GET /graphs/{graph_uuid}/episodes/{episode_uuid})
graphs.episodes.get
- Episodes.Get Debug LogsRead-only
Get episode debug logs. Returns the ingestion workflow log of an episode. The log exists only when debug logging was enabled for the project when the episode was ingested (see debug_log.enable).
graphs.episodes.getDebugLogs
- Episodes.ListRead-only
List episodes. Lists the episodes of a graph. filters.mentioned_node_uuids restricts the results to episodes that mention any of the listed node UUIDs. The list can also contain episode UUIDs: an episode UUID matches that episode, so one request can return a known set of episodes. At most 256 entries.
graphs.episodes.list
- Episodes.List Ingestion TracesRead-only
List episode ingestion traces. Returns the ingestion traces of an episode, oldest first. Each trace records the input and the output of one ingestion step, with an explanation on each output entry that has one.
graphs.episodes.listIngestionTraces
- Episodes.UpdateWrite
Update episode. (PATCH /graphs/{graph_uuid}/episodes/{episode_uuid})
graphs.episodes.update
- GetRead-only
Get graph. (GET /graphs/{graph_uuid})
graphs.get
- Get Content PolicyRead-only
Get graph content policy. Experimental: the request, the response, and the behavior of this operation can change. Returns the content policy the graph bound at creation. The policy of a graph does not change after creation. A graph without a content policy returns revision 0 with no categories and no rules.
graphs.getContentPolicy
- Get ContextRead-only
Assemble graph context. (POST /graphs/{graph_uuid}/context)
graphs.getContext
- Get Inclusion RulesRead-only
Get graph inclusion rules. Returns the graph rules, for example {"inclusion_rules":[],"inherited":true}. A free project answered 404 not_found to both the read and the write (11-27): the feature may need enabling on the account.
graphs.getInclusionRules
- Get InstructionsRead-only
Get graph instructions. (GET /graphs/{graph_uuid}/instructions)
graphs.getInstructions
- Get KnowledgeRead-only
Get graph knowledge. Returns the domain knowledge in effect at this scope. The knowledge_api account flag must be enabled. Response example: {"knowledge":[{"name":"CRM","text":"CRM means the customer service."}],"inherited":false}
graphs.getKnowledge
- Get Observation SteeringRead-only
Get graph observation steering. (GET /graphs/{graph_uuid}/observation-steering)
graphs.getObservationSteering
- Get OntologyRead-only
Get graph ontology. (GET /graphs/{graph_uuid}/ontology)
graphs.getOntology
- Get SubgraphRead-only
Get subgraph. (POST /graphs/{graph_uuid}/subgraph)
graphs.getSubgraph
- Hyperedges.AddWrite
Add hyperedge. Creates one hyperedge: a fact that relates more than two nodes, written onto one member edge per node pair. The member edges must span at least three distinct nodes, since two nodes are a pair of edges rather than a hyperedge; a single pair uses graph.edge.add.
graphs.hyperedges.add
- Hyperedges.Create EdgeWrite
Add hyperedge member. Adds one member edge to an existing hyperedge. The new member inherits the hyperedge's fact and timestamps and joins its episodes, so only its own name and node pair are supplied. The response contains the UUID that Zep assigned and the name and nodes that you supplied.
graphs.hyperedges.createEdge
- Hyperedges.DeleteDestructive
Delete hyperedge. Deletes every member edge of the hyperedge. After the task completes the hyperedge and each of its members are gone. Cannot be undone.
graphs.hyperedges.delete
- Hyperedges.Delete EdgeDestructive
Delete hyperedge member. Removes one member edge from the hyperedge. The remaining members stay in the hyperedge, and deleting the last member removes the hyperedge itself. Cannot be undone.
graphs.hyperedges.deleteEdge
- Hyperedges.GetRead-only
Get hyperedge. Returns one hyperedge assembled from its member edges. The fact and the validity timestamps are shared by every member and are reported on the hyperedge; each member reports only its own name and endpoints.
graphs.hyperedges.get
- Hyperedges.ListRead-only
List hyperedges. Returns the graph's hyperedges. A hyperedge is listed while it has at least one member edge. Supported filters are node_uuids, edge_uuids and episode_uuids: a hyperedge matches a list when any of its members does, and must match every list supplied.
graphs.hyperedges.list
- Hyperedges.UpdateWrite
Update hyperedge. Updates the shared fact and writes it onto every member edge in one all-or-nothing write: either every member carries the new fact or none does. Only fact is accepted, because it is the only field the members share.
graphs.hyperedges.update
- ListRead-only
List graphs. (POST /graphs/list)
graphs.list
- List Content Policy EventsRead-only
List graph content policy events. Experimental: the request, the response, and the behavior of this operation can change. Lists the content policy decisions recorded for a graph, newest first. Each event carries identifiers only. A graph without a content policy returns an empty list.
graphs.listContentPolicyEvents
- List Metadata KeysRead-only
List graph metadata keys. Returns the append-only metadata keys recorded for a graph. A key can remain in the list after no episode or message uses it.
graphs.listMetadataKeys
- LookupRead-only
Lookup graph by developer id. (POST /graphs/lookup)
graphs.lookup
- Nodes.AddWrite
Add nodes. (POST /graphs/{graph_uuid}/nodes)
graphs.nodes.add
- Nodes.DeleteDestructive
Delete node. Cannot be undone. (DELETE /graphs/{graph_uuid}/nodes/{node_uuid})
graphs.nodes.delete
- Nodes.GetRead-only
Get node. (GET /graphs/{graph_uuid}/nodes/{node_uuid})
graphs.nodes.get
- Nodes.ListRead-only
List nodes. Lists the nodes of a graph and returns one page of results. The default page_size is 50, and the maximum page_size is 100. You can sort by uuid, created_at, or degree. The default sort is uuid in descending order.
graphs.nodes.list
- Nodes.List NeighborsRead-only
List node neighbors. (POST /graphs/{graph_uuid}/nodes/{node_uuid}/neighbors)
graphs.nodes.listNeighbors
- Nodes.UpdateWrite
Update node. (PATCH /graphs/{graph_uuid}/nodes/{node_uuid})
graphs.nodes.update
- Observations.GetRead-only
Get observation. (GET /graphs/{graph_uuid}/observations/{observation_uuid})
graphs.observations.get
- Observations.ListRead-only
List observations. Lists the observations of a graph and returns one page of results. The default page_size is 50, and the maximum page_size is 100. You can sort by uuid or created_at. The default sort is uuid in descending order.
graphs.observations.list
- QueryRead-only
Query a graph. Experimental. Smart Query retrieves multi-hop context from a graph in one call. Some agent tasks need multi-hop retrieval: the agent does not know in advance what to search for, so it must retrieve a record, learn from it, and then plan the next retrieval.
graphs.query
- Search EdgesRead-only
Search edges. Edge search does not support node_labels, exclude_node_labels, or content_policy_violated. content_policy_violated is supported on episode search only. An edge has two nodes, so a node label filter is not defined for edge search.
graphs.searchEdges
- Search EpisodesRead-only
Search episodes. Episode search supports only the metadata_filters and content_policy_violated filters. Every other filter returns unsupported_filter.
graphs.searchEpisodes
- Search NodesRead-only
Search nodes. Node search does not support edge_types, exclude_edge_types, edge_uuids, connected_node_uuids, source_node_uuids, target_node_uuids, date_filters, or content_policy_violated. content_policy_violated is supported on episode search only. The edge filters select edges.
graphs.searchNodes
- Search ObservationsRead-only
Search observations. Observation search supports no filters. Every filter returns unsupported_filter.
graphs.searchObservations
- Search Thread SummariesRead-only
Search thread summaries. Thread-summary search supports only the metadata_filters filter, which matches the metadata of the thread episodes. Every other filter returns unsupported_filter.
graphs.searchThreadSummaries
- Set Inclusion RulesWrite
Set graph inclusion rules. Replaces the graph rules. Request: {"inclusion_rules":[]}. Response: {"inclusion_rules":[],"inherited":true}. A free project answered 404 not_found to both the read and the write (11-27): the feature may need enabling on the account.
graphs.setInclusionRules
- Set InstructionsWrite
Set graph instructions. (PUT /graphs/{graph_uuid}/instructions)
graphs.setInstructions
- Set KnowledgeWrite
Set graph knowledge. Replaces the complete set of domain knowledge entries at this scope. The knowledge_api account flag must be enabled.
graphs.setKnowledge
- Set Observation SteeringWrite
Set graph observation steering. (PUT /graphs/{graph_uuid}/observation-steering)
graphs.setObservationSteering
- Set OntologyWrite
Set graph ontology. (PUT /graphs/{graph_uuid}/ontology)
graphs.setOntology
- Thread Summaries.ListRead-only
List thread summaries. Lists the thread summaries of a graph and returns one page of results. The default page_size is 50, and the maximum page_size is 100. You can sort by uuid or created_at. The default sort is uuid in descending order.
graphs.threadSummaries.list
- UpdateWrite
Update graph. (PATCH /graphs/{graph_uuid})
graphs.update
- WarmWrite
Warm graph. (POST /graphs/{graph_uuid}/warm)
graphs.warm
Project
- GetRead-only
Get project. (GET /project)
project.get
- Get Content PolicyRead-only
Get project content policy. Experimental: the request, the response, and the behavior of this operation can change. Returns the current content policy revision of the project. A new graph binds this revision at creation.
project.getContentPolicy
- Get Content Policy RevisionRead-only
Get project content policy revision. Experimental: the request, the response, and the behavior of this operation can change.
project.getContentPolicyRevision
- Get Inclusion RulesRead-only
Get project inclusion rules. Returns the project rules, for example {"inclusion_rules":[],"inherited":false}. A free project answered 404 not_found to both the read and the write (11-27): the feature may need enabling on the account.
project.getInclusionRules
- Get InstructionsRead-only
Get project instructions. (GET /project/instructions)
project.getInstructions
- Get KnowledgeRead-only
Get project knowledge. Returns the domain knowledge in effect at this scope. The knowledge_api account flag must be enabled. Response example: {"knowledge":[{"name":"CRM","text":"CRM means the customer service."}],"inherited":false}
project.getKnowledge
- Get Observation SteeringRead-only
Get project observation steering. (GET /project/observation-steering)
project.getObservationSteering
- Get OntologyRead-only
Get project ontology. (GET /project/ontology)
project.getOntology
- Get User Summary InstructionsRead-only
Get project user-summary instructions. (GET /project/user-summary-instructions)
project.getUserSummaryInstructions
- List Content Policy RevisionsRead-only
List project content policy revisions. Experimental: the request, the response, and the behavior of this operation can change. Lists every revision of the project content policy, newest first, including revision 0.
project.listContentPolicyRevisions
- Set Content PolicyWrite
Set project content policy. Experimental: this operation and the new rule fields can change. The typed rule fields are in private preview and are available only to enabled accounts. Replaces the project content policy and creates a new immutable revision. Graphs that already exist keep the revision they bound.
project.setContentPolicy
- Set Inclusion RulesWrite
Set project inclusion rules. Replaces the project rules. Request: {"inclusion_rules":[]}. Response: {"inclusion_rules":[],"inherited":false}. A free project answered 404 not_found to both the read and the write (11-27): the feature may need enabling on the account.
project.setInclusionRules
- Set InstructionsWrite
Set project instructions. (PUT /project/instructions)
project.setInstructions
- Set KnowledgeWrite
Set project knowledge. Replaces the complete set of domain knowledge entries at this scope. The knowledge_api account flag must be enabled.
project.setKnowledge
- Set Observation SteeringWrite
Set project observation steering. (PUT /project/observation-steering)
project.setObservationSteering
- Set OntologyWrite
Set project ontology. Replaces the entity types and the edge types that the project uses.
project.setOntology
- Set User Summary InstructionsWrite
Set project user-summary instructions. (PUT /project/user-summary-instructions)
project.setUserSummaryInstructions
- UpdateWrite
Update project. Set hyperedges_enabled to true to enable extraction. A member needs the project.edit permission. Project API keys receive 403 permission_denied.
project.update
User Groups
- Add MembersWrite
Add user group members. Requires attribute-based access control to be enabled for your account.
userGroups.addMembers
- Attach Policy SetWrite
Attach policy set to a user group. Administrative operation. Requires a bearer token. Manage policy sets from the Zep dashboard.
userGroups.attachPolicySet
- CreateWrite
Create user group. Requires attribute-based access control to be enabled for your account.
userGroups.create
- DeleteDestructive
Delete user group. Requires attribute-based access control to be enabled for your account. Cannot be undone.
userGroups.delete
- Detach Policy SetDestructive
Detach policy set from a user group. Administrative operation. Requires a bearer token. Manage policy sets from the Zep dashboard. Cannot be undone.
userGroups.detachPolicySet
- GetRead-only
Get user group. Requires attribute-based access control to be enabled for your account.
userGroups.get
- ListRead-only
List user groups. Requires attribute-based access control to be enabled for your account.
userGroups.list
- List Member CandidatesRead-only
List member candidates. Requires attribute-based access control to be enabled for your account.
userGroups.listMemberCandidates
- List MembersRead-only
List user group members. Requires attribute-based access control to be enabled for your account.
userGroups.listMembers
- List Policy SetsRead-only
List policy sets on a user group. Administrative operation. Requires a bearer token. Manage policy sets from the Zep dashboard.
userGroups.listPolicySets
- Remove MemberDestructive
Remove one user group member. Requires attribute-based access control to be enabled for your account. Cannot be undone.
userGroups.removeMember
- Remove MembersDestructive
Remove user group members. Requires attribute-based access control to be enabled for your account.
userGroups.removeMembers
- UpdateWrite
Update user group. Requires attribute-based access control to be enabled for your account.
userGroups.update
Threads
- CreateWrite
Create thread. (POST /threads)
threads.create
- DeleteDestructive
Delete thread. Cannot be undone. (DELETE /threads/{thread_uuid})
threads.delete
- GetRead-only
Get thread. (GET /threads/{thread_uuid})
threads.get
- Get ContextRead-only
Get thread context. (GET /threads/{thread_uuid}/context)
threads.getContext
- Get SummaryRead-only
Get thread summary. (GET /threads/{thread_uuid}/summary)
threads.getSummary
- ListRead-only
List threads. (GET /threads)
threads.list
- List EpisodesRead-only
List thread episodes. (GET /threads/{thread_uuid}/episodes)
threads.listEpisodes
- LookupRead-only
Lookup thread by developer id. (POST /threads/lookup)
threads.lookup
- Messages.AddWrite
Add thread messages. (POST /threads/{thread_uuid}/messages)
threads.messages.add
- Messages.GetRead-only
Get message. (GET /threads/{thread_uuid}/messages/{message_uuid})
threads.messages.get
- Messages.ListRead-only
List thread messages. (GET /threads/{thread_uuid}/messages)
threads.messages.list
- Messages.UpdateWrite
Update message. (PATCH /threads/{thread_uuid}/messages/{message_uuid})
threads.messages.update
Users
- CreateWrite
Create user. (POST /users)
users.create
- DeleteDestructive
Delete user. Cannot be undone. (DELETE /users/{user_uuid})
users.delete
- GetRead-only
Get user. (GET /users/{user_uuid})
users.get
- Get By EmailRead-only
Get user by email. Send {"email": "jane@example.com"} to get the user with this email. An email matches only when the stored and requested values are equal after normalization. Normalization lowercases both values and trims leading and trailing whitespace.
users.getByEmail
- Get NodeRead-only
Get user node. (GET /users/{user_uuid}/node)
users.getNode
- Get Summary InstructionsRead-only
Get user summary instructions. (GET /users/{user_uuid}/summary-instructions)
users.getSummaryInstructions
- ListRead-only
List users. (POST /users/list)
users.list
- List User GroupsRead-only
List user groups for a user. Requires attribute-based access control to be enabled for your account.
users.listUserGroups
- LookupRead-only
Lookup user by developer id. (POST /users/lookup)
users.lookup
- Set Summary InstructionsWrite
Set user summary instructions. (PUT /users/{user_uuid}/summary-instructions)
users.setSummaryInstructions
- UpdateWrite
Update user. (PATCH /users/{user_uuid})
users.update
Trace Connections
- CreateWrite
Create a trace connection. Verify a provider credential before Zep stores it. Both providers accept 1 to 60 requests per minute and an optional retention window.
traceConnections.create
- DeleteDestructive
Delete a trace connection. Delete a trace connection that no active trace import uses. Cannot be undone.
traceConnections.delete
- GetRead-only
Get a trace connection. Read one trace connection. The response includes a credential hint and never includes the credential.
traceConnections.get
- Get TraceRead-only
Get a source trace. Read one trace and optionally preview a mapping. Example body: {"provider_project_id":"project_123","trace_id":"trace-123","mapping":{"task_family":{"source":"fixed","value":"support"}}}.
traceConnections.getTrace
- ListRead-only
List trace connections. List trace connections in the current Zep project.
traceConnections.list
- List ProjectsRead-only
List provider projects. List provider projects with the page_size and cursor query parameters.
traceConnections.listProjects
- List TracesRead-only
List source traces. Filter provider traces. Example body: {"provider_project_id":"project_123","filter":{"started_after":"2026-01-01T00:00:00Z"}}.
traceConnections.listTraces
- UpdateWrite
Update a trace connection. Verify changed settings before Zep stores them. A request that changes api_url must also include credential. Otherwise Zep returns 400 invalid_request. Both providers accept 1 to 60 requests per minute and an optional retention window. Example request: {"requests_per_minute":60,"retention_days":30}.
traceConnections.update
- VerifyWrite
Verify a trace connection. Check the provider credential and update the connection status.
traceConnections.verify
Batches
- Add ItemsWrite
Add batch items. (POST /batches/{batch_uuid}/items)
batches.addItems
- CreateWrite
Create batch. (POST /batches)
batches.create
- DeleteDestructive
Delete batch. Cannot be undone. (DELETE /batches/{batch_uuid})
batches.delete
- GetRead-only
Get batch. (GET /batches/{batch_uuid})
batches.get
- ListRead-only
List batches. (GET /batches)
batches.list
- List ItemsRead-only
List batch items. (GET /batches/{batch_uuid}/items)
batches.listItems
- ProcessWrite
Process batch. (POST /batches/{batch_uuid}/process)
batches.process
Context Templates
- CreateWrite
Create context template. (POST /context-templates)
contextTemplates.create
- DeleteDestructive
Delete context template. Cannot be undone.
contextTemplates.delete
- GetRead-only
Get context template. (GET /context-templates/{template_uuid})
contextTemplates.get
- ListRead-only
List context templates. (POST /context-templates/list)
contextTemplates.list
- UpdateWrite
Update context template. (PUT /context-templates/{template_uuid})
contextTemplates.update
Tasks
- GetRead-only
Get task. (GET /tasks/{task_uuid})
tasks.get
- ListRead-only
List tasks. (GET /tasks)
tasks.list
Debug Logs
- EnableWrite
Enable debug logging. Enables debug logging for the project for one hour, or for 24 hours on the Enterprise plan. Episodes ingested while debug logging is enabled have a debug log (see graph.episode.get_debug_logs).
debugLogs.enable
Lookup
- Developer IdsRead-only
Batch lookup of developer ids. (POST /lookup)
lookup.developerIds
Connect Zep to Claude, ChatGPT or Cursor
- 1
Connect Zep in Corsair
Add your Zep API key once in Corsair. Corsair stores the credential encrypted and makes the Zep API calls for your agent, so it never goes into a prompt or a config file. Connect Zep
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Zep. On a ChatGPT personal plan, connect Zep here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Zep's read and write operations run right away and its 23 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/zep, add the Zep plugin, and connect with an API key. Then call methods like corsair.zep.api.agents.create() from your app. Corsair verifies webhooks, and keeps each tenant isolated.
Yes. Zep requires an API key from your Zep account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Zep, GitHub, Notion, Stripe, and the rest. Trigger Zep from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for context engineering and agent memory with Zep: create users and threads, add chat messages and read the assembled context, build and search knowledge graphs (episodes, nodes, edges, hyperedges, observations, ontology), manage user groups, context templates, batch ingestion and project settings, and work with Agent Skills and traces (205 operations). Common builds include sync jobs, admin tooling, and agents that call Zep APIs from your backend. Webhook handlers react to Zep events and fan out to Slack, email, or other plugins in the same tenant.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Zep API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/zep in the open repo. When Zep ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Zep data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Zep data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Zep on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 23 destructive Zep operations. You can change a link's mode at hub.corsair.dev/me.