UNPKG

@aashari/boilerplate-mcp-server

Version:

TypeScript MCP server boilerplate with STDIO and HTTP transport support, CLI tools, and extensible architecture

7 lines (6 loc) 237 B
#!/usr/bin/env node import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; /** * Start the MCP server with the specified transport mode */ export declare function startServer(mode?: 'stdio' | 'http'): Promise<McpServer>;