mcp-win-stdio-tsc
Windows-optimized Model Context Protocol (MCP) server for TypeScript diagnostics: persistent background compiler watchers (tsc --watch) maintaining an in-memory cache for 0ms latency error inspection across multi-project and monorepo repositories.
Part of the mcp-win-stdio Windows-optimized suite.
🚀 Features (6 Tools)
- Zero Admin / AppData Crawling (Safe Standby Mode): If
TSC_WATCH_DIRis not explicitly set, the server boots safely into standby mode. It never scans user profile roots (C:\Users\admin),AppData, or system directories. - Compiler Pre-Flight Check: Checks for
tscavailability (projectnode_modules, globaltsc, ornpx tsc) before scanning the filesystem, reporting clear installation guidance if missing. - 0ms Diagnostic Cache: Checks compilation errors instantly from memory without spawning slow CLI processes on each turn.
- Multi-Project Auto-Discovery: Automatically scans and watches all
tsconfig.jsonconfigurations across project subdirectories. - Token-Safe Error Summaries: Provides high-level error counts, affected files, and top error codes (e.g.
TS2322) to avoid flooding Claude's context window. - Dynamic Watcher Management: Add new projects on the fly (
watch_project) or restart compiler workers without restarting the MCP server.
🛠️ Included Tools (6 Tools)
get_tsc_errors: Returns all active compilation errors from cache (supports project/tsconfig filters).get_file_errors: Checks diagnostics for a specific.ts,.tsx,.js, or.jsxfile.get_error_summary: Compact error counts per project and top 5 most common error codes.list_watched_projects: Lists all activetsconfig.jsonfiles and watcher statuses (or standby status).watch_project: Dynamically verifiestsc, scans fortsconfig.json, and starts background watchers for a target project directory at runtime.restart_tsc_watcher: Restarts compiler watchers and flushes the in-memory cache.
📦 Installation
pip install mcp-win-stdio-tsc
(Installing this package automatically installs mws CLI orchestrator).
🚀 One-Command Claude Setup
mws setup tsc
# or:
mws add tsc
Manual Configuration Example
In %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"tsc": {
"command": "python",
"args": ["-m", "mcp_win_stdio.tsc"],
"env": {
"TSC_WATCH_DIR": "C:/path/to/your/monorepo"
}
}
}
}
📖 CLI Commands & Interactive Guide
mws tsc guide # Complete tool reference & prompt recipes
mws tsc doctor # Verify TypeScript compiler availability
mws tsc setup # Configure Claude Desktop / Claude Code
mws tsc run # Launch server over stdio
📜 License
MIT License. Copyright (c) 2026 Mohan Kumar Indala.
Release files for mcp-win-stdio-tsc 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_win_stdio_tsc-0.2.4.tar.gz | 13.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_win_stdio_tsc-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.7 kB
Release files / mcp_win_stdio_tsc-0.2.4.tar.gz
| Download URL | mcp_win_stdio_tsc-0.2.4.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cef27228d14ee2dd9e2831f45482f2c47dc761a63eb57af353aa7036dcc4c424
|
|
BLAKE2b-256 checksum How to use checksums |
914021a205f3002440802634c17c60e537a4048e741634e54db98b3153053fc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / mcp_win_stdio_tsc-0.2.4-py3-none-any.whl
| Download URL | mcp_win_stdio_tsc-0.2.4-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4d482ea7c7b086347f3683aafc8eda9790712304f62de836b4f16c0f01479cb
|
|
BLAKE2b-256 checksum How to use checksums |
4120580e8753d8f4304da2b6c97e22e1035fa162c82130b0e48f01d2b8ab1b20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|