Skip to main content
Glama
IBM
by IBM
index.ts805 B
// src/mcp-server/tools/index.ts import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { requestContextService } from "@/utils/index.js"; import { logOperationStart, logOperationSuccess, } from "@/utils/internal/logging-helpers.js"; import { registerGenerateSqlTool } from "@/ibmi-mcp-server/tools/generateSql/index.js"; /** Registers all available tools with the MCP server. */ export const registerAllTools = async (server: McpServer): Promise<void> => { const context = requestContextService.createRequestContext({ operation: "registerAllTools", }); logOperationStart(context, "Starting registration of all tools..."); await Promise.all([registerGenerateSqlTool(server)]); logOperationSuccess(context, "All tools have been registered successfully."); };

Latest Blog Posts

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/IBM/ibmi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server