Skip to main content
Glama
ttpears

BookStack MCP Server

by ttpears

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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: {}
      },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ttpears/bookstack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server