
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@context-sync/server
Advanced tools
MCP server for AI context sync with persistent memory, workspace file access, and intelligent code operations
Give Claude perfect memory across all your chats.
Context Sync is an MCP server that remembers your projects, decisions, and conversations across every Claude chat - automatically.
You're building with AI. You know this pain:
Monday - Chat 1:
You: "I'm building TaskFlow with Next.js and Supabase"
Claude: "Great! Let me help..."
Wednesday - Chat 2 (NEW):
You: "How's the project going?"
Claude: "What project?" 😤
You: *internal screaming*
Every new chat = Claude forgets everything. You explain the same thing 10 times.
This is infuriating.
Context Sync gives Claude persistent memory across all your chats:
Monday - Chat 1:
You: "Building TaskFlow with Next.js and Supabase"
Claude: "Got it, saved to context"
Wednesday - Chat 2 (BRAND NEW):
You: "How's TaskFlow going?"
Claude: "TaskFlow is looking great! We set up Next.js 14
with Supabase. Want to continue with authentication?"
🤯 You never mentioned TaskFlow in Chat 2!
Works automatically. Zero manual context loading.
npm install -g @context-sync/server
That's it! The package will automatically:
npx @context-sync/server
# Clone the repository
git clone https://github.com/Intina47/context-sync.git
cd context-sync
# Run the universal setup script
node setup.js
The script will:
Cmd+Q then reopenOpen Claude and try:
You: Initialize a project called "my-app" with React and TypeScript
Claude: Project "my-app" initialized and set as active.
You: We decided to use Zustand for state management
Claude: Decision saved.
Now open a completely new chat and say:
You: What project am I working on?
Claude: You're working on "my-app" (React + TypeScript),
and you recently decided to use Zustand for state management.
🤯 It remembered across chats!
┌──────────┐
│ Claude │──┐
└──────────┘ │
│ ┌────────────────┐
┌──────────┐ ├───▶│ Context Sync │
│ Cursor │──┤ │ MCP Server │
└──────────┘ │ └────────────────┘
│ │
┌──────────┐ │ ▼
│ Copilot │──┘ ┌──────────────┐
└──────────┘ │ SQLite DB │
│ ~/.context- │
│ sync/ │
└──────────────┘
All your context is stored locally in ~/.context-sync/data.db
src/
├── index.ts # CLI entry point
├── server.ts # MCP server implementation
├── storage.ts # SQLite storage layer
└── types.ts # TypeScript types
Stack:
You: Initialize project "TaskFlow" with Next.js 14 and Supabase
Context Sync creates a project and starts tracking context.
You: We'll use NextAuth for authentication because it
integrates better with Next.js
Claude saves: Decision: NextAuth for auth - Better Next.js integration
Open any new chat, and Claude automatically knows:
No manual "load context" needed. It just works.
Monday: Start project with Claude
Tuesday: Continue in new chat - context preserved
Friday: Come back - Claude remembers everything
Project A: E-commerce site (React + Stripe)
Project B: Blog engine (Astro + MDX)
Project C: Mobile app (React Native)
Switch between them - Claude knows which is active
"Why did we choose Postgres over MongoDB?"
Claude: "3 weeks ago, you chose Postgres because..."
[Retrieves exact reasoning from history]
Context Sync provides these tools to Claude:
init_projectInitialize or switch to a project
{
"name": "my-app",
"architecture": "Next.js 14 + TypeScript + Supabase",
"path": "/path/to/project"
}
get_project_contextGet current project context (called automatically)
{
"project": "my-app",
"techStack": ["Next.js", "TypeScript", "Supabase"],
"recentDecisions": [...]
}
save_decisionSave an important decision
{
"type": "library",
"description": "Using Zustand for state management",
"reasoning": "Simpler than Redux"
}
save_conversationArchive important conversation snippets
{
"content": "User prefers functional components",
"role": "user"
}
Read your actual codebase. No more copy-pasting.
Context Sync now has IDE-like capabilities! Point Claude to your project folder and it can:
You: Set workspace to /Users/me/my-app
Claude: ✅ Workspace set! I can now read your files.
You: How does authentication work?
Claude: [reads src/lib/auth.ts]
Claude: You're using NextAuth with JWT. Here's how it works...
No manual file sharing. Just natural conversation.
set_workspaceOpen a project folder (like opening in VS Code)
You: Set workspace to C:\projects\my-app
read_fileRead any file using relative paths
You: Read src/components/Header.tsx
get_project_structureSee your file/folder tree
You: Show me the project structure
Returns:
📂 Project Structure:
├── 📋 package.json
├── 📝 README.md
├── 📁 src/
│ ├── 📁 app/
│ ├── 📁 components/
│ └── 📁 lib/
scan_workspaceGet intelligent project overview
You: Scan the workspace
Returns:
Example 1: Code Understanding
You: Set workspace to /my/ecommerce-app
You: How do products get from database to UI?
Claude: [reads src/lib/db.ts, api/products/route.ts, ProductCard.tsx]
Claude: Here's the data flow:
1. Database query in db.ts
2. API route fetches products
3. ProductCard displays them
[explains each step]
Example 2: Debugging
You: I'm getting a TypeScript error in Header component
Claude: [reads src/components/Header.tsx]
Claude: Found it! Line 12 - you're passing a string where
a number is expected. Here's the fix...
Example 3: Project Onboarding
You: I just joined this project. What is it?
Claude: [scans workspace]
Claude: This is a Next.js 14 e-commerce app:
- Frontend: React + TypeScript + Tailwind
- Backend: Next.js API routes
- Database: PostgreSQL with Prisma
- Auth: NextAuth
Key files:
- src/app/page.tsx - Homepage
- src/lib/db.ts - Database config
- src/lib/auth.ts - Authentication
📘 TypeScript • ⚛️ React/TSX • 📜 JavaScript • 🐍 Python
🦀 Rust • 🔷 Go • ☕ Java • 🎨 CSS • 🌐 HTML
📋 JSON • 📝 Markdown • and 15+ more!
Full guide: See WORKSPACE.md for:
[TODO: Add demo GIF]
Watch Context Sync in action:
All context is stored locally at:
~/.context-sync/data.db%USERPROFILE%\.context-sync\data.dbYour data never leaves your machine.
# Switch between projects
You: "Switch to my blog project"
Claude: [loads blog context]
You: "What projects do I have?"
Claude: Lists all your projects
# Inspect the database
sqlite3 ~/.context-sync/data.db
sqlite> SELECT * FROM projects;
sqlite> SELECT * FROM decisions;
If the setup script fails, manually edit your Claude config:
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"context-sync": {
"command": "node",
"args": [
"/absolute/path/to/context-sync/dist/index.js"
]
}
}
}
ls dist/index.jsnode dist/index.jsInitialize a project first:
You: Initialize a project called "test"
Check Claude logs:
~/Library/Logs/Claude/%LOCALAPPDATA%\Claude\logs\~/.local/state/Claude/logs/See TROUBLESHOOTING.md for detailed help.
See ROADMAP.md for full details.
Contributions welcome! This is an open-source project and we'd love your help.
Ways to contribute:
See CONTRIBUTING.md for guidelines.
Priority areas:
MIT License - see LICENSE for details.
If Context Sync saves you time and frustration, give it a star! ⭐
It helps others discover the project and motivates continued development.
~/.context-sync/data.db - it's a SQLite database on your machine.
Not yet. ChatGPT web doesn't support MCP. We'd need a browser extension.
Not yet in this MVP. Cursor supports MCP, so it's planned for Phase 2.
No. Everything stays local on your machine.
Use init_project to switch between them. Only one project is "active" at a time.
git clone https://github.com/Intina47/context-sync.git
cd context-sync
node setup.js
Stop repeating yourself. Give Claude the memory it deserves.
Made with ❤️ by developers tired of explaining the same thing 10 times
Get Started • Demo • Roadmap • Contributing
FAQs
Universal Context layer McP server
The npm package @context-sync/server receives a total of 59 weekly downloads. As such, @context-sync/server popularity was classified as not popular.
We found that @context-sync/server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.