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.