MCP.so
登录

Go Docs Mcp

@drolosoft

关于 Go Docs Mcp

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.

基本信息

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 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.

FAQ from Go Docs Mcp

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.

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.

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.

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.

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.

评论

记忆与知识 分类下的更多 MCP 服务器