unified-mcp
A wrapper MCP server that enables simultaneous memory storage and retrieval across OpenMemory and Cipher through unified add_memories and search_memory tools.
README
unified-mcp
OpenMemory と Cipher を束ねるラッパー MCP サーバー。
add_memories / search_memory の1回の呼び出しで両方に同時に記録・検索できる。
構成
Claude Desktop (stdio)
↓
unified-mcp.js
├→ OpenMemory(mcp-remote Streamable HTTP → localhost:8765)
└→ Cipher(stdio)
セットアップ
1. 依存インストール
npm install
2. claude_desktop_config.json
macOS
{
"mcpServers": {
"unified-memory": {
"command": "node",
"args": ["<path-to>/unified-mcp.js"],
"env": {
"PATH": "<node-bin-dir>:/usr/local/bin:/usr/bin:/bin",
"OPENMEMORY_URL": "http://localhost:8765/mcp/claude/http/ubuntu",
"CIPHER_CMD": "<node-bin-dir>/cipher",
"CIPHER_CWD": "<path-to>/cipher",
"CIPHER_AGENT_CONFIG": "<path-to>/cipher.yml",
"NPX_PATH": "<node-bin-dir>/npx",
"OPENAI_API_KEY": "sk-proj-...",
"MCP_SERVER_MODE": "aggregator",
"USE_ASK_CIPHER": "true"
}
}
}
}
<node-bin-dir>: nodebrew 等の bin ディレクトリ(例:~/.nodebrew/current/bin)CIPHER_AGENT_CONFIGを指定するとcipher --mode mcp --agent <config>で直接起動NPX_PATHを指定すると、そのディレクトリが PATH に自動追加される
Windows
{
"mcpServers": {
"unified-memory": {
"command": "node",
"args": ["<path-to>\\unified-mcp.js"],
"env": {
"OPENMEMORY_URL": "http://localhost:8765/mcp/claude/http/ubuntu",
"CIPHER_CMD": "npm.cmd",
"CIPHER_CWD": "<path-to>\\cipher",
"OPENAI_API_KEY": "sk-proj-...",
"MCP_SERVER_MODE": "aggregator",
"USE_ASK_CIPHER": "true",
"PATH": "C:\\Program Files\\nodejs;C:\\Windows\\System32"
}
}
}
}
CIPHER_AGENT_CONFIG未指定時はnpm run mcpで起動(Windows 向け)
Claude Code
~/.claude.json の mcpServers に追加する。
Cipher aggregator モードには MCP_SERVER_MODE と USE_ASK_CIPHER が必要。
{
"mcpServers": {
"unified-memory": {
"type": "stdio",
"command": "node",
"args": ["<path-to>/unified-mcp.js"],
"env": {
"PATH": "<node-bin-dir>:/usr/local/bin:/usr/bin:/bin",
"OPENMEMORY_URL": "http://localhost:8765/mcp/claude/http/ubuntu",
"CIPHER_CMD": "<node-bin-dir>/cipher",
"CIPHER_CWD": "<path-to>/cipher",
"CIPHER_AGENT_CONFIG": "<path-to>/cipher.yml",
"NPX_PATH": "<node-bin-dir>/npx",
"OPENAI_API_KEY": "sk-proj-...",
"MCP_SERVER_MODE": "aggregator",
"USE_ASK_CIPHER": "true"
}
}
}
}
3. 環境変数
| 変数 | 説明 | 必須 |
|---|---|---|
OPENMEMORY_URL |
OpenMemory の mcp-remote エンドポイント | ✅ |
CIPHER_CMD |
Cipher の実行コマンド(macOS: フルパス, Windows: npm.cmd) |
✅ |
CIPHER_CWD |
Cipher の作業ディレクトリ | ✅ |
OPENAI_API_KEY |
Cipher が使う OpenAI API キー | ✅ |
NPX_PATH |
npx のフルパス(macOS でPATH が通らない場合) | |
CIPHER_AGENT_CONFIG |
cipher.yml のパス(指定時は直接起動) | |
MCP_SERVER_MODE |
Cipher サーバーモード(aggregator で全ツール公開) |
✅ |
USE_ASK_CIPHER |
true で ask_cipher ツールを有効化 |
✅ |
ツール
| ツール名 | 説明 |
|---|---|
add_memories |
OpenMemory と Cipher の両方に記憶を保存 |
search_memory |
OpenMemory と Cipher の両方から検索 |
前提
- OpenMemory が Docker で起動済み
- Cipher が起動できる状態
- OpenMemory には
mcp-remote経由で Streamable HTTP 接続
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.