@aashari/boilerplate-mcp-server
Version:
TypeScript MCP server boilerplate with STDIO and HTTP transport support, CLI tools, and extensible architecture
14 lines (13 loc) • 509 B
TypeScript
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
/**
* @function registerTools
* @description Registers the IP address lookup tool ('ip_get_details') with the MCP server.
* Uses the modern registerTool API (SDK v1.22.0+) instead of deprecated tool() method.
*
* @param {McpServer} server - The MCP server instance.
*/
declare function registerTools(server: McpServer): void;
declare const _default: {
registerTools: typeof registerTools;
};
export default _default;