context-sync
Universal AI Memory - Sync context across Claude, VsCode, Cursor, Continue, Windsurf, Zed & more
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"@context-sync/server": {
"args": [
"@context-sync/server@1.0.1"
],
"command": "npx"
}
}
}
可用工具 (5 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
tavily_search 14 个参数 需填 1 项
Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
必填参数:query
tavily_extract 6 个参数 需填 1 项
Extract content from URLs. Returns raw page content in markdown or text format.
必填参数:urls
tavily_crawl 11 个参数 需填 1 项
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
必填参数:url
tavily_map 8 个参数 需填 1 项
Map a website's structure. Returns a list of URLs found starting from the base URL.
必填参数:url
tavily_research 2 个参数 需填 1 项
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.
必填参数:input
服务介绍
Context Sync
Local-first memory layer for AI development tools via MCP.

# Install and auto-config (60 seconds)
- Install globally:
npm install -g @context-sync/server
-
Auto-config runs on install. Restart your AI tool.
-
Verify tools:
- Claude Desktop: Tools list
- Cursor: Tools list
- VS Code/Copilot: Copilot Chat -> Agent mode -> Tools
- Continue.dev: open Continue panel
- Codex CLI: codex mcp list
- Claude Code: claude mcp list
If auto-config fails, see docs/TROUBLESHOOTING.md and docs/CONFIG.md.
If you installed locally (non-global), auto-config does not run.
# Optional: Notion setup
context-sync-setup
# or
npx context-sync-setup
# Supported platforms
- Claude Desktop
- Cursor
- VS Code + GitHub Copilot
- Continue.dev
- Zed
- Windsurf
- Codeium
- TabNine
- Codex CLI
- Claude Code
- Antigravity (Google Gemini IDE)
# First-time workflow
1) set_project({ path: "/abs/path/to/project" })
2) recall()
3) read_file({ path: "src/index.ts" })
4) remember({ type: "decision", content: "Use SQLite for local storage" })
Tool reference: docs/TOOLS.md
# Data and config
- Database:
~/.context-sync/data.db - Config:
~/.context-sync/config.json - Install status:
~/.context-sync/install-status.json - Custom DB:
context-sync - -db-path /absolute/path/to/dborCONTEXT_SYNC_DB_PATH
More details: docs/DATA.md
# Git hooks
When you run set_project inside a git repo, Context Sync installs hooks:
- post-commit
- pre-push
- post-merge
- post-checkout
Hooks are marked with "Context Sync Auto-Hook" and existing hooks are backed up.
# Docs
- Release notes:
docs/RELEASE_NOTES.md - Manual config:
docs/CONFIG.md - Tools:
docs/TOOLS.md - Troubleshooting:
docs/TROUBLESHOOTING.md - Data and storage:
docs/DATA.md