UM

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

108 stars 13 forks Качество 72 Тренд 0MIT

upstash/memo — это кандидат на сервер MCP, импортированный из https://github.com/upstash/memo.

Обзор

upstash/memo — это кандидат на сервер MCP, импортированный из https://github.com/upstash/memo.

Обзор (машинный перевод)

Сервер MCP, который сохраняет и получает контекст разговоров с ИИ. Бесшовно передаёт разговоры между агентами ИИ. Бесплатно и не требуется аккаунт.

Что он делает

Когда вы работаете с агентом ИИ и вам нужно:

  • Сменить агентов - Клод не может исправить ваш баг? Попробуйте Cursor или Copilot с плотным контекстом
  • Продолжить позже - Сохранить прогресс и продолжить с того места, где остановился
  • Переместить машины - Начните с ноутбука, продолжите на рабочем столе

Просто скажите memo set, и агент сохранит структурированный контекст (цель, выполненные задачи, ожидающие задачи, решения, соответствующие файлы). Получите короткий идентификатор обратно, используйте memo get где угодно для восстановления контекста.

https://github.com/user-attachments/assets/f96798e1-2f8b-4de3-9431-b7bc52c58dfa

Установка

Код Клода

OpenCode

Добавьте к вашему opencode.json:

Claude Desktop / Курсор

Добавьте к вашей конфигурации MCP:

Использование

Сохранить контекст

ИИ резюмирует разговор и возвращает ID вроде 4tJ630XqhCV5gQelx98pu.

Восстановить контекст

ИИ загрузит предыдущий контекст и продолжит с того места, где вы остановились.

Что спасается

Когда вы запускаете memo set, агент хранит структурированный снимок, например:

  • Цель
  • Выполненные задачи
  • Ожидаемые задачи

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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

Открыть полный README на GitHub

Установка

npx -y @upstash/memo
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "memo": { "command": "npx", "args": ["-y", "@upstash/memo"] } } }