MCP.so
ログイン

Go Docs MCP Server

@drolosoft

基本情報

Go Docs MCP Server について

Multi-format document MCP server — read, search, OCR, and extract from PDF, TXT, MD, DOCX, CSV, and images. Single Go binary, 12 tools, smart caching.

Go Docs MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "docs": {
      "command": "go-docs-mcp",
      "env": {
        "DOCS_MCP_DIR": "/path/to/your/documents"
      }
    }
  }
}

Go Docs MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Go Docs Mcp?

Go Docs Mcp is a Go-based MCP server that provides multi-format document access — reading, searching, extracting images, OCR, and fetching documents from URLs — for AI assistants via the Model Context Protocol.

How to use Go Docs Mcp?

Install with go install github.com/drolosoft/go-docs-mcp@latest. Configure the document directory via the DOCS_MCP_DIR environment variable (default ~/.docs-mcp/documents/). The server communicates over stdio and can be added to Claude Code or Claude Desktop settings, or used directly with any MCP client.

Key features of Go Docs Mcp

  • Multi-format support (PDF, TXT, MD, CSV, DOCX, images)
  • Full-text search with context and page hints
  • OCR for scanned documents and images
  • Image extraction from documents as base64
  • Directory-locked, read-only access for security
  • Single binary, no runtime dependencies

Use cases of Go Docs Mcp

  • An AI assistant reading a PDF report and answering questions about its content.
  • Searching for keywords across a collection of local documents.
  • Extracting tables from a DOCX file as structured data.
  • OCR-ing a scanned contract to extract text from images.
  • Fetching a document from a URL and reading its content directly.

よくある質問

1

What formats does Go Docs Mcp support?

PDF, TXT, MD, CSV, DOCX, and images (PNG, JPG, TIFF). TXT, MD, and CSV have zero dependencies; PDF requires poppler; DOCX requires pandoc; images require tesseract.

2

What dependencies are required?

Go 1.25+ for building, poppler for PDF support, and optionally tesseract for OCR and pandoc for DOCX. TXT, MD, and CSV work out of the box.

3

How does Go Docs Mcp compare to other document MCP servers?

Unlike single-format servers, Go Docs Mcp handles six formats in one binary and offers OCR, image extraction, table extraction, and URL fetching — all with a single `go install` command.

4

Where are documents stored and how is access controlled?

Documents are read from a directory configured via `DOCS_MCP_DIR` (default `~/.docs-mcp/documents/`). The server enforces directory-locked, read-only access with path traversal prevention.

5

What transport and authentication does Go Docs Mcp use?

It uses stdio transport with JSON-RPC 2.0. No authentication is mentioned; security is handled via directory-locked access and read-only operations.

コメント

「メモリとナレッジ」の他のコンテンツ