● MCP 1.x Borland Turbo C 3.0 16-bit DOS MIT TypeScript

Give your AI a
1992 C compiler.

A Model Context Protocol server that hands your LLM a real Borland Turbo C 3.0 toolchain — compile, run, lint, benchmark, disassemble and explain errors on genuine 16-bit DOS. Real output. Real exit 0.

claude ▸ turboc-mcp-server
// why it goes further

Not a button. A studio.

Most "run my code" tools stop at stdout. This one gives your model a whole workshop — and speaks its language: structured, line-numbered results.

🧠

Structured diagnostics

Every compile is parsed into error/warning objects with file + line, so the AI fixes code surgically instead of guessing.

🧪

Analyze without compiling

A heuristic linter flags gets(), scanf missing &, = in if, brace mismatches and float-I/O traps — instantly.

📖

Explains Borland errors

A built-in knowledge base turns cryptic Turbo C messages into plain-English cause + concrete fix.

📦

Runs on modern Windows

16-bit binaries can't run on 64-bit Windows — the bundled DOSBox bridge makes compile and run work anywhere.

0
MCP tools
0
classic examples
0
Turbo C headers
1992
vintage, verified
// the toolbox

Twelve composable tools

Chain them: analyze_codecompile_checkexplain_errorcompile_and_runbenchmark.

// quick start

Wired up in three minutes

Node ≥ 18 and Turbo C at C:\TURBOC3. That's it.

1 · build
2 · Claude Desktop
2 · Claude Code
# clone, install, build
git clone https://github.com/BBSRguy/turboc-mcp-server.git
cd turboc-mcp-server
npm install
npm run build

On 64-bit Windows? Add the DOSBox bridge → docs/DOSBOX.md. Then ask your AI to run environment_doctor.

// batteries included

A library of DOS classics

Ask: "run the prime-sieve example" — the AI compiles & runs it on real Turbo C.