baklib-mcp-server

xiaohui-zhangxh/baklib-mcp-server

3.2

If you are the rightful owner of baklib-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP Server for the Baklib API, enabling search functionalities for knowledge base articles and site pages.

Tools
1
Resources
0
Prompts
0

Baklib MCP Server

MCP Server for the Baklib API.

Features

  • Search Knowledge Base articles: Find answers from knowledge base.
  • Search Site Pages: Find answers from site.

Tools

  1. search_site_pages
    • Search site pages from Baklib API
    • Inputs:
      • search (string): Search query
      • page (number): Page number for pagination (default: 1)
      • per_page (optional number): Number of results per page (default: 20)
    • Returns: Matched pages includes page link text, url, text content

Setup

Personal Access Token

Create a Personal Access Token , Create the token and save it securely

Usage with Claude Desktop

Add the following to your claude_desktop_config.json:

Docker
{
  "mcpServers": { 
    "baklib": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "BAKLIB_ACCESS_TOKEN",
        "-e",
        "BAKLIB_API_URL",
        "baklib-mcp-server"
      ],
      "env": {
        "BAKLIB_ACCESS_TOKEN": "<YOUR_TOKEN>",
        "BAKLIB_API_URL": "https://api.baklib.com/v1"
      }
    }
  }
}
NPX
{
  "mcpServers": {
    "baklib": {
      "command": "npx",
      "args": [
        "-y",
        "@baklib/mcp-server"
      ],
      "env": {
        "BAKLIB_ACCESS_TOKEN": "<YOUR_TOKEN>",
        "BAKLIB_API_URL": "https://api.baklib.com/v1"
      }
    }
  }
}

Build

Docker build:

docker build -t baklib-mcp-server --load .

Docker run:

docker run --rm -i -e BAKLIB_ACCESS_TOKEN=xx -e BAKLIB_API_URL=https://xx baklib-mcp-server

Environment Variables

  • BAKLIB_ACCESS_TOKEN: Your personal access token (required)
  • BAKLIB_API_URL: Base URL for Baklib API (optional, defaults to https://api.baklib.com/v1)

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.