qrcode-mcp
v0.1.1Decode, repair and generate QR codes; safely route QR URLs and run pluggable OCR.
Values you need
| Variable | What it is | |
|---|---|---|
QRMCP_OUTPUT_DIR | optional | Directory where generated images are written. Defaults to ./out |
QRMCP_URL_ALLOWLIST | optional | 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_TOKEN | optional secret | Optional bearer token required by the HTTP and SSE transports. |
QRMCP_ALLOW_REMOTE | optional | 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 qrmcpAdd 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: qr_batch, qr_parse, qr_decode, qr_detect, qr_generate, server_health, ocr_image, qr_open, ….
- 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