go-docs-mcp

v1.5.0
io.github.drolosoft/go-docs-mcp Checked 22 hours ago Published 23 days ago

Lets your AI read PDF, Office files, EPUB, HTML, Jupyter and images, with OCR, search and paging.

Values you need

VariableWhat it is
DOCS_MCP_DIRrequired Folder with the documents to serve.
DOCS_MCP_OCR_LANGoptional Tesseract language for OCR, for example spa or eng+spa. Default: eng
DOCS_MCP_DISABLE_URLoptional true removes the read_url tool. Default: false

Docker discovery passed

Requires Docker

Run in a terminal
claude mcp add go-docs-mcp -e 'DOCS_MCP_DIR=<DOCS_MCP_DIR>' -- docker run -i --rm -e DOCS_MCP_DIR ghcr.io/drolosoft/go-docs-mcp:1.5.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "go-docs-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DOCS_MCP_DIR",
        "ghcr.io/drolosoft/go-docs-mcp:1.5.0"
      ],
      "command": "docker",
      "env": {
        "DOCS_MCP_DIR": "<DOCS_MCP_DIR>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "go-docs-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DOCS_MCP_DIR",
        "ghcr.io/drolosoft/go-docs-mcp:1.5.0"
      ],
      "command": "docker",
      "env": {
        "DOCS_MCP_DIR": "<DOCS_MCP_DIR>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "DOCS_MCP_DIR",
      "id": "docs-mcp-dir",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "go-docs-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DOCS_MCP_DIR",
        "ghcr.io/drolosoft/go-docs-mcp:1.5.0"
      ],
      "command": "docker",
      "env": {
        "DOCS_MCP_DIR": "${input:docs-mcp-dir}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.go-docs-mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "DOCS_MCP_DIR", "ghcr.io/drolosoft/go-docs-mcp:1.5.0"]
env = { "DOCS_MCP_DIR" = "<DOCS_MCP_DIR>" }

For AI agents

  1. Ask the user for: DOCS_MCP_DIR. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: convert_to_markdown, extract_images, extract_tables, get_document_metadata, get_document_outline, get_document_summary, list_documents, list_formats, ….
  5. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json