Skip to main content
Glama

TailorKit MCP

Official
by sellersmith
TemplateHandlerRegistrar.ts887 B
import { ServiceHandlerRegistrar } from "./ServiceHandlerRegistrar.js"; import { getListTemplatesHandler, getDetailTemplateHandler, createTemplateHandler } from "../template/index.js"; import { TAILOR_KIT_TOOL_NAMES } from "../../tools/constants.js"; /** * Template service handler registrar */ export class TemplateHandlerRegistrar extends ServiceHandlerRegistrar { registerHandlers(): void { this.registry.register( TAILOR_KIT_TOOL_NAMES.GET_LIST_TEMPLATES, (args: unknown) => getListTemplatesHandler(this.serviceManager, args) ); this.registry.register( TAILOR_KIT_TOOL_NAMES.GET_DETAIL_TEMPLATE, (args: unknown) => getDetailTemplateHandler(this.serviceManager, args) ); this.registry.register( TAILOR_KIT_TOOL_NAMES.CREATE_TEMPLATE, (args: unknown) => createTemplateHandler(this.serviceManager, args) ); } }

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/sellersmith/tailorkit-mcp'

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