ToolchainConductor MCP
Enables building and compiling C/C++ projects, detecting gcc and clang toolchains, and parsing GCC/Clang compiler diagnostics into structured JSON.
Enables building and running Python projects, detecting python3 toolchain, and parsing Python errors into structured JSON diagnostics.
Enables building and compiling Rust projects, detecting rustc and cargo toolchains, and parsing Rust compiler diagnostics into structured JSON.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ToolchainConductor MCP run cargo build in ./backend and return structured JSON errors"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ToolchainConductor MCP (Lite Edition)
ToolchainConductor MCP is a polyglot compiler conductor, build runner, and diagnostic parsing sidecar designed for autonomous AI coding agents (Claude Desktop, Cursor, OpenAI Codex, LangGraph).
It enables agents to build hybrid polyglot projects (Python, Rust, Node, C/C++, Go), parse noisy compiler outputs into clean, structured JSON diagnostics, and eliminate ANSI escape code bloat from LLM context windows.
π― The Problem
When autonomous AI agents build multi-language or compiled code:
ANSI Compiler Noise: Compilers dump hundreds of lines of colored ANSI escape sequences that pollute LLM context windows without providing structured error coordinates.
Missing Compilers & Incompatible Toolchains: Agents attempt to run
cargoorgccblindly without detecting installed host toolchains and target architectures.Redundant Re-compilations: Without intermediate artifact caching, agents recompile heavy dependencies repeatedly, exhausting turn limits and CPU quotas.
ToolchainConductor solves this by providing a clean, protocol-native build orchestrator.
Related MCP server: Build Runner MCP Server
β¨ Features (Lite Edition)
π Host Toolchain Discovery: Automatic inspection of installed compilers (
rustc,cargo,python3,gcc,clang,node,go).π§Ή Compiler Diagnostic Parser: Strips ANSI escape sequences and extracts structured JSON errors (
file,line,col,code,message) for Rust, GCC/Clang, and Python.β‘ Isolated Build Runner: Executes commands in clean child environments with timeout enforcement.
π¦ Zero External Dependencies: Pure Python standard library implementation.
π Quickstart
1. Installation
git clone https://github.com/johannschiffer/toolchainconductor-mcp.git
cd toolchainconductor-mcp
pip install -e .2. Configure in Claude Desktop or Cursor
Add to your claude_desktop_config.json:
{
"mcpServers": {
"toolchainconductor": {
"command": "toolchainconductor",
"args": ["run"]
}
}
}3. CLI Inspection
toolchainconductor detectπ οΈ MCP Tools Reference
Tool | Parameters | Description |
| (none) | Inspects all installed compilers and versions on host |
|
| Transforms raw compiler logs into structured JSON diagnostics |
|
| Executes build command in clean environment |
| (none) | Returns compiler readiness report |
π Upgrade to ToolchainConductor Pro
Need content-addressable build caching, memory safety audits, and automated PyO3 / FFI scaffolding?
The ToolchainConductor Pro Edition adds:
β‘ Deterministic Build Cache (SQLite WAL): Deduplicates compiled artifacts via SHA-256 source and lockfile hashes, skipping redundant builds.
π‘οΈ Memory-Safety & Linter Hardening: Automatic invocation of
cargo audit,cargo clippy, and sanitizers with structured auto-repair recipes.π Polyglot FFI Scaffolder: Generates production-ready PyO3 (Python-Rust) and CFFI bridge boilerplate.
π³ Production Docker & Docker Compose multi-stage manifests.
π§ͺ 100% Passing Pytest Suite.
π Get ToolchainConductor Pro on Gumroad ($14.99 USD)
π License
MIT Β© 2026 Johann Schiffer
Available Tools
4 toolsdetect_toolchainsB
Inspect all installed compilers on the host (rustc, cargo, python, gcc, clang, node, go).
Inputs: no named parameters.
get_toolchain_statusA
Get quick summary of compiler readiness and supported target architectures.
Inputs: no named parameters.
parse_compiler_errorsA
Extract clean, structured JSON diagnostics (file, line, col, code, message) from raw compiler output.
Inputs: output (required).
run_isolated_buildB
Execute build command in isolated environment and return exit code, output, and parsed diagnostics.
Inputs: command (required), cwd, timeout_sec.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 4 tools
detect_toolchains and get_toolchain_status overlap significantly, both reporting compiler availability and readiness. run_isolated_build also returns parsed diagnostics, making parse_compiler_errors partly redundant when used together, though each tool has a distinguishable core purpose.
All tool names follow a consistent snake_case verb_noun pattern (detect_toolchains, parse_compiler_errors, run_isolated_build, get_toolchain_status). There are no deviations in style or convention.
Four tools is well-scoped for a focused toolchain inspection and build-execution server. Each tool covers a distinct stage (detect, parse, run, status), though there is some functional overlap between detect and status.
The surface covers the core lifecycle of detecting toolchains, running isolated builds, parsing errors, and summarizing status. Minor gaps exist around installing or switching toolchains and managing build artifacts, but core workflows are supported.
Related MCP Connectors
Build, test and cache insights for Xcode, Gradle and Bazel projects, for coding agents.
AI-native programming language and toolchain for accountable, verifiable agent-driven development.
Build Apps and run code in 30 languages β sandboxed, with persistent sessions for agent loops.
Backend platform for AI agents: one agentstack.execute tool runs batched steps over +700 actions (hosting, storage, auth, payments, CRM, app builder).
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides secure access to containerized build environments for software projects, enabling AI assistants to execute builds, run tests, manage git operations, and inspect build artifacts without requiring local installation of dependencies.6MIT
- AlicenseAqualityDmaintenanceProvides structured build, compile, and test operations with parsed output to reduce token usage and improve readability.91MIT
- FlicenseAqualityDmaintenanceProvides AI coding agents with dependency analysis, impact detection, and build verification tools.14-
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to discover toolchain availability, audit code for stubs, perform fail-closed verification with real compilers and sandboxed tests, and run Qwen-based repair loops before executing or presenting code.MIT