CPersona
Persistent AI memory server with 3-layer hybrid search (vector + FTS5 + keyword), confidence scoring via Reciprocal Rank Fusion, episodic/profile memory, and 16 tools. Zero LLM dependency. Works standalone with Claude Desktop and Claude Code. MIT licensed.
README
cloto-mcp-servers
MCP server collection for the ClotoCore platform.
CPersona — AI Memory Server
CPersona (servers/cpersona/) is an MCP Memory Server that gives Claude persistent memory.
See the cpersona README for full documentation.
Standalone users: For use with Claude Desktop, Claude Code, or other MCP clients without ClotoCore, see the cpersona standalone repository.
- 3-layer hybrid search (vector + FTS5 full-text + keyword) with RRF merge
- Confidence scoring with dynamic time decay, recall boost, and completion factor
- Episodic memory (conversation summarization) and profile memory (user attributes)
- Zero LLM dependency — pure data server, all intelligence stays in the calling agent
- 16 tools including health check, auto-calibration, JSONL export/import, and agent merge
- Agent namespace isolation
- stdio + Streamable HTTP transport
- Single-file SQLite DB (schema v7, auto-migrating)
License: MIT — free to use from any MCP host.
Quick Start (Claude Desktop / Claude Code)
git clone https://github.com/Cloto-dev/cloto-mcp-servers.git
cd cloto-mcp-servers/servers
python -m venv .venv
# Windows
.venv\Scripts\activate
# macOS / Linux
# source .venv/bin/activate
pip install -r requirements.lock
Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"embedding": {
"command": "/path/to/servers/.venv/bin/python",
"args": ["/path/to/servers/embedding/server.py"],
"env": {
"EMBEDDING_PROVIDER": "onnx_jina_v5_nano",
"EMBEDDING_HTTP_PORT": "8401"
}
},
"cpersona": {
"command": "/path/to/servers/.venv/bin/python",
"args": ["/path/to/servers/cpersona/server.py"],
"env": {
"CPERSONA_DB_PATH": "/home/yourname/.claude/cpersona.db",
"CPERSONA_EMBEDDING_MODE": "http",
"CPERSONA_EMBEDDING_URL": "http://127.0.0.1:8401/embed",
"CPERSONA_VECTOR_SEARCH_MODE": "remote"
}
}
}
}
Windows: use
.venv/Scripts/python.exeinstead of.venv/bin/python, andC:/Users/yourname/.claude/cpersona.dbfor the DB path.
Note: Claude Desktop on Windows has known issues with stdio MCP transport (payload size limits, silent drops). If you experience problems, consider using cpersona's Streamable HTTP transport instead. See the Zenn Book Ch.2 for details.
Claude Code:
# macOS / Linux
claude mcp add-json embedding '{
"type": "stdio",
"command": "/path/to/servers/.venv/bin/python",
"args": ["/path/to/servers/embedding/server.py"],
"env": {
"EMBEDDING_PROVIDER": "onnx_jina_v5_nano",
"EMBEDDING_HTTP_PORT": "8401"
}
}' -s user
claude mcp add-json cpersona '{
"type": "stdio",
"command": "/path/to/servers/.venv/bin/python",
"args": ["/path/to/servers/cpersona/server.py"],
"env": {
"CPERSONA_DB_PATH": "/home/yourname/.claude/cpersona.db",
"CPERSONA_EMBEDDING_MODE": "http",
"CPERSONA_EMBEDDING_URL": "http://127.0.0.1:8401/embed",
"CPERSONA_VECTOR_SEARCH_MODE": "remote"
}
}' -s user
Adjust paths to match your environment. For detailed setup instructions, see the Zenn Book Ch.2.
All Servers
| ID | Type | Description |
|---|---|---|
memory.cpersona |
Memory | CPersona persistent memory with FTS5 search (MIT) |
tool.embedding |
Tool | Vector embedding generation (ONNX + API providers) |
tool.terminal |
Tool | Sandboxed command execution |
tool.agent_utils |
Tool | Deterministic utilities (time, math, UUID, units, encode/decode) |
tool.cron |
Tool | CRON job management |
tool.websearch |
Tool | Web search integration (SearXNG, Tavily, DuckDuckGo) |
tool.research |
Tool | Research synthesis with search and LLM delegation |
tool.imagegen |
Tool | Stable Diffusion image generation |
mind.cerebras |
Mind | Cerebras ultra-high-speed reasoning |
mind.deepseek |
Mind | DeepSeek reasoning engine |
mind.claude |
Mind | Claude/Anthropic reasoning engine |
mind.ollama |
Mind | Ollama local LLM |
vision.gaze_webcam |
Vision | Webcam gaze tracking |
vision.capture |
Vision | Image capture with Ollama + OCR |
voice.stt |
Voice | Speech-to-text (Whisper) |
output.avatar |
Output | VRM expression, idle behavior, and VOICEVOX TTS (Rust) |
io.discord |
I/O | Bidirectional Discord communication via MGP events (Rust) |
tool.example |
Example | Reference MGP server implementation for new authors |
MGP Protocol Documentation
ClotoCore extends MCP with MGP (Multi-Agent Gateway Protocol) — a strict superset adding security, lifecycle, and bidirectional communication.
- MGP Specification — Protocol overview and architecture
- MGP Security — Permission model, RBAC, audit trail
- MGP Communication — Lifecycle, streaming, events
- MGP Discovery — Dynamic tool discovery
- MGP Guide — Implementation guide for server authors
- MGP Isolation — OS-level enforcement design
Build Your Own Server
See servers/example/server.py for a complete reference implementation, or follow the
Quickstart Guide
to create a working MCP/MGP server in 5 minutes.
Setup (all servers)
cd servers
python -m venv .venv
# Activate (Windows Git Bash)
source .venv/Scripts/activate
# Activate (Linux/macOS)
# source .venv/bin/activate
pip install --upgrade pip
for d in */; do [ -f "$d/pyproject.toml" ] && pip install "$d"; done
Or use the setup script:
bash scripts/setup-deps.sh
Integration with ClotoCore
This repo is consumed by ClotoCore via mcp.toml's [paths] section:
[paths]
servers = "/path/to/cloto-mcp-servers/servers"
Server args use ${servers} variable expansion:
[[servers]]
id = "tool.terminal"
command = "python"
args = ["${servers}/terminal/server.py"]
Testing
cd servers
python -m pytest tests/ -v
License
This repository uses a dual-license model:
| Component | License |
|---|---|
CPersona (servers/cpersona/) |
MIT |
MGP Protocol (docs/MGP_*.md) |
MIT |
| All other servers and code | BSL 1.1 (converts to MIT on 2028-02-14) |
See LICENSE for the BSL 1.1 terms. CPersona and MGP are independently MIT-licensed to enable adoption by any MCP host without restriction.
Contact: ClotoCore@proton.me
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。