
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
upstash/memoは、https://github.com/upstash/memo.からインポートされたMCPサーバー候補です。
概要
upstash/memoは、https://github.com/upstash/memo.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
AIの会話コンテキストを保存・取得するMCPサーバー。AIエージェント間の会話をシームレスに引き継ぎます。無料でアカウント不要。
それが何をするのか
AIエージェントと仕事をしていて、以下のことをする必要がある場合:
- エージェントを切り替える - Claudeがバグを直せないの?CursorかCopilotでコンテキストが濃いものを試してみてください
- 続行は後ほど - 進行状況を保存して、中断したところから再開
- マシンを移動 - ノートパソコンで起動、デスクトップで続けます
memo setと言うだけで、エージェントは構造化されたコンテキスト(目標、完了タスク、保留中のタスク、決定、関連ファイル)を保存します。短いIDを返して、memo get をどこでも使ってコンテキストを復元してください。
https://github.com/user-attachments/assets/f96798e1-2f8b-4de3-9431-b7bc52c58dfa
設置
クロード・コード
OpenCode
あなたのopencode.jsonに追加:
Claude デスクトップ / カーソル
MCP設定に追加:
使用法
文脈を保存
AIは会話を要約し、4tJ630XqhCV5gQelx98puのようなIDを返します。
コンテキストを復元する
AIは前のコンテキストを読み込み、あなたが中断したところから続きます。
何が救われるか
memo setを実行すると、エージェントは構造化スナップショットを保存します。例えば:
- 目標
- 完了したタスク
- 保留中のタスク
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
Memo MCP
An MCP server that saves and retrieves AI conversation context. Hand off conversations between AI agents seamlessly. Free and no account required.
What it does
When you’re working with an AI agent and need to:
- Switch agents - Claude can’t fix your bug? Try Cursor or Copilot with dense context
- Continue later - Save progress and pick up where you left off
- Move machines - Start on laptop, continue on desktop
Just say memo set and the agent will save structured context (goal, completed tasks, pending tasks, decisions, relevant files). Get a short ID back, use memo get anywhere to restore context.
https://github.com/user-attachments/assets/f96798e1-2f8b-4de3-9431-b7bc52c58dfa
Installation
Claude Code
claude mcp add memo -- npx -y @upstash/memo
OpenCode
Add to your opencode.json:
{
"mcp": {
"memo": {
"type": "local",
"command": ["npx", "-y", "@upstash/memo"]
}
}
}
Claude Desktop / Cursor
Add to your MCP config:
{
"mcpServers": {
"memo": {
"command": "npx",
"args": ["-y", "@upstash/memo"]
}
}
}
Usage
Save context
memo set
The AI will summarize the conversation and return an ID like 4tJ630XqhCV5gQelx98pu.
Restore context
memo get 4tJ630XqhCV5gQelx98pu
The AI will load the previous context and continue where you left off.
What gets saved
When you run memo set, the agent stores a structured snapshot, for example:
- Goal
- Completed tasks
- Pending tasks
- Key decisions
- Relevant files (paths only) or references
This keeps restored conversations focused and avoids reloading raw chat history.
Security
Your conversation context is stored in Upstash Redis with encryption enabled at rest and in transit. Data expires automatically after 24 hours (configurable via --ttl-mins).
If you prefer full control over your data, you can self-host both the API and storage using your own infrastructure. See the Self-hosting section below.
Self-hosting
The repo includes both the MCP server and the API. To self-host:
1. Set up environment
Create a .env file with your Upstash Redis credentials:
UPSTASH_REDIS_REST_URL=your-redis-url
UPSTASH_REDIS_REST_TOKEN=your-redis-token
2. Run locally
npx vercel dev
3. Deploy to Vercel
vercel
Set the same environment variables in your Vercel project settings.
4. Point MCP to your API
The MCP server uses https://memo-upstash.vercel.app by default. To use your own API, modify index.ts:
const GET_URL = "https://your-api.vercel.app/api/get";
const SET_URL = "https://your-api.vercel.app/api/set";
Options
--ttl-mins
Set expiration time in minutes. Default is 1440 (24 hours).
{
"mcpServers": {
"memo": {
"command": "npx",
"args": ["-y", "@upstash/memo", "--ttl-mins", "4320"]
}
}
}
License
MIT
インストール
npx -y @upstash/memo設定
{
"mcpServers": {
"memo": {
"command": "npx",
"args": ["-y", "@upstash/memo"]
}
}
}