Skip to content

Latest commit

 

History

History
101 lines (67 loc) · 2.42 KB

File metadata and controls

101 lines (67 loc) · 2.42 KB

Baritone Docs MCP

A Model Context Protocol server for Baritone documentation.

Node.js TypeScript MCP SDK Axios Zod Vitest

Fuzzy search, read, and refresh Baritone documentation through the Model Context Protocol

Features

Feature Description
Refresh Docs Downloads and updates the local documentation cache directly from GitHub.
Search Docs Performs fuzzy search across documentation files to find relevant topics.
Read Doc Retrieves the full text content of specific documentation files.
Resource Access Exposes documentation via the docs:// URI scheme for direct reference.

Project Structure

File / Directory Description
src/index.ts Main entry point initializing the MCP server and tools.
src/tools/ Contains logic for search and read functionalities.
src/resources/ Handles docs:// resource requests.
src/cache.ts Manages downloading, extracting, and caching documentation.
scraper/ Utilities for scraping and preparing documentation.
tests/ Integration tests for the MCP server.

Installation

Step Instructions
1. Clone the repository git clone https://github.com/MCDxAI/baritone-docs-mcp.git
cd baritone-docs-mcp
2. Install dependencies npm install
3. Build the project npm run build

Configuration

Add to your MCP settings file (e.g., claude_desktop_config.json):

{
  "mcpServers": {
    "baritone-docs": {
      "command": "node",
      "args": [
        "/path/to/baritone-docs-mcp/dist/index.js"
      ]
    }
  }
}