Basic information
About Claude Context Sync MCP Server
Share context, detect file conflicts, and send messages across parallel Claude Code sessions
Claude Context Sync is a MCP server in the AI & Agents category listed in the AddMCP.net directory, published by ybin4548. It exposes 6 tools, including list_sessions, get_session_context, get_all_changes, resolve_conflicts and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: claude-code, conflict-detection, context-sharing, mcp, messaging.
Setup
{
"mcpServers": {
"claude-context-sync": {
"command": "npx",
"args": [
"-y",
"claude-context-sync",
"serve"
]
}
}
}
{
"mcpServers": {
"claude-context-sync": {
"command": "npx",
"args": [
"-y",
"claude-context-sync",
"serve"
]
}
}
}
{
"servers": {
"claude-context-sync": {
"command": "npx",
"args": [
"-y",
"claude-context-sync",
"serve"
]
}
}
}
Claude Context Sync MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"claude-context-sync": {
"command": "npx",
"args": [
"-y",
"claude-context-sync",
"serve"
]
}
}
}
Claude Context Sync MCP Server tools
-
list_sessions
— 활성 Claude Code 세션 목록과 요약 상태를 반환합니다
(no parameters) -
get_session_context
— 특정 세션의 구조화된 요약을 반환합니다. 낙후된 경우 자동으로 재요약합니다.
sessionId:string* -
get_all_changes
— 모든 세션의 변경 파일과 결정사항을 통합하여 반환합니다
project:string -
resolve_conflicts
— 충돌이 해결된 파일을 추적 목록에서 제거합니다
sessionId:string*, files:array* -
send_message
— 다른 세션에 메시지를 전달합니다. targetSessionId 생략 시 같은 프로젝트의 모든 세션에 브로드캐스트합니다.
fromSessionId:string*, message:string*, project:string*, targetSessionId:string -
get_messages
— 세션의 수신 메시지 이력을 조회합니다
sessionId:string*, unreadOnly:boolean
Overview
What is Claude Context Sync?
Claude Context Sync is an MCP server that automatically summarizes and shares context across parallel Claude Code sessions. It watches session logs, generates structured summaries on demand, and provides real-time file conflict detection and cross-session messaging for developers running multiple Claude Code sessions simultaneously.
How to use Claude Context Sync?
Install globally with npm install -g claude-context-sync then run context-sync init. The MCP server starts automatically the next time you open Claude Code, and the init command registers a conflict detection hook. Four tools are available: list_sessions, get_session_context, get_all_changes, send_message, get_messages, and resolve_conflicts.
Key features of Claude Context Sync
- Session context sharing across parallel Claude Code sessions
- Real-time file conflict detection with symbol-level accuracy
- Cross-session messaging between terminals without switching
- Lazy evaluation with zero cost when tools aren't called
- Auto-cleanup of tracked data when sessions end
- Symbol-level detection for TypeScript, Python, Swift, Go, and Rust
Use cases of Claude Context Sync
- Working on multiple features simultaneously with full context awareness
- Preventing file conflicts when multiple sessions edit the same codebase
- Sending messages between sessions without leaving the terminal
- Getting a bird's-eye view of all active Claude Code sessions and their changes
Frequently asked questions
1 How does Claude Context Sync share context between sessions?
It watches your session logs for changes, marks sessions as stale at zero cost, and when a tool is called it summarizes only stale sessions by parsing .jsonl files and generating structured summaries using claude -p.
2 What languages are supported for symbol-level conflict detection?
TypeScript/JavaScript, Python, Swift, Go, and Rust. Unsupported file types fall back to file-level conflict detection only.
3 Does Claude Context Sync require a separate daemon process?
No. It runs as a single MCP server process that Claude Code launches automatically via stdio transport with no separate daemon.
4 Where is session data stored and when is it cleaned up?
Data is stored locally in ~/.claude/context-sync/ and tracked data is automatically removed when sessions end.
5 What are the runtime requirements?
Node.js 20+, the Claude Code CLI (claude command available), and jq for the conflict detection hook.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In