MCP Server for Zep Cloud

by kev-hu

340 downloads Not rated yet

About

# MCP Server for Zep Cloud MCP Server for Zep Cloud provides a bridge between Claude Desktop and the Zep Cloud API, enabling memory management for AI assistants. ## Repository Structure The repository has been organized into the following directories: - **core/**: Core functionality files - `zep_cloud_client.py`…

Explore

- User Management: Create, retrieve, update, and delete users in Zep Cloud
- Collections Management: Create and manage memory collections
- Memory Operations: Add, retrieve, and search memories
- Modern Implementation: Uses the FastMCP approach for a more efficient and maintainable server
- Fallback Mode: Automatically runs in fallback mode if Zep Cloud API is not accessible

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Server for Zep Cloud
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Python 3.8+
- Zep Cloud API key

1. Open your Claude Desktop configuration file at:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json

2. Update the configuration with the absolute paths to your Python executable and server script:

{
"mcpServers": {
"zep-cloud": {
"command": "/ABSOLUTE/PATH/TO/venv/bin/python",
"args": [
"/ABSOLUTE/PATH/TO/core/zep_cloud_server.py"
]
}
}
}

Important Notes:
- Replace /ABSOLUTE/PATH/TO/ with the actual path to your Python executable in the virtual environment and the server script.
- Use absolute paths, not relative paths.
- On Windows, use double backslashes in paths (e.g., C:\\Users\\YourUsername\\...).

- Personal configuration files like claude_desktop_config.json contain system-specific paths and should not be committed to version control.
- Use the provided claude_desktop_config.json.example as a reference to create your own configuration.

1. Always ensure .gitignore is committed before adding any code or configuration files
2. Copy .env.example to .env and add your API key
3. Copy claude_desktop_config.json.example to claude_desktop_config.json and update with your paths
4. Verify that sensitive files are being ignored before committing:

   git status --ignored

create_user

Create a new user

get_user

Get details of a user

update_user

Update a user's metadata

delete_user

Delete a user

list_users

List all users

create_collection

Create a new collection

get_collection

Get details of a collection

update_collection

Update a collection's metadata

delete_collection

Delete a collection

list_collections

List all collections

add_memory

Add a memory to a collection for a user

get_memory

Get a memory from a collection for a user

list_memories

List memories from a collection for a user

search_memories

Search memories from a collection for a user

check_connection

Check connection status with the Zep Cloud API

Once configured, Claude Desktop will have access to the following tools:

1. User Management:
- create_user: Create a new user
- get_user: Get details of a user
- update_user: Update a user's metadata
- delete_user: Delete a user
- list_users: List all users

2. Collections Management:
- create_collection: Create a new collection
- get_collection: Get details of a collection
- update_collection: Update a collection's metadata
- delete_collection: Delete a collection
- list_collections: List all collections

3. Memory Operations:
- add_memory: Add a memory to a collection for a user
- get_memory: Get a memory from a collection for a user
- list_memories: List memories from a collection for a user
- search_memories: Search memories from a collection for a user

4. Connectivity:
- check_connection: Check connection status with the Zep Cloud API

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp server for zep cloud": {
            "zep-cloud": {
                "command": "npx",
                "args": [
                    "-y",
                    "mcp-server-zep-cloud"
                ],
                "env": {
                    "ZEP_CLOUD_API_KEY": "YOUR_ZEP_CLOUD_API_KEY"
                }
            }
        }
    }
}

McpServers

{
    "zep-cloud": {
        "command": "npx",
        "args": [
            "-y",
            "mcp-server-zep-cloud"
        ],
        "env": {
            "ZEP_CLOUD_API_KEY": "YOUR_ZEP_CLOUD_API_KEY"
        }
    }
}

MCP Server for Zep Cloud provides a bridge between Claude Desktop and the Zep Cloud API, enabling memory management for AI assistants.

Repository Structure

The repository has been organized into the following directories:

- core/: Core functionality files
- zep_cloud_client.py: Client implementation for the Zep Cloud API
- zep_cloud_server.py: MCP server providing tools for Claude Desktop
- run_server.py: Standalone script to run the server directly

- scripts/: Utility scripts for operations
- check_user_exists.py: Utility to check if a user exists in Zep Cloud
- create_specific_user.py: Script to create a specific user in Zep Cloud
- run_server.sh / run_server.bat: Shell scripts to run the server with proper environment setup
- Various other utility scripts for testing and debugging

- tests/: Test scripts organized by functionality
- test_specific_user.py: Comprehensive test for all user operations
- test_zep_cloud_client.py: Unit tests for the Zep Cloud client
- test_comprehensive.py: Complete API tests for all features

- config/: Configuration files
- .env.example: Template for environment configuration
- .env.new: Updated environment configuration
- claude_desktop_config.json.example: Template for Claude Desktop configuration
- requirements.txt: Package dependencies

Features

- User Management: Create, retrieve, update, and delete users in Zep Cloud
- Collections Management: Create and manage memory collections
- Memory Operations: Add, retrieve, and search memories
- Modern Implementation: Uses the FastMCP approach for a more efficient and maintainable server
- Fallback Mode: Automatically runs in fallback mode if Zep Cloud API is not accessible

Requirements

- Python 3.8+
- Zep Cloud API key

Installation

1. Clone this repository:

git clone https://github.com/yourusername/mcp-server-zep-cloud.git
cd mcp-server-zep-cloud

2. Create and activate a virtual environment:
```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.