Логотип Context Sync

Context Sync

Спільнота
Intina47

Local persistent memory store for LLM applications including continue.dev, cursor, claude desktop, github copilot, codex, antigravity, etc.

ВидавецьIntina47
Репозиторійcontext-sync
МоваTypeScript
Форки
19
Зірки
190
Доступні інструменти
54
Тип транспортуstdio
Категорії
ЛіцензіяMIT
Посилання
  • Підключайте інструменти до робочих процесів із ШІ

    Context Sync надає можливості MCP, які можуть використовувати сумісні клієнтські ШІ-застосунки та агенти.

  • Доступні інструменти: 54

    Перегляньте нижче дії, які можна викликати, з назвами й описами, якщо сервер їх надає.

  • Готова конфігурація для копіювання

    Скористайтеся прикладами конфігурації, щоб налаштувати цей сервер у вибраному клієнті MCP.

  • Показники інтересу до відкритого коду

    Зірки: 190, форки: 19 — у пов’язаному репозиторії.

Context Sync

Local-first project memory for AI coding tools over MCP.

Context Sync gives an agent a persistent memory layer for a codebase:

  • project identity and tech stack
  • active work, decisions, constraints, and caveats
  • structured file exploration
  • git-aware context
  • optional read-only Notion lookup

Context Sync

What It Does

Context Sync is built for session continuity. Instead of relying on a model to remember earlier conversations, it stores the project context that matters and makes it retrievable through a small MCP tool surface.

The current core tools are:

  • set_project
  • remember
  • recall
  • read_file
  • search
  • structure
  • git
  • notion

Install

Install globally:

bash
npm install -g @context-sync/server

Auto-configuration runs during global install. After install, restart your AI tool.

If you install locally instead of globally, auto-config does not run. Use the manual config guide in docs/CONFIG.md.

Verify

Check that context-sync appears in your MCP tool list:

  • Claude Desktop: open the tools list
  • Cursor: open the tools list
  • VS Code / Copilot Chat Agent mode: check tools
  • Continue.dev: open the Continue panel
  • Codex CLI: codex mcp list
  • Claude Code: claude mcp list

If auto-config fails, use docs/TROUBLESHOOTING.md and docs/CONFIG.md.

Optional Notion Setup

Run the setup wizard if you want Notion integration:

bash
context-sync-setup

or:

bash
npx context-sync-setup

Notion support is intentionally read-only at the tool surface:

  • notion({ action: "search", query: "..." })
  • notion({ action: "read", pageId: "..." })

First-Time Workflow

Start every new session by setting the project first:

text
1. set_project({ path: "/absolute/path/to/project" })
2. recall()
3. structure({ depth: 2 })
4. read_file({ path: "src/index.ts" })
5. remember({ type: "decision", content: "Use SQLite for local storage" })

Recommended pattern:

  • set_project once per project/session start
  • recall to recover context
  • structure and search to explore
  • read_file for focused inspection
  • remember when something should survive the current session

Git Integration

When you run set_project inside a git repository, Context Sync can install hooks for automatic context capture.

Installed hooks:

  • post-commit
  • pre-push
  • post-merge
  • post-checkout

Hooks are marked with Context Sync Auto-Hook, and existing hooks are backed up first.

The git tool supports:

  • status
  • context
  • hotspots
  • coupling
  • blame
  • analysis

Data And Config

Default locations:

  • Database: ~/.context-sync/data.db
  • Config: ~/.context-sync/config.json
  • Install status: ~/.context-sync/install-status.json

Custom database options:

  • CLI: context-sync --db-path /absolute/path/to/db
  • Env var: CONTEXT_SYNC_DB_PATH

See docs/DATA.md for storage details.

Supported Platforms

  • Claude Desktop
  • Cursor
  • VS Code + GitHub Copilot
  • Continue.dev
  • Zed
  • Windsurf
  • Codeium
  • TabNine
  • Codex CLI
  • Claude Code
  • Antigravity

Docs

Встановлення

TypingMind
Передумови:

Node.js 18+

{
  "mcpServers": {
    "intina47-context-sync": {
      "command": "npx",
      "args": [
        "-y",
        "@context-sync/server"
      ]
    }
  }
}

