Watchtower DAP Windows Debugging
Enables step-through debugging for C#, Node.js/TypeScript, Python, and Dart applications on Windows through a unified MCP interface. Acts as a bridge between MCP clients and various debug adapters, providing consistent debugging workflows with breakpoints, variable inspection, and process attachment capabilities.
README
Watchtower DAP Windows Debugging
Windows-native MCP ⇄ DAP bridge enabling step-through debugging for C#, Node/TS, Python, and Dart
Overview
Watchtower is a Model Context Protocol (MCP) server that provides unified debugging capabilities across multiple programming languages on Windows. It acts as a bridge between MCP clients and various debug adapters, offering a consistent interface for debugging workflows.
Features
- Windows-Native: Optimized for Windows 10/11 with Windows-specific adapter detection
- Multi-Language Support: C# (vsdbg/netcoredbg), Node.js/TypeScript (vscode-js-debug), Python (debugpy), Dart/Flutter (DAP adapter)
- Unified MCP Interface: All 13 required DAP tools exposed through MCP protocol
- Launch & Attach: Support for both launching new processes and attaching to running processes
- Deterministic Debug Loop: Cursor-based event polling with pagination
- Security-By-Default: Environment variables and command-line arguments redacted in logs
- High Performance: Time to First Break ≤ 1000ms, Step operations p95 ≤ 200ms
- Observability Foundation: OpenTelemetry metrics and structured logging
Architecture
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ MCP Client │───▶│ Watchtower │───▶│ Debug Adapters │
│ (Claude Code) │ │ Server │ │ (DAP Clients) │
└─────────────────┘ └─────────────────┘ └─────────────────┘
│
▼
┌─────────────────┐
│ Event Ring │
│ Buffer │
└─────────────────┘
Development Status
- Specification: ✅ Complete
- Implementation Plan: ✅ Complete
- Tasks & Checklists: ✅ Complete
- Analysis: ✅ Complete (9.2/10 rating)
- Implementation: 🚧 Phase 1 - Setup
Quick Start (Alpha)
# Install dependencies
npm install
# Build the project
npm run build
# Run the MCP server
npm start
# Or run directly
npx dist/watchtower serve
Alpha Release Goals
- [ ] Node.js debugging with breakpoints and stepping
- [ ] Python debugging with breakpoints and stepping
- [ ] Basic MCP tool coverage (dap.start, dap.setBreakpoints, etc.)
- [ ] Integration with Claude Code MCP configuration
Requirements
- Windows 10/11
- Node.js 22 LTS
- Target language debug adapters (auto-detected)
Constitution
This project operates under the Watchtower Constitution with principles including:
- Windows-Native Focus: No Linux/WSL support in v1
- DAP as Single Source of Truth: All debugging through DAP adapters
- Minimal MCP Tool Surface: Only essential tools exposed
- Security-By-Default: Redaction and validation active by default
- Observability Foundation: Comprehensive metrics and logging
Project Structure
mcp-watchtower/
├── src/ # TypeScript source code
│ ├── adapters/ # Language-specific adapters
│ ├── server/ # MCP server implementation
│ ├── transport/ # DAP transport layer
│ ├── tools/ # MCP tool implementations
│ └── types/ # TypeScript type definitions
├── tests/ # Test files
│ ├── contract/ # Contract tests
│ ├── integration/ # Integration tests
│ └── unit/ # Unit tests
├── docs/ # Documentation
├── specs/ # Specification documents
└── dist/ # Built JavaScript artifacts
Quality Gates
The project includes comprehensive quality checklists for:
- ✅ Requirements Validation: 42 functional requirements validated
- ✅ Quality Gates: 60 validation items across all dimensions
- ✅ Release Readiness: 65 items tracking Alpha/Beta/GA milestones
Implementation Phases
- Setup: Project initialization and tooling
- Foundational: Core infrastructure (transport, sessions, adapters)
- User Story 1: Node.js + Python debugging (Alpha)
- User Story 2: Multi-language support (Beta)
- User Story 3: Remote attachment (Beta)
- Polish: Documentation, samples, CI, hardening (GA)
Contributing
This project follows the implementation tasks and quality guidelines.
License
See LICENSE file.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.