qrcode-mcp

v0.1.1
io.github.xiaobinger/qrcode-mcp Checked 1 day ago Published 10 days ago

Decode, repair and generate QR codes; safely route QR URLs and run pluggable OCR.

Values you need

VariableWhat it is
QRMCP_OUTPUT_DIRoptional Directory where generated images are written. Defaults to ./out
QRMCP_URL_ALLOWLISToptional Comma-separated allowed hostnames for qr_open. Wildcards such as *.example.com are supported. Empty means all public hosts are allowed with explicit confirmation.
QRMCP_HTTP_TOKENoptional secret Optional bearer token required by the HTTP and SSE transports.
QRMCP_ALLOW_REMOTEoptional Set to 1 to allow fetching images from http(s) URLs. Disabled by default to prevent SSRF.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add qrcode-mcp -- uvx --from qrcode-mcp==0.1.1 qrmcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "qrcode-mcp": {
      "args": [
        "--from",
        "qrcode-mcp==0.1.1",
        "qrmcp"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "qrcode-mcp": {
      "args": [
        "--from",
        "qrcode-mcp==0.1.1",
        "qrmcp"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "qrcode-mcp": {
      "args": [
        "--from",
        "qrcode-mcp==0.1.1",
        "qrmcp"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.qrcode-mcp]
command = "uvx"
args = ["--from", "qrcode-mcp==0.1.1", "qrmcp"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: qr_batch, qr_parse, qr_decode, qr_detect, qr_generate, server_health, ocr_image, qr_open, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json