Skip to content

MCP Server

MCP Server

qr3.app ships with a full Model Context Protocol (MCP) server. AI agents like Claude, Cursor, and any MCP-capable client can create, update, and analyze QR codes without writing a single line of code.

Setup

  1. Get your API key from app.qr3.app → Settings → API Keys
  2. Add the MCP server to your client config
  3. The agent now has access to all qr3 tools

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
"mcpServers": {
"qr3": {
"command": "npx",
"args": ["-y", "@qr3/mcp-server"],
"env": {
"QR3_API_KEY": "qr3_sk_your_key_here",
"QR3_WORKSPACE_ID": "ws_your_workspace_id"
}
}
}
}

Available tools

Core tools (all plans)

ToolDescription
create_qrCreate a QR code for a URL, vCard, WiFi, or other types
list_qr_codesList QR codes with filtering and pagination
get_qr_codeGet details and analytics for a specific QR code
update_qr_codeUpdate destination URL, status, or tags
delete_qr_codeDelete a QR code
get_scan_statsGet scan analytics (country, device, timeline)
create_batchCreate up to 100 QR codes at once
list_workspacesList available workspaces

Premium tools (AI Power Pack — Agency plan)

ToolDescription
analyze_qr_performanceAI-powered performance analysis with recommendations
create_dpp_qrCreate EU Digital Product Passport QR codes
bulk_create_advancedBatch creation with A/B testing and expiry
manage_workspaceWorkspace settings and member management
get_audit_trailFull audit log for compliance
validate_dppValidate DPP data against EU specification

Example conversations

User: Create a QR code for https://example.com that expires in 30 days
Claude: I'll create a dynamic QR code with a 30-day expiry for you.
[calls create_qr with url, is_dynamic=true, expires_at=+30days]
Created! Short code: r7f3Kx
- SVG: https://qr3.app/v1/codes/r7f3Kx/qr.svg
- Expires: April 14, 2026
User: How many times was my homepage QR scanned this month?
Claude: Let me check the analytics for you.
[calls list_qr_codes, then get_scan_stats for the matching code]
Your homepage QR was scanned 142 times this month:
- Top country: Austria (45 scans)
- Top device: Mobile (89%)
- Peak day: Monday

Environment variables

VariableRequiredDescription
QR3_API_KEYYour qr3.app API key (qr3_sk_...)
QR3_WORKSPACE_ID⚠️Workspace ID (required if account has multiple workspaces)
QR3_BASE_URLOverride API base URL (default: https://qr3.app)