
ellmos CodeCommander
io.github.ellmos-aiPublished by GitHub account ellmos-aiv1.3.26Updated Oct 26, 2026
Developer MCP server: code analysis, JSON repair, imports, diffs, regex, format conversion.
Overview
Local developer MCP server with 23 cc_ tools for code analysis, Python structural edits, JSON repair, import cleanup, format conversion, diffs and regex…
- What you can do
- Analyze Python, JavaScript and TypeScript code: classes, methods, functions, imports, complexity, and extract classes as text blocks
- Organize, diagnose and runtime-probe Python imports, including isolated subprocess import checks with timeouts
- Repair and validate JSON, fix Mojibake and broken German umlauts, clean up BOM, NUL bytes and line endings, scan for emoji
- Convert between JSON, CSV, INI, YAML, TOML, XML and TOON, and generate third-party license files
- Compare files with unified diffs and test regex patterns with groups and replace previews
- Check Python indentation, generate Python code from templates, apply preview-safe structural edits with backups, and export Markdown to HTML or…
- When to use it
- Useful when an assistant works on local codebases and needs structured code analysis, safe Python refactoring with previews and backups, or quick fixes for broken JSON, encodings and config formats. It suits developers who want these utilities offline over stdio rather than through cloud services.
- Requirements
- Runs as a local stdio process via npx or a global npm install; needs Node.js 20 or higher and npm 9 or higher. No accounts, API keys or environment variables are declared. PDF export uses a locally installed headless Edge or Chrome browser and falls back to HTML if none is available.
Installation
In SourceWeft
- Open ellmos CodeCommander in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
[ellmos CodeCommander MCP emblem]
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.
[License: MIT] [npm version] [CI Tests] [Tests] [Node.js] [Platform] [Privacy] [Security] [Security: RunAsInvoker] [Security SLA] [Contributing] [Third-Party Audited] [Marketing Log] [Attribution: NOTICE] [Verified: 2026-10-09] [Ecosystem] [Umbrella] [LLM Indexing]
[!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:
4. Architecture & System Overview
5. Safe Structural Edit Lifecycle
6. Governance & Runtime Invariants
ellmos-codecommander-mcp guarantees 10 core architectural and runtime invariants across all platforms:
7. Developer Tool Suite (23 Tools)
Code Analysis (3 tools)
Import Management (3 tools)
JSON Tools (2 tools)
Encoding & Text (3 tools)
Scanning (1 tool)
Format & Documentation (2 tools)
Developer Utilities (2 tools)
Python Assistance (3 tools)
Export (2 tools)
Runtime Language Management (2 tools)
Total: 23 developer tools available under the cc_ prefix.
8. Shared Tools with FileCommander
7 tools exist in both FileCommander and CodeCommander for convenience:
All tools in CodeCommander use the cc_ prefix to guarantee seamless coexistence with FileCommander's fc_ namespace.
9. Installation & Quickstart
Prerequisites
- Node.js 20 or higher
- npm 9 or higher
Option 1: Install from NPM (Recommended)
Option 2: Install from Source
10. Configuration & MCP Client Setup
Claude Desktop
Add to your claude_desktop_config.json:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Global NPM Install:
From Source Build:
Coexistence with FileCommander
FileCommander and CodeCommander are designed to run concurrently:
11. Multi-Language Support (i18n)
CodeCommander supports these 11 languages for messages returned by tools, including diagnostic messages at runtime:
de— German (default)en— Englishes— Spanishzh— Simplified Chineseja— Japaneseru— Russianfr— Frenchhi— Hindiar— Arabicbn— Bengalipt— Portuguese
These codes select the language of runtime tool output and diagnostic messages. They do not translate MCP discovery or schema descriptions, the GUI, CLI, or API; README navigation lists documentation languages separately.
CC_LANGUAGE selects the initial language when the server starts. During an active MCP session, use cc_set_language to switch languages; cc_get_language reports the active code and supported codes. If CC_LANGUAGE is unset or unsupported, the fallback is German (de). No --lang option is documented.
12. Development & Quality Assurance
The test gates are deliberately separated and automated in CI across Ubuntu, macOS, and Windows on Node.js 20, 22, and 24 (totaling 322 automated assertions, 100% green). Contribution workflow and development guidelines are detailed in CONTRIBUTING.md.
13. Sibling Ecosystem & Partner Matrix
Part of the ellmos-ai and open-bricks family of local-first tools:
MCP Server Family
Sibling Developer, File & Document Tools
14. Third-Party Licenses & Transparency
This project strictly adheres to open-source transparency:
- All runtime and development dependencies are audited in
THIRD_PARTY_LICENSES.mdand plain-text companionTHIRD_PARTY_LICENSES.txt. - The current production dependency audit (
npm audit --omit=dev --json, checked 2026-09-20) reports 5 vulnerable package nodes (3 high, 2 moderate); remediation is tracked in TASKPLAN #2198. - Distributed exclusively under permissive open-source licenses (MIT, BSD-2-Clause, BSD-3-Clause, Apache-2.0).
- Comprehensive discoverability, personas, and marketing metrics are documented in
MARKETING-LOG.txt. - Zero proprietary tracking, zero telemetric beacons, and zero viral copyleft dependencies.
15. Security Policy & Response SLA
Please review SECURITY.md for full vulnerability disclosure procedures.
- Zero-Egress Guarantee: Completely local execution over stdio.
- Preview & Backup Safety: Destructive operations create
.bakbackups and support non-mutating preview. - Unprivileged User Mode: Runs under standard unprivileged user permissions (
RunAsInvoker). - Dedicated Response Channels: Contact
[email protected]and[email protected]with a guaranteed 48-hour initial response SLA and 5-day triage commitment.
16. Changelog & Version History
See CHANGELOG.md for release notes and version history.
17. License & Legal Attribution
This project is licensed under the MIT License — Copyright © 2026 Lukas Geiger (ellmos-ai).
See NOTICE for open-bricks umbrella attribution, CONTRIBUTING.md for development guidelines, and THIRD_PARTY_LICENSES.md / THIRD_PARTY_LICENSES.txt for the Level 1 SBOM invariant inventory.
18. Statutory Notice, Liability Limitation & SLA (§ 521 BGB)
Dieses Projekt ist eine unentgeltliche Open-Source-Schenkung im Sinne der §§ 516 ff. BGB (Gefälligkeitsrecht). Die Haftung des Urhebers und der Mitwirkenden ist gemäß § 521 BGB auf Vorsatz und grobe Fahrlässigkeit beschränkt. Ergänzend gilt der Haftungsausschluss der MIT-Lizenz.
Nutzung auf eigenes Risiko. Keine Wartungszusage, keine Verfügbarkeitsgarantie, keine Gewähr für Fehlerfreiheit oder Eignung für einen bestimmten Zweck.
Sicherheitsrelevante Vorfälle und Schwachstellen werden über das verbindliche 48-Stunden-SLA unter [email protected], [email protected] und [email protected] entgegengenommen und innerhalb von 5 Werktagen triagiert.
This project is an unpaid open-source donation under German law (§§ 516 et seq. BGB). Liability is strictly limited to intent and gross negligence (§ 521 German Civil Code). The MIT license disclaimer applies complementarily. Use at your own risk. No warranty, no maintenance guarantee, no fitness-for-purpose assumed.
Security incidents and vulnerabilities are handled under a binding 48-hour response SLA via [email protected], [email protected] and [email protected] with formal triage within 5 business days.
Source: README.md at commit d2ca7c8
Tools
0Version history
2- v1.3.26LatestOct 26, 2026
- v1.3.16Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts