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

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.4.7
File Size Uploaded Provenance Actions
mcp_win_stdio_tsc-0.4.7.tar.gz 20.8 kB Without provenance Details for mcp_win_stdio_tsc-0.4.7.tar.gz

Built distribution (wheel)

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

Total release size: 43.3 kB

Release files / mcp_win_stdio_tsc-0.4.7.tar.gz

Download URL mcp_win_stdio_tsc-0.4.7.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4dfbaaeff02bc62c640d1eb5ba0e0a658b14fa72ce29e7e13e9f69409536d733
BLAKE2b-256 checksum
How to use checksums
598de64dba3990aed02925c8855a860758133e6bda9c077bd81c715d323487a9
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.4.7-py3-none-any.whl

Download URL mcp_win_stdio_tsc-0.4.7-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eec165115dd7eedf83a7f7feb9cb71717a2932a44772bc2d86fd9d0d5d49c8f2
BLAKE2b-256 checksum
How to use checksums
9c3ed19fc7057b27d72b89a8c4938b3e9ac353732e7c66751ae1656f7dcfdb28
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.4.7

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