UNPKG

businessmap-mcp

Version:

MCP server for Businessmap Kanbanize, exposing tools for managing business entities like boards, cards, and columns, facilitating LLM interaction.

23 lines (22 loc) 796 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebToolsController = void 0; const createZodSchema_1 = require("../../utils/createZodSchema"); class WebToolsController { server; constructor(server) { this.server = server; this.registerTools(); } registerTools() { this.registerWebhookToolhandler(); } registerWebhookToolhandler() { const rawSchemaShape = (0, createZodSchema_1.createZodSchema)("title:Título da Mensagem;message:Mensagem a ser enviada"); this.server.tool("get-dinamic", "teste dinamocos", rawSchemaShape, async (props) => { const toolTitle = props.title; return { result: toolTitle }; }); } } exports.WebToolsController = WebToolsController;