UNPKG

businessmap-mcp

Version:

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

16 lines (15 loc) 492 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createZodSchema = createZodSchema; const zod_1 = require("zod"); function createZodSchema(schemaString) { const schema = {}; const pairs = schemaString.split(";"); for (const pair of pairs) { const [key, description] = pair.split(":"); if (key && description) { schema[key.trim()] = zod_1.z.string().describe(description.trim()); } } return schema; }