TM

tcsenpai/mcpbook

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

19 stars 7 forks 품질 67 트렌드 22MIT

An MCP (Model Context Protocol) server that exposes documentation sites content for AI assistants. This server scrapes and indexes GitBook and other websites documentation, making it searchable and...

개요

A high-performance MCP (Model Context Protocol) server that transforms into an AI-accessible knowledge base. Originally built for GitBook but works with . Features instant startup, intelligent caching, and automatic domain detection. - - SQLite storage with sub-second server initialization - - FTS5 full-text search with fuzzy matching and ranking - - Automatically detects domain, keywords, and branding - - Preserves formatting with syntax-highlighted code blocks - - Non-blocking change detection and cache refresh - - Works with GitBook, Vercel docs, Next.

README

원문 README의 일부입니다. 원문 보기.

Universal Documentation MCP Server

A high-performance MCP (Model Context Protocol) server that transforms any documentation website into an AI-accessible knowledge base. Originally built for GitBook but works with Vercel docs, Next.js sites, Docusaurus, and many other documentation platforms. Features instant startup, intelligent caching, and automatic domain detection.

✨ Key Features

  • ⚡ Instant Startup - SQLite storage with sub-second server initialization
  • 🔍 Advanced Search - FTS5 full-text search with fuzzy matching and ranking
  • 🧠 Smart Auto-Detection - Automatically detects domain, keywords, and branding
  • 📝 Markdown Perfect - Preserves formatting with syntax-highlighted code blocks
  • 🔄 Background Updates - Non-blocking change detection and cache refresh
  • 🌐 Universal Support - Works with GitBook, Vercel docs, Next.js sites, and many other documentation platforms
  • 📡 Dual Interface - Both MCP tools and REST API endpoints
  • 🚀 Production Ready - Rate limiting, error handling, and robust caching

🚀 Quick Start

💡 Recommended: Use the interactive creator for the best experience!

🎨 Web UI Management Dashboard

# Clone this repo (once)
git clone https://github.com/tcsenpai/mcpbook/
cd mcpbook

# Build the UI
npm run ui:build

# Start the web interface
npm run ui

The Web UI provides:

  • 🚀 Visual Server Creation - Step-by-step wizard with live URL validation
  • 📊 Server Management - Start/stop/delete servers with real-time status
  • 📋 Claude Desktop Integration - One-click copy config or add via CLI
  • 🖥️ Live Terminal - Real-time feedback and command execution
  • ⚠️ Safety Features - Confirmation dialogs and cancel functionality

⭐ One-Command Setup

# Clone this repo (once)
git clone https://github.com/tcsenpai/mcpbook/
cd mcpbook

# Create MCP server for any documentation site instantly
npm exec create-gitbook-mcp

That’s it! 🎉 The interactive wizard will:

  • ✨ Guide you through setup with smart defaults
  • 🔍 Auto-detect domain/keywords from your documentation site
  • 📦 Install in organized directories (~/.config/mcpbooks/servers/[name])
  • 🌍 Optionally install globally (accessible as your-server-name command)
  • 🤖 Auto-configure Claude Desktop (optional)
  • 🚀 Pre-cache everything for instant server startup

🛠️ Manual Setup (Advanced Users)

  1. Install and Configure

    npm install
    echo "GITBOOK_URL=https://docs.yoursite.com" > .env
    
  2. Build with Auto-Detection

GitHub에서 전체 README 보기

설치

npx @modelcontextprotocol/inspector node dist/index.js
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "gitbook": { "command": "node", "args": ["/absolute/path/to/dist/index.js"], "env": { "GITBOOK_URL": "https://docs.yoursite.com" } } } }