The first QR code MCP server built for AI agents

Your AI agent can write code, send emails, and manage projects. Now it can create, update, and track dynamic QR codes too. One command. No dashboard. No bloat.

$ npx qr-for-agent

30 seconds from install to your first QR code.

See it in action

Ask your agent to create a QR code. It does.

Prompt
Create a dynamic QR code for our event page at
https://conf.example.com/2026 and give me the scan tracking URL.
Agent response
{
  "id": "qr_8x7k2m",
  "type": "dynamic",
  "target_url": "https://conf.example.com/2026",
  "qr_code_url": "https://api.qragentcore.com/qr/qr_8x7k2m.png",
  "scan_tracking": "https://api.qragentcore.com/qr/qr_8x7k2m/scans",
  "created_at": "2026-02-24T10:30:00Z"
}

Your agent calls the MCP tools in natural language. No SDK to learn. No multiple API calls to chain. One prompt, one QR code -- dynamic, trackable, and updatable without changing the image.

Three steps. That's it.

1

Install

Works with Claude Desktop, Cursor, and any MCP-compatible client. No config files. No Python paths. No environment variable debugging.

$ npx qr-for-agent
2

Configure

Add your API key:

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

Create

Your agent now has 6 QR code tools. Ask it to create, read, update, list, delete, or track scans on dynamic QR codes -- in plain language.

Built for AI agents. Not retrofitted.

Most QR code services bolt on an API as an afterthought. QR for Agent is MCP-native from line one.

Your agent gets exactly 6 tools -- no more, no less:

  • create_qr_code -- Generate a dynamic QR code with a target URL
  • get_qr_code -- Retrieve details and metadata for any QR code
  • update_qr_destination -- Change the destination URL without reprinting
  • list_qr_codes -- List all QR codes under an API key
  • delete_qr_code -- Remove a QR code permanently
  • get_qr_analytics -- Get scan count, timestamps, and referrer data

6 tools. 3 dependencies. 5 kB package. Your context window stays clean.

Dynamic QR Codes

Update where a QR code points after it's printed. No new image needed. Your agent handles it with a single prompt.

Scan Analytics

Track every scan: count, timestamp, referrer. Your agent can pull analytics and adjust campaigns in real time.

Multi-Tenant Isolation

One API key per client. Build agents for multiple customers without data leaking between them. Agencies and consultants: this is for you.

REST API + MCP

Not using MCP? The full REST API works standalone. Every MCP tool maps 1:1 to an HTTP endpoint. Use whichever protocol fits your stack.

Lightweight by Design

The "too many tools" problem is real -- "context windows filling up with tool definitions, loading 50 tools meant burning 100K+ tokens before the conversation started." QR for Agent ships 6 tools at 5 kB. Your agent keeps its focus.

QR for Agent vs. traditional QR code services

"Most QR code APIs are either overpriced, overcomplicated, or require using their hosted dashboard." Here's how we compare.

Feature Traditional QR Services QR for Agent
MCP integration None (or via Zapier) Native -- 6 dedicated tools
Installation Read 6 pages of docs, configure OAuth npx qr-for-agent
API access Pro plans only ($49+/month) Free tier includes full API
QR codes after trial Deactivated without warning Your QR codes never expire silently
Context footprint 27+ tools, 60K tokens burned 6 tools, 5 kB total
Source code Closed Open source on GitHub
Dashboard required Yes No. API-first.
Pricing "Contact Sales" or bait-and-switch Free to start. Transparent. See pricing.

What your agent builds with QR codes

AI agents are no longer just answering questions. They deploy apps, run workflows, and now -- they create real-world objects.

Marketing Campaigns

Your agent generates a unique dynamic QR code for each campaign, tracks scan analytics daily, and updates the destination URL when the landing page changes. No manual dashboard work. No broken links on printed flyers.

Event Management

"Create a QR code for the conference registration page." Done. Venue changes? Your agent updates the URL. After the event, it pulls scan data to measure attendance conversion.

Restaurant Menus

Generate a QR code per location. When the menu changes, your agent updates the link -- the printed QR on the table stays the same. Multi-tenant isolation keeps each restaurant's data separate.

Business Cards & Collateral

Your agent creates a dynamic QR code that points to a vCard or portfolio. When the contact changes jobs, update the destination. The printed card still works.

Open source. No vendor lock-in.

The code is on GitHub. Read it. Fork it. Self-host it if you want.

QR for Agent is MIT-licensed. If we disappear tomorrow, your QR codes keep working. Teams keep rebuilding small but critical utilities -- QR codes, short URLs, tokens -- over and over again. We built it once, correctly, and opened the source.

Self-host on your infrastructure with Docker or Railway. Or use the hosted API and skip the ops work. Your call.

Give your agent the power to create QR codes

MCP-native. API-first. Open source. Free to start.

$ npx qr-for-agent