Sekha MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Sekha MCP ServerStore my notes on setting up Sekha memory"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sekha MCP Server
Model Context Protocol Server for Sekha Memory
š v0.2.0 Release - Multi-Provider Support
Sekha MCP v0.2.0 is now compatible with the new Sekha v0.2.0 multi-provider architecture!
What's New:
ā Works with Sekha v0.2.0 controller's multi-provider routing
ā Automatic provider fallback (Ollama, OpenAI, Anthropic, etc.)
ā Vision support (GPT-4o, Kimi 2.5) - just include images!
ā Cost-aware model selection
ā Multi-dimensional embeddings (per-dimension ChromaDB collections)
ā Claude Desktop & Claude Code support - memory in both apps!
ā No API changes - fully backward compatible!
Related MCP server: Cordelia Proxy
What is Sekha MCP?
MCP (Model Context Protocol) server that exposes Sekha memory tools to any MCP-compatible client:
ā Claude Desktop - Anthropic's desktop app
ā Claude Code - VS Code extension (works with Ollama, Anthropic, or any provider)
ā Any MCP client - Standard protocol implementation
Supported Tools:
ā
memory_store- Save conversationsā
memory_search- Semantic searchā
memory_get_context- Retrieve relevant contextā
memory_update- Update conversation metadataā
memory_prune- Get cleanup recommendationsā
memory_export- Export your dataā
memory_stats- View usage statistics
Total: 7 MCP tools
š Documentation
Complete guide: docs.sekha.dev/integrations/mcp
š Quick Start
1. Install Sekha
# Deploy Sekha v0.2.0 stack with multi-provider support
git clone https://github.com/sekha-ai/sekha-docker.git
cd sekha-docker
docker compose -f docker/docker-compose.prod.yml up -d2. Configure Your MCP Client
Option A: Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"sekha": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--network=host",
"ghcr.io/sekha-ai/sekha-mcp:v0.2.0"
],
"env": {
"CONTROLLER_URL": "http://localhost:8080",
"CONTROLLER_API_KEY": "your-mcp-api-key-here"
}
}
}
}Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
Option B: Claude Code (VS Code Extension)
Add to VS Code settings.json or workspace config:
{
"mcpServers": {
"sekha": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--network=host",
"ghcr.io/sekha-ai/sekha-mcp:v0.2.0"
],
"env": {
"CONTROLLER_URL": "http://localhost:8080",
"CONTROLLER_API_KEY": "your-mcp-api-key-here"
}
}
}
}Claude Code Configuration:
Claude Code lets you choose your LLM provider separately from memory:
{
// Sekha provides memory (via MCP)
"mcpServers": {
"sekha": { /* config above */ }
},
// Configure your LLM provider (Claude Code supports multiple)
"claudeCode.apiProvider": "ollama", // or "anthropic"
"claudeCode.ollamaUrl": "http://localhost:11434",
"claudeCode.ollamaModel": "llama3.1:8b"
}This means:
Use Ollama (or other LLM) locally for generation (fast, private, free)
Use Sekha MCP for memory (persistent across sessions)
Best of both worlds!
3. Restart Your Client
Claude Desktop: Restart the app
Claude Code: Reload VS Code window (
Cmd+Shift+Pā "Reload Window")
Sekha memory tools will now appear!
See setup guides:
šÆ Use Cases
Claude Desktop - Interactive Conversations
Full-featured desktop app with Sekha memory
Perfect for brainstorming, research, general chat
Uses Anthropic's Claude models
Claude Code - Development Workflow Examples
VS Code extension with code-aware features
Use with Ollama for fast, local, private coding
Or use with Anthropic/OpenAI for powerful cloud models
Sekha memory works with any provider you configure
API Integration - Programmatic Access
Use sekha-proxy for OpenAI-compatible API
Multi-provider routing via LLM bridge
Same memory as Claude apps
š§ Development
# Clone
git clone https://github.com/sekha-ai/sekha-mcp.git
cd sekha-mcp
# Install
pip install -e .
# Run locally
python -m sekha_mcp
# Test
pytestš MCP Tools Reference
memory_store
Store a conversation in Sekha.
Parameters:
label(string) - Conversation labelmessages(array) - Message array (supports images in v0.2.0!)folder(string, optional) - Organization folderimportance(int, optional) - 1-10 scale
memory_search
Search conversations semantically.
Parameters:
query(string) - Search querylimit(int) - Max resultsfolder(string, optional) - Search within folder
memory_get_context
Assemble optimal context for LLM.
Parameters:
query(string) - Context querycontext_budget(int) - Token limitfolders(array, optional) - Limit to specific folders
memory_update
Update conversation metadata.
Parameters:
conversation_id(string) - Conversation UUIDlabel(string, optional) - New labelfolder(string, optional) - New folderimportance(int, optional) - New importance (1-10)status(string, optional) - active/archived
memory_prune
Get cleanup recommendations.
Parameters:
min_age_days(int, optional) - Minimum agemax_importance(int, optional) - Max importance to considerlimit(int, optional) - Max suggestions
memory_export
Export conversations.
Parameters:
format(string) - json or markdownfolder(string, optional) - Export specific folder
memory_stats
Get memory usage statistics.
Parameters: None
Returns:
Total conversations
Total messages
Storage usage
Folder breakdown
Provider stats (v0.2.0) - which models are being used
šļø Architecture
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā MCP Clients ā
ā - Claude Desktop (Anthropic) ā
ā - Claude Code (Ollama/Anthropic/etc.) ā
ā - Any MCP-compatible client ā
āāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā
ā¼
āāāāāāāāāāāāāāāāāā
ā Sekha MCP ā ā This repository
ā Server ā
āāāāāāāāāā¬āāāāāāāā
ā
ā¼
āāāāāāāāāāāāāāāāāā
ā Controller ā ā Memory APIs
ā (Rust) ā
āāāāāāāāāā¬āāāāāāāā
ā
ā¼
āāāāāāāāāāāāāāāāāā
ā ChromaDB ā ā Vector storage
ā Redis ā ā Cache
āāāāāāāāāāāāāāāāāā
Separate from LLM routing:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā API Clients ā Proxy ā Bridge ā Providers ā
ā (OpenAI SDK compatible) ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāKey Points:
MCP provides memory tools only
Claude Desktop/Code handle their own LLM connections
Controller stores all conversations regardless of source
Same memory accessible from Claude apps and API
š Links
Main Repo: sekha-controller
Proxy (API): sekha-proxy
Docker Deploy: sekha-docker
Docs: docs.sekha.dev
Website: sekha.dev
Discord: discord.gg/sekha
š Changelog
See CHANGELOG.md for full release history.
š License
AGPL-3.0 - License Details
This server cannot be deployed
Maintenance
Related MCP Connectors
- mcpOAuthai.butlerbrain
Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
- TaprootOAuthcom.taproothq
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP Memory Server for Claude Code that provides persistent context across sessions using semantic search (RAG).Apache 2.0
- AlicenseNot gradedqualityFmaintenanceMCP server for memory storage, encryption, search, and group sharing, used by Claude Code via the cordelia-agent-sdk.1 npmAGPL 3.0
- AlicenseNot gradedqualityDmaintenanceA simple memory storage server for Claude using the Model Context Protocol (MCP), enabling Claude to store and retrieve text memories across conversations.13 npmMIT
- AlicenseAqualityDmaintenanceA zero-dependency MCP server for cross-session memory recall in Claude Code. Provides lexical search, listing, and retrieval of past session memories to avoid re-explaining context.36 npmMIT