Skip to main content
Glama
index.ts732 B
import { toolRegistry } from './registry.js'; import { generateManagerTools } from './manager-tools.js'; import { getSimpleTools } from './simple-tools.js'; export { toolRegistry, getToolDefinitions, getPromptDefinitions, executeTool, toolExists, getPromptMessage, } from './registry.js'; /** * Register all tools with the registry. * Must be called once at startup. */ export function registerTools(): void { // Clear any existing tools (for hot reload scenarios) toolRegistry.length = 0; // Register simple tools const simpleTools = getSimpleTools(); toolRegistry.push(...simpleTools); // Register manager tools const managerTools = generateManagerTools(); toolRegistry.push(...managerTools); }

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/RhizomaticRobin/cerebras-code-fullstack-mcp'

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