Skip to main content
Glama

Watchtower DAP Windows Debugging

by rlaksana
esbuild.config.js815 B
const { build } = require('esbuild'); const { nodeExternalsPlugin } = require('esbuild-node-externals'); const isProduction = process.argv.includes('--production'); async function buildProject() { await build({ entryPoints: ['src/index.ts'], bundle: true, platform: 'node', target: 'node22', outfile: 'dist/index.js', external: ['@modelcontextprotocol/sdk'], minify: isProduction, sourcemap: !isProduction, treeShaking: true, banner: { js: ` // Watchtower MCP Server - Windows-native DAP bridge // ${isProduction ? 'Production' : 'Development'} Build `, }, plugins: [ nodeExternalsPlugin(), ], define: { 'process.env.NODE_ENV': isProduction ? '"production"' : '"development"', }, }); } buildProject().catch(() => process.exit(1));

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rlaksana/mcp-watchtower'

If you have feedback or need assistance with the MCP directory API, please join our Discord server