Skip to main content
Glama
blakeyoder

TypeScript Definitions MCP Server

by blakeyoder
index.ts786 B
#!/usr/bin/env node import { TypeScriptDefinitionsMCPServer } from "./mcp-server.js"; async function main() { const workingDir = process.argv[2] || process.cwd(); try { const server = new TypeScriptDefinitionsMCPServer(workingDir); await server.initialize(); await server.run(); } catch (error) { console.error("Failed to start TypeScript Definitions MCP Server:", error); process.exit(1); } } // Handle graceful shutdown process.on("SIGINT", () => { console.error("Received SIGINT, shutting down gracefully..."); process.exit(0); }); process.on("SIGTERM", () => { console.error("Received SIGTERM, shutting down gracefully..."); process.exit(0); }); main().catch((error) => { console.error("Unhandled error:", error); process.exit(1); });

Latest Blog Posts

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/blakeyoder/typescript-definitions-mcp'

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