Help · Developers

Manage QR codes from AI assistants (MCP)

Ask your AI assistant to make a code for a new flyer, switch the menu code to tonight's specials, or tell you which codes were scanned most this week. It does it in your QR Walrus account through the Model Context Protocol (MCP).

Updated

Plan
Pro and up
Works with
Claude Code, Cursor, VS Code and other MCP tools
Sign in with
Your API key
Address
https://www.qrwalrus.com/api/mcp

What you can ask

  • “Make a dynamic QR code called Diwali flyer that opens https://yourshop.in/diwali.”
  • “Which of my codes got the most scans in the last 7 days, and from which cities?”
  • “Change the Table menu code to open the new menu link.”
  • “Show me the last 20 messages from my wedding page's form.”
  • “Make codes for these 30 product pages” (with a list), on plans with bulk creation.

Make an API key

In your dashboard, open Integrations, then New API key. Choose read-only if the assistant should only look, or read and write if it should also make and change codes. Copy the key; it is shown once. Keys can be revoked from the same screen at any time. More about keys is in the API reference.

Connect your assistant

Replace qrw_YOUR_KEY with your key.

Claude Code (terminal)
claude mcp add --transport http qrwalrus https://www.qrwalrus.com/api/mcp --header "Authorization: Bearer qrw_YOUR_KEY"
Cursor: ~/.cursor/mcp.json
{
  "mcpServers": {
    "qrwalrus": {
      "url": "https://www.qrwalrus.com/api/mcp",
      "headers": {
        "Authorization": "Bearer qrw_YOUR_KEY"
      }
    }
  }
}
VS Code: .vscode/mcp.json (asks for the key once)
{
  "servers": {
    "qrwalrus": {
      "type": "http",
      "url": "https://www.qrwalrus.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${input:qrwalrus-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "qrwalrus-key",
      "description": "QR Walrus API key",
      "password": true
    }
  ]
}

Other tools: add a remote MCP server with the address https://www.qrwalrus.com/api/mcp and the header Authorization: Bearer qrw_…. Then ask the assistant something like “Which QR Walrus account am I connected to?” to check.

The tools

ToolWhat it does
whoamiThe workspace and plan this key belongs to, whether it can write, and this month's API usage.
list_qr_codesThe workspace's QR codes, newest first, with their scan counts. Filter by status, tag or a search over names and content.
get_qr_codeOne QR code: what it opens, its scan link, status and scan counts.
create_qr_codeNeeds a key that can writeMake a new QR code. Returns it with its scan link; the image is at the code's page in the dashboard. Needs a key with write access, and counts toward the plan's dynamic codes.
create_qr_codesNeeds a key that can writeMake several QR codes at once (all or nothing). Each item takes the same fields as create_qr_code. Needs a write key and a plan with bulk creation.
update_qr_codeNeeds a key that can writeChange a dynamic code's destination, name, tags or status. Printed codes keep working: the new destination applies from the next scan. Only the fields sent change. Needs a write key.
delete_qr_codeNeeds a key that can writeDelete a QR code and its scan history for good. Printed copies stop working. Confirm with the person first. Needs a write key.
get_qr_analyticsScans of one code: totals, by day, device, country, city, referrer, UTM source and smart rule, for up to `days` days (within the plan's history).
list_pagesThe workspace's landing pages: id, name, status and address.
list_page_leadsMessages people sent through a page's forms, newest first. For more, pass `before` the pagination.nextBefore of the last answer.

Staying in control

The assistant works through the same API as your own software, with the same checks: your plan's features and limits, at most 60 requests a minute (20 of them changes) per key, and the same validation as the dashboard. If something is refused, the assistant is told why and can fix it.

Good habit

Give each assistant its own key with a clear name, read-only unless it needs to write. If you stop using it, revoke the key.

Questions about the MCP server

Which plan do I need?

Pro or higher, the same as the API. Every tool call counts as one API request toward your plan's monthly allowance.

Does it cost extra?

No. The MCP server is part of the API. Your AI assistant may have its own price.

Can I stop the assistant changing anything?

Yes. Make a read-only API key: the assistant can still list codes and read analytics, and anything that would create, change or delete a code is refused.

Will the assistant delete my codes?

Only with a key that can write, and the delete tool is marked as destructive, so assistants ask you first. Deleting a code stops printed copies from working, so read what you approve.

Does it work with ChatGPT or claude.ai in the browser?

Not yet. Those connect through a sign-in flow (OAuth) rather than an API key. Desktop and code tools that accept a header work today.

Who sees my data?

QR Walrus answers your assistant's requests and sends nothing anywhere else. What a tool returns goes to the assistant you connected, under that provider's own terms.