Skip to main content
Glama

Time Tracking MCP

by markwharton
registry.ts605 B
// src/tools/registry.ts import type { ToolAnnotations } from '@modelcontextprotocol/sdk/types.js'; export interface ToolDefinition { name: string; description: string; inputSchema: { type: string; properties: Record<string, any>; required?: string[]; }; annotations?: ToolAnnotations; handler: (args: any) => Promise<any>; } export const toolRegistry = new Map<string, ToolDefinition>(); export function registerTool(tool: ToolDefinition) { toolRegistry.set(tool.name, tool); console.error(`[Time Tracking MCP] Registered tool: ${tool.name}`); }

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/markwharton/time-tracking-mcp'

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