File comparison, multimedia management, and developer workspace tools using Beyond Compare
翻譯準備中
開發工具Python · TypeScriptGitHub @sandraschi自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
正在載入完整 README。 以下為已儲存的摘錄。
📖 Installation Guide — quick start, manual setup, and troubleshooting
A modern MCP server that provides comprehensive file comparison, multimedia management, and developer workspace tools using Beyond Compare. Features 13 powerful tools for everything from file comparison to repository backup and workspace analysis.
This opens an interactive dashboard showing all available commands. Run just bootstrap to install dependencies, then just serve or just dev to start.檢視完整 README ↗📖 Installation Guide — quick start, manual setup, and troubleshooting
A modern MCP server that provides comprehensive file comparison, multimedia management, and developer workspace tools using Beyond Compare. Features 18 tools (13 comparison/workspace + status/help/shutdown + 2 agentic) for everything from file comparison to repository backup and workspace analysis.
git clone https://github.com/sandraschi/beyondcompare-mcp
cd beyondcompare-mcp
just
This opens an interactive dashboard showing all available commands. Run just bootstrap to install dependencies, then just serve or just dev to start.
If you don't have just installed:
Production Ready - Comprehensive security audit passed
Input Validation - Command injection and path traversal protection
Secure Dependencies - Official MCP SDK 2.11+ with verified packages
Test Coverage - 20% measured coverage (2026-10-13; 29 passed, 26 platform-gated skips), enforced floor in CI
Modern Architecture - Python 3.10+ with type hints and async support
Run immediately via uvx:
uvx beyondcompare-mcp
Add to your claude_desktop_config.json:
"mcpServers": {
"beyondcompare-mcp": {
"command": "uv",
"args": ["--directory", "D:/Dev/repos/beyondcompare-mcp", "run", "beyondcompare-mcp"]
}
}
For Claude Desktop users (Windows):
irm https://github.com/sandraschi/beyondcompare-mcp/releases/latest/download/install.ps1 | iex
Or download beyondcompare-mcp.mcpb from the latest release and drag it into Claude Desktop (Settings > MCP > Install Extension).
Beyond Compare will be auto-detected (or configure the path when prompted).
For other clients (Cursor, VS Code, Claude Code):
"mcpServers": {
"beyondcompare-mcp": {
"command": "uvx",
"args": ["--from", "git+https://github.com/sandraschi/beyondcompare-mcp", "beyondcompare-mcp"]
}
}
git clone https://github.com/sandraschi/beyondcompare-mcp.git
cd beyondcompare-mcp
pip install -e ".[dev]"
The MCP server auto-detects Beyond Compare installation (including Beyond Compare 5), but you can customize via environment variables:
# Optional: Path to Beyond Compare executable (auto-detected if not specified)
BEYOND_COMPARE_PATH="C:\\Program Files\\Beyond Compare 4\\BCompare.exe"
# Optional: Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
LOG_LEVEL=INFO
# Optional: Directory to store temporary script files
BC_SCRIPTS_DIR="./bc_scripts"
# Optional: Command timeout in seconds
COMMAND_TIMEOUT=30
The MCP server provides 18 tools for file comparison, multimedia management, and developer workflows (13 comparison/workspace + bc_status/bc_help/bc_shutdown + 2 agentic):
compare_filesCompare two files using Beyond Compare's engine
{
"name": "compare_files",
"arguments": {
"left_path": "/path/to/file1.txt",
"right_path": "/path/to/file2.txt",
"output_report": "/path/to/report.html"
}
}
compare_foldersCompare two directories with optional subfolder inclusion
{
"name": "compare_folders",
"arguments": {
"left_path": "/path/to/folder1",
"right_path": "/path/to/folder2",
"include_subfolders": true,
"output_report": "/path/to/report.html"
}
}
sync_foldersSynchronize directories using Beyond Compare
{
"name": "sync_folders",
"arguments": {
"source_path": "/path/to/source",
"target_path": "/path/to/target",
"sync_mode": "mirror",
"dry_run": true
}
}
Sync Modes:
mirror: Make target identical to sourceupdate: Copy newer files from source to targetbackup: Copy only missing files to targetmultimedia_drive_scannerScan multimedia drives (E:, F:, K:, L:) for complete inventory with filtering options
find_multimedia_duplicatesFind duplicate multimedia files across drives using content hashing
detect_usb_drivesDetect and list all connected USB drives with detailed information
backup_dev_repositoriesSmart backup of development repositories with intelligent filtering
node_modules, __pycache__, build artifactsD:/dev/repos with space optimizationanalyze_dev_workspaceComprehensive analysis of development workspace
scan_repo_healthScan repository health and identify potential issues
cleanup_dev_artifactsClean up build artifacts and temporary files across repositories
node_modules, __pycache__, .next, dist/ foldersfind_duplicate_codeFind duplicate code across repositories for refactoring opportunities
compare_workspace_snapshotsCompare workspace snapshots to identify changes over time
selective_restoreSelectively restore specific projects or files from backup
bc_status · 15. bc_help · 16. bc_shutdownServer health (Prefab card), tool catalog/help, and orderly self-termination.
beyondcompare_agentic_workflow · 18. beyondcompare_sampling_hintNatural-language multi-step goals via ctx.sample() (needs a sampling-capable client).
# Install development dependencies
pip install -e ".[dev]"
# Run tests with coverage
pytest --cov=beyondcompare_mcp --cov-report=term-missing
# Code formatting
black src tests
isort src tests
# Type checking
mypy src
This repository is SOTA 2026 compliant and uses the officially validated @anthropic-ai/mcpb workflow for distribution.
To generate a .mcpb distribution bundle with complete source code and automated build exclusions:
# SOTA 2026 standard pack command
mcpb pack . dist/beyondcompare-mcp.mcpb
.. detection| Component | Requirement |
|---|---|
| Python | 3.10+ |
| Beyond Compare | 4.0+ (Beyond Compare 5 verified working) |
| Memory | 100MB+ available |
| Disk Space | 10MB for DXT package |
| OS | Windows 10+, macOS 10.15+, Linux (Ubuntu 20.04+) |
Contributions welcome! Please see:
This project adheres to SOTA 14.1 industrial standards for high-fidelity agentic orchestration:
print statements in core handlers (T201).noConsoleLog enforcement.stdout/stderr isolation to ensure crash-resistant JSON-RPC communication.just lint, just fix, just dev).bandit and safety.MIT License - see LICENSE file for details.
** Ready for production use with verified functionality, comprehensive security, and full MCP compliance.**
This project prioritizes working functionality over marketing claims.
web_sota)Fleet ports: 10840 (Vite frontend), 10841 (unified FastAPI + FastMCP gateway: REST + MCP on /mcp).
uv run python -m beyondcompare_mcp.server --http --port 10841cd web_sota then bun run dev (bun is the fleet package manager; bun.lock committed)http://127.0.0.1:10840 (Vite proxies /api and /mcp to the gateway).Operator reference: docs/FLEET_GATEWAY.md. Health probe for automation: GET http://127.0.0.1:10841/api/v1/health.