UNPKG

deepsource-mcp-server

Version:
27 lines (26 loc) 1.02 kB
#!/usr/bin/env node /** * @fileoverview Main entry point for the DeepSource MCP server using ToolRegistry * * @deprecated This file is deprecated. Please use src/index.ts instead. * This file is provided for backward compatibility and will be removed in the next major version. * * Migration guide: * - Import from 'deepsource-mcp-server' or './index.js' instead of './index-registry.js' * - Use DeepSourceMCPServer.create() instead of manual registry configuration * - See MIGRATION.md for detailed migration instructions */ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { ToolRegistry } from './server/tool-registry.js'; /** * Validates environment configuration */ export declare function validateEnvironment(): void; /** * Creates and configures the tool registry with all handlers */ export declare function createAndConfigureToolRegistry(server: McpServer): ToolRegistry; /** * Main function that starts the MCP server */ export declare function main(): Promise<void>;