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) 851 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ApiLimitsToolsController = void 0; const ApiService_1 = require("../../services/ApiService"); const apiResponseHandler_1 = require("../../utils/apiResponseHandler"); class ApiLimitsToolsController { server; constructor(server) { this.server = server; this.registerTools(); } registerTools() { this.registerGetApiLimitsToolhandler(); } registerGetApiLimitsToolhandler() { this.server.tool("get-api-limits", "Get the hourly and minutely limits for the api requests", async () => { const response = await ApiService_1.apiServices.getApiLimits(); return (0, apiResponseHandler_1.handleApiResponse)(response); }); } } exports.ApiLimitsToolsController = ApiLimitsToolsController;