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 (12 Tools)

  • Dynamic Zero-Env Project Hub: Track and switch between multiple TypeScript projects dynamically using list_projects, add_project, and use_project. All settings are persisted to ~/.mcp-win-stdio/tsc_projects.json with zero environment variables required.
  • 0ms Diagnostic Cache: Checks compilation errors instantaneously from memory without spawning slow CLI processes on each turn.
  • Actionable Fix Suggestions (suggest_error_fixes): Built-in intelligent fix engine for common TypeScript errors (nullish checks, type assertions, missing imports).
  • Categorized Error Breakdown (get_error_category_breakdown): Groups diagnostics by type, syntax, import/module, and declaration categories.
  • 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.
  • Zero Admin / AppData Crawling: Quarantines user profile roots (C:\Users\admin), AppData, and Windows system directories from unintended scans.

🛠️ Included Tools (12 Tools)

Project & Watcher Management

  1. list_projects: Lists all configured TypeScript workspace projects with live watcher status and active project indicator.
  2. use_project: Sets the active workspace project for subsequent diagnostic queries.
  3. add_project: Dynamically registers a TypeScript workspace directory and starts background watchers.
  4. remove_project: Unregisters a project and stops its compiler watchers.
  5. list_watched_projects: Lists all active tsconfig.json files and watcher worker statuses.
  6. watch_project: Starts background compiler watchers for a specific directory or tsconfig file.
  7. restart_tsc_watcher: Restarts compiler watchers and flushes the in-memory diagnostic cache.

Diagnostic Inspection & Fixes

  1. get_tsc_errors: Returns all active compilation errors from cache (supports project/tsconfig filters and limit).
  2. suggest_error_fixes: Analyzes current errors and returns actionable code fix suggestions.
  3. get_error_category_breakdown: Groups errors by category (Type Mismatch, Missing Property, Import/Export, Syntax).
  4. get_file_errors: Checks diagnostics for a specific .ts, .tsx, .js, or .jsx file.
  5. get_error_summary: Compact error counts per project and top 5 most common error codes.

📦 Installation

pip install mcp-win-stdio-tsc

(Installing this package automatically installs the mws CLI orchestrator).


🚀 One-Command Claude Setup

mws setup tsc
# or:
mws add tsc

Manual Configuration Example (Zero-Env)

In %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "tsc": {
      "command": "python",
      "args": ["-m", "mcp_win_stdio.tsc"]
    }
  }
}

Note: Projects are managed dynamically with add_project and use_project. No environment variables required!

Metadata

Release files for mcp-win-stdio-tsc 0.3.0

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.3.0
File Size Uploaded Provenance Actions
mcp_win_stdio_tsc-0.3.0.tar.gz 20.2 kB Without provenance Details for mcp_win_stdio_tsc-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 42.4 kB

Release files / mcp_win_stdio_tsc-0.3.0.tar.gz

Download URL mcp_win_stdio_tsc-0.3.0.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0daf4c60830c2741540b45a6b78522819612a21b08d0a08f36956c115c6e6b81
BLAKE2b-256 checksum
How to use checksums
817339747b7d16a08434535dbe82920d43f327c623bd95f9aea42b494eeaec8d
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.3.0-py3-none-any.whl

Download URL mcp_win_stdio_tsc-0.3.0-py3-none-any.whl
Size 22.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01ac11ae6f31b779518bc242ac677a57ef5d6bcd9d2a3e6012b69b79d09d3305
BLAKE2b-256 checksum
How to use checksums
8f5527b145aaee22addc0e2596d0cb45b4350c6f05cea5a740c3ec4cbb054c62
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.3.0

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.

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