Relay
Cross-AI memory sync for coding tools.
Что умеет
- List Projects: List all Relay projects you have access to. Returns project IDs, names, slugs, routing keywords, and which project is currently active for this MCP session. Do not call this before the
- Set Current Project: Switch the current Relay project for this token. Use this when the user is clearly working on a different project than the cached one. The switch persists across future MCP calls
- Get Brief: Fetch a project context brief from Relay. This is the default session-start tool. - If projectId is omitted, Relay first tries the cached or token-scoped project. - If that fails, Relay res
Какие данные видит
Нужен ли аккаунт
Нужен API-ключ из настроек сервиса
Cross-AI memory sync for coding tools. Relay keeps project context — decisions, progress, constraints, and notes - synchronized across ChatGPT, Claude, Cursor, Codex, and other AI assistants. Capture conversations from any AI tool on the web and with agents, then access unified project memory via MCP. Tools include project briefs, memory search, context saving, and structured state management. Set up in one command with npx @onrelay/wizard.
Как подключить
Как подключить Relay к Claude
Адрес сервера, который нужно вставить в настройках Claude:
https://relay--onrelay.run.tools
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить Relay к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://relay--onrelay.run.tools
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить Relay к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://relay--onrelay.run.tools
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (6)
Технические названия из tools/list. Нужны только разработчикам.
| list_projects | List all Relay projects you have access to. Returns project IDs, names, slugs, routing keywords, and which project is currently active for this MCP session. Do not call this before the first get_brief unless Relay explicitly reports project ambiguity or resolves to the wrong project. |
| set_current_project | Switch the current Relay project for this token. Use this when the user is clearly working on a different project than the cached one. The switch persists across future MCP calls with the same token. Call list_projects first to find the correct projectId. |
| get_brief | Fetch a project context brief from Relay. This is the default session-start tool. - If projectId is omitted, Relay first tries the cached or token-scoped project. - If that fails, Relay resolves the project only when there is a single obvious candidate. - Only call list_projects and set_current_project if get_brief reports ambiguity or the wrong project. |
| recall | Unified read tool — replaces recall_context, search_context, get_project_state, list_memory, get_memory, list_sessions, list_recent_activity, trace_context_sources, and list_briefs. - No params → project state overview - query → hybrid search + project state - memoryId → single item detail - include: ["sessions"] → list sessions - include: ["activity"] → recent activity - include: ["briefs"] → list briefs - tracePhrase → trace provenance of a phrase - filters → filter memory listing by type/tags/pinned/archived If returned context is stale, completed, contradicted, or superseded, clean it up with save action: "manage_memory" or correct project state with save action: "set_state". |
| save | Unified write tool — replaces save_context, checkpoint_context, add_memory, manage_memory, set_project_state, update_project, archive_session, regenerate_brief, and delete_brief. Actions: save_session, checkpoint, add_memory, manage_memory, set_state, update_project, archive_session, regenerate_brief, delete_brief. Pass action-specific fields in payload. Use manage_memory whenever get_brief or recall shows stale, completed, contradicted, or superseded context. |
| sources | Project-governed source lifecycle for Relay docs and repository sources. Use resolve to find evidence-backed source candidates, index to add URLs, search/read/explore/grep/context_pack to retrieve citations, import to store external Context7/Nia citations, refresh to update indexed sources, and promote only when the user wants a citation saved into durable memory. |