get_capabilities
Discover available BookStack API capabilities and current configuration to understand what documentation operations can be performed through the MCP server.
Instructions
Get information about available BookStack MCP capabilities and current configuration
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:44-56 (handler)The handler function for the 'get_capabilities' tool, which returns the server's configuration and capability status.
async () => { const capabilities = { server_name: "BookStack MCP Server", version: "2.1.0", write_operations_enabled: config.enableWrite, available_tools: config.enableWrite ? "All tools enabled" : "Read-only tools only", security_note: config.enableWrite ? "⚠️ Write operations are ENABLED - AI can create and modify BookStack content" : "🛡️ Read-only mode - Safe for production use" }; return { content: [{ type: "text", text: JSON.stringify(capabilities, null, 2) }] }; - src/index.ts:37-43 (registration)Registration of the 'get_capabilities' tool within the McpServer instance.
server.registerTool( "get_capabilities", { title: "Get BookStack Capabilities", description: "Get information about available BookStack MCP capabilities and current configuration", inputSchema: {} },