
william-garden/sync-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
william-garden/sync-mcp - кандидат на сервер MCP, импортированный из https://github.com/william-garden/sync-mcp.
Обзор
william-garden/sync-mcp - кандидат на сервер MCP, импортированный из https://github.com/william-garden/sync-mcp.
Обзор (машинный перевод)
#ync-mcp
Инструмент MCP Configuration Sync. 中
##1 - Обзор
Sync-mcp - это инструмент командной строки на основе Node.js, предназначенный для решения болевой точки ручной синхронизации универсальных конфигураций MCP в нескольких IDE, редакторах кода и инструментах CLI. Пользователи могут использовать простые команды для безопасной синхронизации файла конфигурации одного инструмента (источника) с другим инструментом (целью), тем самым достигая унифицированного и автоматизированного управления конфигурацией.
#2 Технические характеристики
Node.js 18+ (требует поддержки ESM и современных API).
- Распределение: Распределяется через npm, поддерживает прямое исполнение с npx sync-mcp или глобальную установку с npm i-g sync-mcp. Зависимости от времени выполнения: зависит только от кроссплатформенной файловой системы и библиотек взаимодействия CLI; не требуется нативная среда компиляции. Поддерживаемые платформы: стабильно работает на Linux, Windows и macOS.
##3: Использование
3.1 Прямой синхронизация
Выполняйте синхронизацию напрямую, предоставляя ключевые слова для исходных и целевых инструментов.
3.2 Интерактивный синтезатор
Когда команда выполняется без каких-либо аргументов, она входит в интерактивный режим.
Операционный поток:
1.Выберите источник:
2 Выберите цель:
##4.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
sync-mcp
One-Click MCP Configuration Sync Tool. 中文
1. Overview
sync-mcp is a Node.js-based command-line tool designed to solve the pain point of manually syncing universal MCP configurations across multiple IDEs, code editors, and CLI tools. Users can use simple commands to safely synchronize the configuration file of one tool (source) to another tool (target), thereby achieving unified and automated configuration management.
2. Technical Specifications
- Environment: Node.js 18+ (requires ESM support and modern APIs).
- Distribution: Distributed via npm, supports direct execution with npx sync-mcp or global installation with npm i -g sync-mcp.
- Runtime Dependencies: Only depends on cross-platform file system and CLI interaction libraries; no native compilation environment required.
- Supported Platforms: Runs stably on Linux, Windows, and macOS.
3. Usage
3.1. Direct Sync
Execute synchronization directly by providing keywords for the source and target tools.
npx -y sync-mcp
3.2. Interactive Sync
When the command is executed without any arguments, it enters interactive mode.
npx -y sync-mcp
Operation Flow:
- Select Source:
? Select the configuration source file: (Use arrow keys) > 1. VS Code (~/.vscode/mcp.json) 2. Cursor (~/.cursor/mcp.json) 3. GitHub Copilot CLI (~/.copilot/mcp-config.json) 4. Customize - Select Target:
? Select the configuration target file: (Use arrow keys) > 1. VS Code (~/.vscode/mcp.json) 2. Cursor (~/.cursor/mcp.json) 3. GitHub Copilot CLI (~/.copilot/mcp-config.json) 4. Customize (Select a target tool or create a new configuration)
4. Tool Matching Keywords
| Tool Name | Supported Keywords |
|---|---|
| Codex | codex, openai, codex cli |
| Claude Code | claude, claude-code, claude code, anthropic |
| Cursor | cursor, cursor ide |
| Gemini CLI | gemini, gemini cli, google, gcloud |
| GitHub Copilot CLI | copilot, copilot cli, github, gh |
| Visual Studio Code | vscode, vs code, vs-code, code |
| OpenCode | opencode, open code, anomaly |
5. Supported Tools and Configuration Paths
| Tool Name | Linux Path | macOS Path | Windows Path | Documentation URL |
|---|---|---|---|---|
| Codex | ~/.codex/config.toml |
~/.codex/config.toml |
%USERPROFILE%\.codex\config.toml |
Codex MCP guide |
| Claude Code | ~/.claude.json |
~/.claude.json |
%USERPROFILE%\.claude.json |
Claude Code MCP guide |
| Cursor | ~/.cursor/mcp.json |
~/.cursor/mcp.json |
%USERPROFILE%\.cursor\mcp.json |
Cursor MCP guide |
Установка
npx -y @upstash/context7-mcp --api-key YOUR_API_KEYКонфигурация
{
"mcpServers": {
"context7": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp",
"--api-key",
"YOUR_API_KEY"
],
"env": {}
}
}
}