QR for Agent logo

QR for Agent

Create, manage, style, and track dynamic QR codes through MCP tools, including bulk actions, analytics, webhooks, and multiple QR formats.

Install QR for Agent

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "qr-for-agent": {
      "command": "npx",
      "args": [
        "-y",
        "qr-for-agent"
      ],
      "env": {
        "API_KEY": "YOUR_VALUE_HERE",
        "BASE_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env API_KEY=YOUR_VALUE_HERE --env BASE_URL=YOUR_VALUE_HERE --transport stdio qr-for-agent -- npx -y qr-for-agent

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y qr-for-agent

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

QR for Agent MCP server lets AI agents create and manage dynamic QR codes through the QR for Agent REST API. It supports URL, contact, WiFi, event, social, app-store, and other QR formats, plus styling, bulk operations, analytics, and webhooks. Configure the npm-based MCP process with an API key and API base URL. Reach for it when an agent needs to generate QR assets, retarget destinations, inspect scans, or manage QR campaigns programmatically.

Use cases

  • Create branded QR codes for changing campaign destinations
  • Generate contact, WiFi, event, and app-store QR codes
  • Track scans by device, location, browser, and day
  • Bulk-create or update QR codes for multiple destinations
  • Register webhooks for QR scan-related events

Key features

  • Dynamic QR destination updates
  • Eleven QR code formats
  • Custom styling and image output
  • Bulk operations for up to 50 codes
  • Scan analytics and webhooks
  • UTM, redirect-rule, and custom-domain tools

Tools37

What QR for Agent lets your agent do. Expand a tool for its parameters.

Self-reported~433 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

Not checked yetLast checked

We have not completed a health check for this listing yet.

9/15 checks healthy over the last 84d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · qr-for-agent (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
npm downloads660Package downloads in the last 30 days.
Last commit26d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed37Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How QR for Agent works

What the QR for Agent MCP server does

QR for Agent MCP server exposes the QR for Agent API as MCP tools for creating and managing QR codes. Dynamic codes use a short redirect URL, so an agent can change the destination without replacing the QR image. Each API key operates within its own tenant data.

The server supports URL QR codes with optional styling and specialized formats for vCards, WiFi credentials, email, SMS, phone calls, calendar events, plain text, locations, social links, and app-store redirects. It can also retrieve, update, list, and delete codes by short ID.

How it works

The MCP package is published as qr-for-agent and runs through npx qr-for-agent. It sends requests to the configured QR for Agent API using the supplied API key. The hosted API is available at https://api.qrforagent.com, while the repository also documents a self-hosted development setup.

QR for Agent MCP server includes tools for creating up to 50 codes in one bulk request, updating up to 50, and deleting up to 50. Analytics tools return scan information and breakdowns such as device type, browser, operating system, country, city, and scans by day. Webhook tools register, list, and remove endpoints; webhook payloads use HMAC-SHA256 signatures and include delivery logging according to the project documentation.

Additional tools cover UTM parameters, conditional redirect rules, custom domains for Pro users, usage and quota checks, API-key registration, and Stripe checkout or billing-portal access. The available redirect and tracking behavior is provided by the underlying API rather than generated locally by the MCP process.

Setup and configuration

Install and run the MCP server with:

Terminal
npx qr-for-agent

Add it to an MCP client configuration with the qr-for-agent server name. The documented configuration passes these environment variables:

config.json
{
  "command": "npx",
  "args": ["-y", "qr-for-agent"],
  "env": {
    "API_KEY": "your-api-key",
    "BASE_URL": "https://api.qrforagent.com"
  }
}

An API key is required for the authenticated API operations. The service supports self-service registration, and a self-hosted instance can generate an API key on first startup when no keys exist. Every API key sees only its own QR codes.

Tools and capabilities

The QR for Agent MCP server provides tools for:

  • Creating, retrieving, listing, updating, and deleting QR codes.
  • Generating specialized QR formats such as vCard, WiFi, email, event, location, social, and app-store codes.
  • Applying custom QR styling, including colors, gradients, dot and corner styles, logos, frames, and call-to-action text where supported by the API.
  • Running bulk create, update, and delete operations for up to 50 codes per request.
  • Reading scan analytics and managing webhooks.
  • Setting UTM parameters, redirect rules, and custom domains.
  • Checking usage, registering for an API key, and managing Pro billing.

Limitations and notes

The API requires an X-API-Key for its authenticated endpoints. Some capabilities, including custom domains, depend on the Pro plan. The documented free plan includes 10 QR codes and 1,000 scans per month, while the Pro plan is listed at $19 per month with unlimited usage. Bulk CSV creation is documented separately as a Pro-only API feature and is not listed among the provided MCP tools.

Deleting a QR code also deletes its analytics. Public redirect, image, health, documentation, and discovery endpoints do not require authentication, but those endpoints are part of the API rather than separate MCP configuration options.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about QR for Agent

QR for Agent is an MCP server that connects AI agents to the QR for Agent API. Its main tools create, update, list, delete, and analyze dynamic QR codes, generate formats such as vCards and WiFi codes, run bulk operations, manage webhooks, and handle API registration, usage, and billing.

Install it by running `npx qr-for-agent`, then add the command to your MCP client configuration. Set `API_KEY` to a QR for Agent API key and `BASE_URL` to the API endpoint, such as `https://api.qrforagent.com`.

Yes, QR for Agent works with Cursor through its MCP configuration. Add an `qr-for-agent` server entry in `.cursor/mcp.json`, run `npx -y qr-for-agent`, and provide the `API_KEY` and `BASE_URL` environment variables.

Yes, QR for Agent provides scan analytics through the `get_qr_analytics` tool. The API documents breakdowns for device type, browser, operating system, country, city, and scans by day, along with webhook support for registered endpoints.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewQR for Agent AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/qr-for-agent?style=directory)](https://allmcps.com/mcp/qr-for-agent)
HTML Embed
<a href="https://allmcps.com/mcp/qr-for-agent"><img src="https://allmcps.com/api/badge/qr-for-agent?style=directory" alt="QR for Agent on AllMCPs" /></a>