Доступні інструменти

  • get_project_context

    Get the current project context including recent decisions and conversations

  • save_decision

    Save an important technical decision or architectural choice

  • save_conversation

    Save a conversation snippet for future reference

  • set_workspace

    Set workspace directory and initialize project. Automatically detects project type, validates path, and offers to initialize Context Sync features with user consent. This is the primary command for starting work on any project.

  • read_file

    Read a file from the current workspace

  • get_project_structure

    Get the file/folder structure of current workspace

  • scan_workspace

    Scan workspace and get overview of important files

  • create_file

    Preview file creation (does NOT create the file yet)

  • modify_file

    Preview file modification (does NOT modify the file yet)

  • delete_file

    Preview file deletion (does NOT delete the file yet)

  • apply_create_file

    Actually create the file after user approval

  • apply_modify_file

    Actually modify the file after user approval

  • apply_delete_file

    Actually delete the file after user approval

  • undo_file_change

    Undo the last modification to a file

  • search_files

    Search for files by name or pattern

  • search_content

    Search file contents for text or regex

  • find_symbol

    Find function, class, or variable definitions

  • git_status

    Check git repository status

  • git_diff

    View git diff for file(s)

  • git_branch_info

    Get git branch information

  • suggest_commit_message

    Suggest a commit message based on changes

  • analyze_dependencies

    Analyze import/export dependencies for a file. Returns all imports, exports, files that import this file, and circular dependencies.

  • get_dependency_tree

    Get a tree view of all dependencies for a file, showing nested imports up to a specified depth.

  • find_importers

    Find all files that import a given file. Useful for understanding what depends on this file.

  • detect_circular_deps

    Detect circular dependencies starting from a file. Shows all circular dependency chains.

  • analyze_call_graph

    Analyze the call graph for a function. Shows what functions it calls (callees) and what functions call it (callers).

  • find_callers

    Find all functions that call a given function. Useful for impact analysis.

  • trace_execution_path

    Trace all possible execution paths from one function to another. Shows the call chain.

  • get_call_tree

    Get a tree view of function calls starting from a given function.

  • find_type_definition

    Find where a type, interface, class, or enum is defined.

  • get_type_info

    Get complete information about a type including properties, methods, and usage.

  • find_type_usages

    Find all places where a type is used in the codebase.

  • switch_platform

    Switch between AI platforms (Claude ↔ Cursor) with full context handoff

  • get_platform_status

    Check which AI platforms have Context Sync configured

  • get_platform_context

    Get context specific to a platform (conversations, decisions)

  • discover_ai_platforms

    Discover and explore available AI platforms with setup information and compatibility details

  • get_platform_recommendations

    Get personalized AI platform recommendations based on user needs and current setup

  • setup_cursor

    Get instructions for setting up Context Sync in Cursor IDE

  • get_started

    Get started with Context Sync - shows installation status, current state, and guided next steps

  • debug_session

    Debug session state and project information for multi-project testing

  • get_performance_report

    Get performance metrics and statistics for database operations and system performance

  • todo_create

    Create a new todo item. If no projectId is specified, the todo will be automatically linked to the current active project (if any).

  • todo_get

    Get a specific todo item by ID

  • todo_list

    List todos with optional filters. Returns todos grouped by priority. By default, shows todos for the current active project. Use projectId parameter to view todos from other projects, or omit projectId to see all todos.

  • todo_update

    Update a todo item. Only provided fields will be updated.

  • todo_delete

    Delete a todo item

  • todo_complete

    Mark a todo as completed (shortcut for updating status)

  • todo_stats

    Get statistics about todos (counts by status, priority, overdue, etc.)

  • todo_tags

    Get a list of all unique tags used in todos

  • migrate_database

    Migrate and merge duplicate projects by normalized path. This tool helps clean up database duplicates caused by path variations (case differences, trailing slashes, package.json vs folder names). AI assistants can help users run this to clean up their Context Sync database.

  • get_migration_stats

    Get statistics about duplicate projects without running migration. Shows how many duplicates exist and what would be merged.

  • check_migration_suggestion

    Check if the user should be prompted for database migration based on current version and duplicate detection. Provides smart migration recommendations.

  • analyze_conversation_context

    Analyze recent conversation for important context that should be saved automatically. Detects decisions, todos, and insights that need to be preserved in Context Sync.

  • suggest_missing_context

    Analyze current project state and suggest what important context might be missing from Context Sync. Helps ensure comprehensive project documentation.

Використовуйте MCP Context Sync з різними моделями ШІ

TypingMind підключає інструменти MCP на рівні робочого простору, тож після підключення Context Sync ви можете використовувати їх із різними моделями ШІ в TypingMind, а не налаштовувати окремо для кожної моделі. Ця інтеграція MCP працює локально через конектор MCP TypingMind на вашому пристрої.

Інструкція з налаштування локального конектора

Виберіть цей варіант, якщо серверу MCP потрібен доступ до локальних файлів, програм або приватних ресурсів на вашому комп’ютері.

1

Відкрийте налаштування MCP

У TypingMind перейдіть до розділу «Налаштування», відкрийте «Розширені налаштування», потім «Протокол контексту моделі» й виберіть «Параметри конектора».

  1. Відкрийте TypingMind у браузері.
  2. Натисніть значок налаштувань.
  3. Перейдіть до розділу «Розширені налаштування».
  4. Відкрийте розділ «Протокол контексту моделі».
  5. Натисніть «Параметри конектора» й виберіть «Цей пристрій».
