Skip to main content

MCP bridge for a self-hosted MinerU API

Project description

mineru-selfhosted-mcp

mineru-selfhosted-mcp exposes a self-hosted MinerU service as an MCP server.

It is designed for setups where:

  • MinerU is deployed on a remote GPU server
  • Claude Desktop / Cursor / other MCP clients run elsewhere
  • The client should only run a lightweight MCP bridge locally

Environment variables

  • MINERU_BASE_URL: Base URL of your self-hosted MinerU API, for example http://192.168.1.50:8000
  • MINERU_API_TOKEN: Optional token sent to the MinerU API as Authorization: Bearer <token>
  • MINERU_TIMEOUT: Optional request timeout in seconds. Default: 1800
  • MINERU_TRUST_ENV: Optional. Set to true only if you want the bridge to inherit local proxy variables. Default: disabled.

Example MCP config

{
  "mcpServers": {
    "mineru-selfhosted": {
      "command": "uvx",
      "args": ["mineru-selfhosted-mcp"],
      "env": {
        "MINERU_BASE_URL": "http://your-server-ip:8000",
        "MINERU_API_TOKEN": "your_token"
      }
    }
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mineru_selfhosted_mcp-0.1.1.tar.gz (82.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mineru_selfhosted_mcp-0.1.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file mineru_selfhosted_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: mineru_selfhosted_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 82.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for mineru_selfhosted_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 78eee1ffbe6da3f2c81567ea0f9727e7689036832859fe4a2d00c92c548f01ac
MD5 44b4a9a54daf14649529c945fdf80215
BLAKE2b-256 2689c8a332aac76ff9439660c415bf2043fb1e23bc495336a7de13f3854a5a11

See more details on using hashes here.

File details

Details for the file mineru_selfhosted_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mineru_selfhosted_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 046eaf1f3db5f791ab4f39a62e31679381179569cf15ec672a66508e42d9923c
MD5 62d1bb47a16060861daffffa292ea903
BLAKE2b-256 7190277a22b2589c7c4422fa5e735b5a97a038d204d5fba547253e1629cb850a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page