Context Sync
Context Sync
MCPを介したAIコーディングツール向けのローカルファーストなプロジェクトメモリ。
Context Syncは、エージェントにコードベースの永続的なメモリレイヤーを提供します:
プロジェクトのアイデンティティと技術スタック
アクティブな作業、決定事項、制約、注意点
構造化されたファイル探索
Gitを認識したコンテキスト
オプションの読み取り専用Notionルックアップ

機能
Context Syncはセッションの継続性のために構築されています。モデルが以前の会話を記憶することに頼るのではなく、重要なプロジェクトコンテキストを保存し、小さなMCPツールインターフェースを通じて取得可能にします。
現在の主要ツールは以下の通りです:
set_projectrememberrecallread_filesearchstructuregitnotion
Related MCP server: Doclea MCP
インストール
グローバルにインストールします:
npm install -g @context-sync/server自動設定はグローバルインストール中に実行されます。インストール後、AIツールを再起動してください。
グローバルではなくローカルにインストールした場合、自動設定は実行されません。docs/CONFIG.mdの手動設定ガイドを使用してください。
検証
context-syncがMCPツールリストに表示されることを確認してください:
Claude Desktop: ツールリストを開く
Cursor: ツールリストを開く
VS Code / Copilot Chat Agentモード: ツールを確認
Continue.dev: Continueパネルを開く
Codex CLI:
codex mcp listClaude Code:
claude mcp list
自動設定が失敗した場合は、docs/TROUBLESHOOTING.mdおよびdocs/CONFIG.mdを参照してください。
オプションのNotion設定
Notion統合が必要な場合は、セットアップウィザードを実行してください:
context-sync-setupまたは:
npx context-sync-setupNotionサポートは、ツールインターフェース上では意図的に読み取り専用となっています:
notion({ action: "search", query: "..." })notion({ action: "read", pageId: "..." })
初回ワークフロー
新しいセッションを開始するたびに、まずプロジェクトを設定してください:
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" })推奨されるパターン:
プロジェクト/セッション開始ごとに1回
set_projectを実行コンテキストを復元するために
recallを実行探索するために
structureとsearchを実行集中した調査のために
read_fileを実行現在のセッションを超えて保持すべき情報がある場合に
rememberを実行
Git統合
Gitリポジトリ内で set_project を実行すると、Context Syncは自動コンテキストキャプチャ用のフックをインストールできます。
インストールされるフック:
post-commitpre-pushpost-mergepost-checkout
フックには Context Sync Auto-Hook というマークが付けられ、既存のフックは事前にバックアップされます。
git ツールは以下をサポートしています:
statuscontexthotspotscouplingblameanalysis
データと設定
デフォルトの場所:
データベース:
~/.context-sync/data.db設定:
~/.context-sync/config.jsonインストールステータス:
~/.context-sync/install-status.json
カスタムデータベースオプション:
CLI:
context-sync --db-path /absolute/path/to/db環境変数:
CONTEXT_SYNC_DB_PATH
ストレージの詳細については docs/DATA.md を参照してください。
サポートされているプラットフォーム
Claude Desktop
Cursor
VS Code + GitHub Copilot
Continue.dev
Zed
Windsurf
Codeium
TabNine
Codex CLI
Claude Code
Antigravity
ドキュメント
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared project memory that keeps teammates and AI agents aligned across sessions.
Persistent engineering memory designed to follow developers across coding agents.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Project memory for every AI. Pick up where you left off in Claude, ChatGPT or Cursor, with a team.
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides AI assistants with persistent memory of your project architecture, development history, and technical decisions, allowing them to give context-aware coding help without needing repeated explanations.1661 npm2MIT

Doclea MCPofficial
AlicenseNot gradedqualityCmaintenanceProvides persistent memory for AI coding assistants, storing and retrieving architectural decisions, patterns, and solutions across sessions using semantic search, while also offering git integration for commit messages and code expertise mapping.MIT- AlicenseNot gradedqualityDmaintenanceUniversal AI memory layer that provides cross-client, cross-repo context management with semantic search, automatic code indexing, and session management. Enables persistent developer memory across projects with typed memories, graph-based relationships, and RAG-powered retrieval.6MIT
- AlicenseAqualityBmaintenanceEnables AI coding assistants to contribute to and query a team-shared project memory, storing human-confirmed decisions with source and scope so work can continue across machines.122Apache 2.0