import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { McpClientService } from "../services/mcp/McpClientService.js";
import { registerAllTools } from "./registration/registerAllTools.js";
/**
* Register all defined tools with the MCP server instance.
* This function serves as the central entry point for tool registration.
* It uses the new tool registration system for improved organization and type safety.
*
* @param server The McpServer instance
* @returns The McpClientService instance for managing MCP client connections
*/
export function registerTools(server: McpServer): McpClientService {
return registerAllTools(server);
}
// Re-export schema components
export * from "./schemas/index.js";
// Re-export registration utilities
export * from "./registration/index.js";
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/bsmi021/mcp-gemini-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server