Logotipo de Context Sync

Context Sync

Comunidad
Intina47

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

EditorIntina47
Repositoriocontext-sync
IdiomaTypeScript
Forks
19
Estrellas
190
Herramientas disponibles
54
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Context Sync ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 54 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    190 estrellas y 19 forks en el repositorio enlazado.

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

Instalación

TypingMind
Requisitos:

Node.js 18+

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

Herramientas disponibles

  • 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.

Usa el MCP de Context Sync con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Context Sync, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Context Sync como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Context Sync.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "intina47-context-sync": {
      "command": "npx",
      "args": [
        "-y",
        "@context-sync/server"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Context Sync y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Context Sync.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Context Sync para ayudarme con esta tarea?
Context Sync
Claro. Lo he leído.
Esto he encontrado usando Context Sync.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Context Sync?

Context Sync es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Context Sync con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Context Sync con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Context Sync con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Context Sync conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Context Sync a TypingMind?

Context Sync funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Context Sync en TypingMind?

Context Sync ofrece 54 herramientas MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Context Sync?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Context Sync requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

project_context

Automatically inject active project context into conversation

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