Екран налаштування конектора MCP у TypingMind з вибраним варіантом «Цей пристрій»
2

Виконайте команду конектора

Виберіть «Цей пристрій», скопіюйте команду з TypingMind і виконайте її в терміналі. Не зупиняйте процес, поки користуєтеся MCP.

  1. Скопіюйте команду налаштування, показану в TypingMind.
  2. Відкрийте «Термінал» у macOS або Windows Terminal у Windows.
  3. Вставте й виконайте команду.
  4. Підтвердьте встановлення пакета, якщо термінал запитає дозволу продовжити.
  5. Не закривайте вікно термінала й не зупиняйте процес, поки користуєтеся інструментами MCP.
3

Додайте Context Sync як сервер

Коли статус конектора зміниться на «Готово», натисніть «Змінити сервери» та вставте конфігурацію сервера MCP.

  1. Зачекайте, доки статус конектора зміниться на «Готово».
  2. Натисніть «Змінити сервери».
  3. Вставте конфігурацію сервера MCP Context Sync.
  4. Збережіть список серверів.
  5. Оновіть дані, щоб переконатися, що конектор досі готовий до роботи.
Налаштування MCP у TypingMind з активним сервером і кнопкою «Змінити сервери»
{
  "mcpServers": {
    "intina47-context-sync": {
      "command": "npx",
      "args": [
        "-y",
        "@context-sync/server"
      ]
    }
  }
}
4

Використовуйте підключення з різними моделями

Збережіть список серверів, відкрийте «Плагіни», увімкніть інструменти MCP для Context Sync, а потім виберіть будь-яку підтримувану модель ШІ в TypingMind і використовуйте інструменти в чаті або призначте їх агенту ШІ.

  1. Відкрийте сторінку «Плагіни» в TypingMind.
  2. Увімкніть інструменти MCP для Context Sync.
  3. Почніть чат і виберіть модель ШІ, яку хочете використовувати.
  4. Використовуйте інструменти MCP у чаті або призначте їх агенту ШІ.
  5. За потреби перемикайтеся на іншу модель ШІ без повторного підключення MCP.
Чат TypingMind із використанням увімкнених інструментів MCP і вибраної моделі ШІ
Допоможете з цим завданням через Context Sync?
Context Sync
Звісно. Я це прочитав.
Ось що я знайшов за допомогою Context Sync.

Поширені запитання

Для чого використовується сервер MCP Context Sync?

Context Sync — це сервер MCP, який дає змогу сумісним клієнтам ШІ підключатися до зовнішніх інструментів і контексту. У TypingMind ви можете додати цей сервер MCP один раз і зробити його інструменти доступними у своєму робочому просторі ШІ.

Чи можу я використовувати MCP Context Sync з кількома моделями ШІ в TypingMind?

Так. TypingMind підключає інструменти MCP на рівні робочого простору, тому ви можете використовувати Context Sync з різними моделями ШІ, як-от Claude, ChatGPT, Gemini або іншими моделями, які ви налаштували в TypingMind, без окремого налаштування сервера MCP для кожної моделі.

Навіщо використовувати MCP Context Sync із TypingMind?

TypingMind — один із найкращих інтерфейсів для чату з великими мовними моделями, адже він об’єднує різні моделі ШІ, промпти, плагіни, агентів ШІ, ключі API та інструменти MCP в одному робочому просторі. Підключивши Context Sync, ви зможете використовувати його інструменти MCP з вибраними моделями та впорядковано працювати з чатами в TypingMind.

Як підключити MCP Context Sync до TypingMind?

Context Sync працює через локальний конектор MCP TypingMind. Це найкращий варіант, коли серверу MCP потрібен доступ до локальних файлів, настільних застосунків, інструментів командного рядка або приватних ресурсів на вашому комп’ютері.

Які інструменти надає MCP Context Sync у TypingMind?

Context Sync надає інструменти MCP (54), які можна ввімкнути на сторінці «Плагіни» в TypingMind і використовувати в чаті або призначати агентам ШІ.

Чи потрібно передавати свої ключі API в TypingMind, щоб використовувати MCP Context Sync?

Ні. TypingMind орієнтований насамперед на локальну роботу й дає змогу зберігати контроль над постачальниками моделей, ключами API, промптами та конфігурацією MCP. Якщо Context Sync потребує автентифікації, під час створення підключення додайте потрібні заголовки, налаштування OAuth або локальну конфігурацію для цього сервера MCP.

project_context

Automatically inject active project context into conversation

Схожі сервери MCP

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