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.4

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.4
File Size Uploaded
mcp_win_stdio_tsc-0.2.4.tar.gz 13.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-win-stdio-tsc 0.2.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

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