Skip to main content
Glama
index.js1.04 kB
/** * Tool Index - All tools self-register on import * This file serves as the central import point for tool registration */ // Intentionally do NOT import tool modules here to avoid eager loading. // The unified server performs Smithery-style lazy loading on demand. // Export registry for programmatic access export { ToolRegistry } from '../registry/tool-registry.js'; // Dynamic tool loading function export async function loadAllTools() { // No-op: tools are lazily loaded by the server } // Get tool statistics export function getToolStats() { const { ToolRegistry } = require('../registry/tool-registry.js'); const registry = ToolRegistry.getInstance(); const tools = registry.getAll(); return { total: tools.length, byCategory: tools.reduce((acc, tool) => { const category = tool.category || 'uncategorized'; acc[category] = (acc[category] || 0) + 1; return acc; }, {}), names: registry.getToolNames() }; } //# sourceMappingURL=index.js.map

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/waldzellai/clearthought-onepointfive'

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