BACH CodeCommander
概览
作者提供的说明(英文原文)
17 tools for code analysis, JSON repair, encoding fix, format conversion, diff, and regex.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i2 项中通过 2 项依据公开信息检查;尚未扫描代码
- 使用情况i起步阶段↓ 71/周 · ★ 4
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:2 项中通过 2 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 注册中心没有列出需要填写的密钥。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"bach-codecommander": {
"command": "npx",
"args": [
"-y",
"bach-codecommander-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add bach-codecommander -- npx -y bach-codecommander-mcp或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"bach-codecommander": {
"command": "npx",
"args": [
"-y",
"bach-codecommander-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"bach-codecommander": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"bach-codecommander-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 lukisch 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于前天
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5719 个服务器的 81%
- 发布到注册中心的时间比此分类中其他 5719 个服务器的 4% 更新
- 基础检查结果等于或优于此分类中其他 5719 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
BACH CodeCommander 安全吗?
它在 2 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于前天,最新版本(1.3.0)于9个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:REA, Netdata, Front-End Checklist
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
ellmos CodeCommander MCP Server
English | Deutsch | Español | 简体中文 | 日本語 | Русский | Français | हिन्दी | العربية | বাংলা | Português
The README navigation lists the available documentation languages. Section 11 separately describes the runtime languages used for tool output messages and diagnostics. This does not claim that MCP discovery or schema descriptions, the GUI, CLI, or API are translated.
*Part of the ellmos-ai family.*
[!NOTE]
For AI Assistants & LLMs: Machine-readable indexing documentation for this repository is available at
llms.txt. The server exposes 23 specialized tools under thecc_prefix.
A developer-focused Model Context Protocol (MCP) server that gives AI assistants code analysis, structural Python editing, JSON repair, encoding fix, import organization, format conversion, file diff, and regex testing capabilities.
23 tools optimized for developers - the coding companion to FileCommander.
Discoverability: Published on npm as ellmos-codecommander-mcp, visible on Glama, and prepared for the official MCP Registry with server.json under io.github.ellmos-ai/ellmos-codecommander-mcp. Registry and directory manifests server.json, glama.json, smithery.yaml, and llms.txt are maintained in full parity.
Quick Navigation
- Overview & Highlights
- Target Personas & Discoverability
- Comparative Matrix vs. Alternatives
- Architecture & System Overview
- Safe Structural Edit Lifecycle
- Governance & Runtime Invariants
- Developer Tool Suite (23 Tools)
- Shared Tools with FileCommander
- Installation & Quickstart
- Configuration & MCP Client Setup
- Multi-Language Support (i18n)
- Development & Quality Assurance
- Sibling Ecosystem & Partner Matrix
- Third-Party Licenses & Transparency
- Security Policy & Response SLA
- Changelog & Version History
- License & Legal Attribution
- Statutory Notice, Liability Limitation & SLA (§ 521 BGB)
1. Overview & Highlights
While FileCommander handles filesystem operations and system processes, CodeCommander focuses specifically on code intelligence and developer precision:
- Python, JavaScript & TypeScript Analysis — Extension-dispatched classes, methods, functions, complexity metrics, and import analysis; JS/TS analysis is regex-based and read-only.
- BACH-derived Python Helpers — Runtime import diagnostics, structural edits, indentation checks, and template-based code generation.
- Explicit Language Gates — Python-only path tools reject non-
.pyfiles explicitly instead of producing Python-shaped false findings. - JSON Repair & Validation — Automatically repair broken JSON (trailing commas, single quotes, BOM, comments) with precise error locations.
- PEP 8 Import Organization — Sort and deduplicate Python imports per PEP 8 guidelines.
- Encoding & Mojibake Repair — Fix Mojibake and double-encoded UTF-8 (27+ patterns) and broken German characters (70+ umlaut patterns).
- Universal Format Conversion — Convert between JSON, CSV, INI, YAML, TOML, XML, and TOON formats losslessly.
- Unified File Diff — Compare two files with LCS unified diff output and configurable context lines.
- Regex Testing Workbench — Test regular expressions with match details, capturing groups, and replace previews.
- Markdown Export — Convert Markdown to standalone HTML or PDF with syntax-styled code blocks, tables, and blockquotes.
- Cross-Platform Native — Full support on Windows, macOS, and Linux.
2. Target Personas & Discoverability
CodeCommander MCP is engineered to address key bottlenecks in modern autonomous AI coding, local multi-agent swarms, and safety-compliant developer tooling:
Target Audience & Stakeholder Personas
- `[PERSONA-01]` (`[PERSONA-1]`) Autonomous AI Coding Agents & LLM Pair-Programmers
- Profile: Agents such as Claude Code, Antigravity, Codex, Cursor, and Windsurf performing automated code refactoring, test repair, and feature development.
- Pain Point: Standard LLM code outputs frequently suffer from hallucinated imports, broken indentation in complex Python control flows, invalid JSON configs, or syntax corruption during naive chunk edits.
- Solution: Native AST extraction (
cc_extract_classes,cc_analyze_methods), preview-safe structural editing with unified diffs (cc_python_structural_edit), automatic indentation checking (cc_check_indentation), and deterministic JSON repair (cc_fix_json).
- `[PERSONA-02]` (`[PERSONA-2]`) Full-Stack & Python/TypeScript Software Engineers
- Profile: Developers maintaining polyglot projects, CLI utilities, and data pipelines requiring cross-language AST analysis and rapid configuration format transitions.
- Pain Point: Tedious manual format conversions (JSON ↔ YAML ↔ TOML ↔ TOON ↔ XML), broken German umlauts or Mojibake from legacy encodings, and circular runtime imports.
- Solution: Universal format converter (
cc_convert_format), non-destructive encoding and umlaut repair (cc_fix_encoding,cc_fix_umlauts), isolated runtime import diagnostics (cc_runtime_import_diagnose), and interactive regex tester (cc_regex_test).
- `[PERSONA-03]` (`[PERSONA-3]`) Enterprise AI Safety, SecOps & Code Governance Officers
- Profile: Security auditors, compliance engineers, and enterprise architects evaluating MCP toolchains for developer workstations and CI/CD runners.
- Pain Point: Risk of confidential code leakage via cloud telemetry, unauthorized process elevation, or destructive in-place file overwrites by AI assistants.
- Solution: 100% Zero-Egress local stdio transport (
INV-LOCAL-01), unprivileged user-space execution (INV-SEC-02), mandatory timestamped.bakbackups before mutations (INV-BAK-04), dry-run diff preview safety (INV-PREV-03), and isolated subprocess timeouts (INV-ISOL-05).
- `[PERSONA-04]` (`[PERSONA-4]`) Open-Source Ecosystem Architects & MCP Tool Developers
- Profile: Maintainers building, publishing, and indexing MCP servers across Glama, Smithery, npm, and GitHub.
- Pain Point: Fragmented directory manifests, missing third-party license disclosures, and lack of machine-readable indexing context for AI agents.
- Solution: 100% manifest parity across
package.json,server.json,glama.json,smithery.yaml, andllms.txt, verified by automated contract tests and a complete open-source license audit (THIRD_PARTY_LICENSES.md).
High-Intent Search Queries (SEO & Discoverability)
mcp code analysis servermodel context protocol python ast toolsmcp server codecommanderpython structural edit mcpclaude code developer mcp servermcp json repair and encoding fixlocal-first mcp tools for codingmcp python runtime import diagnoseformat converter mcp json yaml toml toonoffline code intelligence mcp server
3. Comparative Matrix vs. Alternatives
The following matrix compares CodeCommander MCP against alternative developer tooling approaches across 10 critical operational dimensions:
| Dimension / Capability | Generic File MCP | Raw Shell / Ad-Hoc Scripts | Heavyweight Cloud LLMOps | Traditional IDE Plugins | ellmos CodeCommander MCP |
|---|---|---|---|---|---|
| 1. AST Code Intelligence | None (raw text reads) | Requires custom python scripts | Cloud parser required | Built-in (GUI only) | Native AST & regex JS/TS (`cc_analyze_code`) |
| 2. Safe Structural Edit Preview | None (blind overwrite) | High risk (sed/awk) | Cloud gateway dependent | Interactive dialog | Preview-safe diffs (`mode: "preview"`) |
| 3. Mandatory Pre-Mutation Backups | None | Manual scripting | None | Local history (opaque) | Automatic `.bak` creation (`INV-BAK-04`) |
| 4. Runtime Import Diagnostics | None | Unsafe direct execution | None | Partial / static only | Isolated subprocess + timeout (`INV-ISOL-05`) |
| 5. Encoding & Mojibake Recovery | None | Fragile iconv calls | None | Basic encoding switch | 27+ Mojibake, 70+ Umlauts (`cc_fix_encoding`) |
| 6. Universal Format Conversion | None | Multiple disparate CLI tools | SaaS conversion API | Multi-plugin setup | Lossless 7 formats (`JSON/YAML/TOML/XML/TOON`) |
| 7. Diff Engine & Regex Workbench | None | Basic diff/grep | None | GUI panel only | LCS Unified Diff & Regex with groups/replace |
| 8. Local-First & Zero-Egress | Host-dependent | Local | Cloud egress / telemetry | Often connects to cloud | 100% Offline Stdio JSON-RPC (`INV-LOCAL-01`) |
| 9. Multi-Language (i18n) Support | English