UNPKG

bookstack-mcp-server

Version:

MCP server providing comprehensive access to BookStack knowledge management system

43 lines 1.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SystemTools = void 0; /** * System tools for BookStack MCP Server * * Provides system information and health check functionality */ class SystemTools { constructor(client, _validator, logger) { this.client = client; this._validator = _validator; this.logger = logger; } /** * Get all system tools */ getTools() { return [ this.createSystemInfoTool(), ]; } /** * System information tool */ createSystemInfoTool() { return { name: 'bookstack_system_info', description: 'Get comprehensive system information about the BookStack instance', inputSchema: { type: 'object', properties: {}, }, handler: async (_params) => { this.logger.debug('Getting system information'); return await this.client.getSystemInfo(); }, }; } } exports.SystemTools = SystemTools; exports.default = SystemTools; //# sourceMappingURL=system.js.map