Skip to main content

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_DIR is 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 tsc availability (project node_modules, global tsc, or npx 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.json configurations 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)

  1. get_tsc_errors: Returns all active compilation errors from cache (supports project/tsconfig filters).
  2. get_file_errors: Checks diagnostics for a specific .ts, .tsx, .js, or .jsx file.
  3. get_error_summary: Compact error counts per project and top 5 most common error codes.
  4. list_watched_projects: Lists all active tsconfig.json files and watcher statuses (or standby status).
  5. watch_project: Dynamically verifies tsc, scans for tsconfig.json, and starts background watchers for a target project directory at runtime.
  6. 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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-win-stdio-tsc 0.2.3
File Size Uploaded
mcp_win_stdio_tsc-0.2.3.tar.gz 13.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-win-stdio-tsc 0.2.3
File Interpreter ABI Platform
mcp_win_stdio_tsc-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 28.0 kB

Release files / mcp_win_stdio_tsc-0.2.3.tar.gz

Download URL mcp_win_stdio_tsc-0.2.3.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7a3ba7f8ae310aa5ebe2c15a170c40ed910ea6e0c8ddfcddf316f6ff89af7d62
BLAKE2b-256 checksum
How to use checksums
7ceec3d8b790ff05993358f3741caf52815d44cb3c322511d433971a54496f23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / mcp_win_stdio_tsc-0.2.3-py3-none-any.whl

Download URL mcp_win_stdio_tsc-0.2.3-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c94627e57d94e9d742d7037a46493890ad9e0a81d3133fa749f2b22e037df7c3
BLAKE2b-256 checksum
How to use checksums
18f217980d84e58b2a391f56c414466ec4dcaa6473138bca90a79a458ffe34f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

0.2.4

2 release files

This release

0.2.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page