Integrations
Uses environment configuration for storing API keys and settings, with support for fallback mode when API connectivity issues occur.
MCP Server for Zep Cloud
MCP Server for Zep Cloud provides a bridge between LLM clients and the Zep Cloud API, enabling memory management for AI assistants.
Overview
An MCP server for storing and retrieving user memories, preferences, procedures, and factual relationships through the Zep Cloud API. It acts as a semantic memory layer that enables AI assistants to maintain context about users across conversations.
Tools
- User Management:
create_user
: Create a new user in Zep Cloudget_user
: Get details of a userupdate_user
: Update a user's metadatadelete_user
: Delete a userlist_users
: List all users
- Graph Operations:
search_graph
: Search a user's memory graphadd_graph_data
: Add data to a user's memory graph
- Connectivity:
check_connection
: Check connection status with the Zep Cloud API
Environment Variables
Name | Description | Default Value |
---|---|---|
ZEP_API_KEY | API key for the Zep Cloud service | None |
MCP_HOST | Host to bind the server to | 0.0.0.0 |
MCP_PORT | Port to run the server on | 8080 |
Installation
Using Smithery
Manual Installation with Claude Desktop
- Clone this repository:
- Install dependencies:
- Configure Claude Desktop by adding to
claude_desktop_config.json
:
The configuration file is located at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
Using Docker
A Dockerfile is available for building and running the MCP server:
Fallback Mode
If the server cannot connect to the Zep Cloud API, it automatically starts in fallback mode:
- All API operations are simulated and return success
- No actual data is sent to or received from the Zep Cloud API
- The server remains operational, allowing client integration to function
- Warning messages are logged to indicate fallback mode
Repository Structure
- core/: Core functionality files
zep_cloud_client.py
: Client implementation for the Zep Cloud APIzep_cloud_server.py
: MCP server providing tools for API accessrun_server.py
: Standalone script to run the server directly
- scripts/: Utility scripts for operations and testing
check_user_exists.py
: Utility to check if a user existscreate_specific_user.py
: Script to create test usersrun_server.sh
/run_server.bat
: Shell scripts to run the server
- tests/: Test scripts
test_zep_cloud_client.py
: Unit tests for the Zep Cloud clienttest_server_initialization_fixes.py
: Tests for server initialization
- config/: Configuration files
.env.example
: Template for environment configurationrequirements.txt
: Package dependencies
Security Considerations
- API Key Protection: Never commit your API key to version control
- Environment Variables: Use environment variables for sensitive data
- Restricted Access: Limit the server to trusted networks
Support for Other Clients
This MCP server is designed to work with any MCP-compatible client. It has been tested with:
- Claude Desktop
- Claude in web browser
Development
Running Tests
Running in Development Mode
License
This MCP server is licensed under the MIT License.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
mcp-server-zep-cloud
Related MCP Servers
- Python
- Python
- MIT License
- JavaScript