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.
Metadata
Release files for mcp-win-stdio-tsc 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcp_win_stdio_tsc-0.2.5.tar.gz | 16.0 kB | Without provenance | Details for mcp_win_stdio_tsc-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_win_stdio_tsc-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for mcp_win_stdio_tsc-0.2.5-py3-none-any.whl |
Total release size: 34.0 kB
Release files / mcp_win_stdio_tsc-0.2.5.tar.gz
| Download URL | mcp_win_stdio_tsc-0.2.5.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05ece8f9e300a49df15a855fc17e24fa5802135cec2fd9eb7cf1654a173feb2a
|
|
BLAKE2b-256 checksum How to use checksums |
f481701e9c4a6c5983e69f0b5923e27cebc3c859b615563668149d6547572b44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / mcp_win_stdio_tsc-0.2.5-py3-none-any.whl
| Download URL | mcp_win_stdio_tsc-0.2.5-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9bc13f257ea8bbc2ec60fef568fb01c8a517b6c3fca648d446d49b708de7542
|
|
BLAKE2b-256 checksum How to use checksums |
89cc87b292ad6411a6517fbca500a9a79af288737c59e65a13f6e4b13b97f1de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for mcp-win-stdio-tsc 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.