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

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.2
File Size Uploaded Provenance Actions
mcp_win_stdio_tsc-0.3.2.tar.gz 20.5 kB Without provenance Details for mcp_win_stdio_tsc-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 42.9 kB

Release files / mcp_win_stdio_tsc-0.3.2.tar.gz

Download URL mcp_win_stdio_tsc-0.3.2.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1b2f731cf346eec451097c788f733f15b5d64128f65d4fb517625772afb9443f
BLAKE2b-256 checksum
How to use checksums
09f478588822532482ea0a23a1767af952294008897cf007aafd2c96fbe26999
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.2-py3-none-any.whl

Download URL mcp_win_stdio_tsc-0.3.2-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22fc8126a2381c432f6ed8821a3874864d80368ad858fa894bf2ebe205f04d5a
BLAKE2b-256 checksum
How to use checksums
7e45d9d927253aa75022ba81f4e9400c6a6d3fb6072c59cb8e95284bf32d17cd
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.2

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