@aashari/boilerplate-mcp-server
Version:
TypeScript Model Context Protocol (MCP) server boilerplate providing IP lookup tools/resources. Includes CLI support and extensible structure for connecting AI systems (LLMs) to external data sources like ip-api.com. Ideal template for creating new MCP in
13 lines (12 loc) • 408 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.
*
* @param {McpServer} server - The MCP server instance.
*/
declare function registerTools(server: McpServer): void;
declare const _default: {
registerTools: typeof registerTools;
};
export default _default;