# QRdx MCP server

> MCP (Model Context Protocol) is the open standard that lets AI assistants use outside tools. Connect QRdx once, ask for a QR code in plain words, and get the image back in the chat.

- Endpoint: `https://qr.aanandam.live/api/mcp` (Streamable HTTP)
- No account or API key for designing, rendering and the community. create_dynamic_code, update_code_destination, get_code_stats and list_codes act on the person's own QRdx workspace: they're listed to everyone, and the first call asks the person to sign in to QRdx (OAuth; new accounts sign up there). Only those and save_template and save_barcode write (a dynamic code, a theme or a barcode), and generate_ai_art uses the key's workspace's monthly AI art images; the server keeps no other data. save_template, save_barcode and generate_ai_art are listed only to connections that send an API key (`Authorization: Bearer qrdx_…`).
- Connect page: https://qr.aanandam.live/mcp
- Docs: https://qr.aanandam.live/docs/developers/mcp
- Server card: https://qr.aanandam.live/api/mcp/server-card

## How it works

1. **Add the server.** One command or a few lines of config in Claude, Cursor, VS Code or any other MCP app. No account or API key.
2. **Ask your assistant.** In plain words: the link or details to encode, colors and shape. It picks the right QRdx tool.
3. **Get a QR code back.** A PNG image in the chat, plus SVG, PNG, WebP, TIFF and EPS links ready for Markdown, HTML or print. Apps that support MCP Apps also show the code as a card you can save or open in the editor.

## Connect your app

### Claude (claude.ai and Claude Desktop)

Open [Add custom connector with QRdx filled in](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=QRdx&connectorUrl=https%3A%2F%2Fqr.aanandam.live%2Fapi%2Fmcp), or go to Customize → Connectors → Add custom connector, name it QRdx and paste `https://qr.aanandam.live/api/mcp`. Leave the OAuth fields empty, click Add, then turn QRdx on from a chat's tools menu. Free plans can add one custom connector; on Team and Enterprise plans an owner adds it.

### Claude Code

```bash
claude mcp add --transport http qrdx https://qr.aanandam.live/api/mcp
```

### Cursor

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=qrdx&config=eyJ1cmwiOiJodHRwczovL3FyLmFhbmFuZGFtLmxpdmUvYXBpL21jcCJ9) (opens Cursor's install prompt), or add this to `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "qrdx": {
      "url": "https://qr.aanandam.live/api/mcp"
    }
  }
}
```

### VS Code (GitHub Copilot)

[Install in VS Code](https://insiders.vscode.dev/redirect/mcp/install?name=qrdx&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fqr.aanandam.live%2Fapi%2Fmcp%22%7D), or add this to `.vscode/mcp.json`, then use Copilot Chat in agent mode:

```json
{
  "servers": {
    "qrdx": {
      "type": "http",
      "url": "https://qr.aanandam.live/api/mcp"
    }
  }
}
```

### ChatGPT

At https://chatgpt.com/plugins, click + and choose Add custom MCP server. Name it QRdx, enter `https://qr.aanandam.live/api/mcp` as the URL, choose no authentication, accept the warning and create it. Then type @ in a new chat and pick QRdx. Your ChatGPT plan and workspace settings decide whether custom MCP servers are allowed.

### Devin Desktop (formerly Windsurf)

Add this to `~/.config/devin/mcp_config.json`, then refresh the MCP servers:

```json
{
  "mcpServers": {
    "qrdx": {
      "url": "https://qr.aanandam.live/api/mcp"
    }
  }
}
```

### Any other MCP app

Add a remote server with the URL `https://qr.aanandam.live/api/mcp` (Streamable HTTP, no authentication). Apps that only run local servers can bridge it with mcp-remote (needs Node.js):

```json
{
  "mcpServers": {
    "qrdx": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://qr.aanandam.live/api/mcp"
      ]
    }
  }
}
```

## Tools

- `design_qr` (Design a QR code, no key): Any content type (link, Wi-Fi, contact, payment, social and more) with the style your assistant picks: colours and gradients, shapes, a frame with its text or a community frame, a border, a logo icon. Can start from a built-in theme or a community item. Validates the content like the editor, checks the scan score and repairs the style until it is Great. Returns the score, what changed, the style JSON, a playground link, a PNG and the SVG.
- `list_options` (List design options, no key): Every value design_qr accepts: content types and their fields, shapes, frames, borders, logo icons, built-in themes, error correction levels and limits.
- `generate_qr_code` (Generate a QR code, no key): Renders the code and returns a PNG image plus public SVG, PNG, WebP, TIFF and EPS image URLs ready for Markdown, HTML or print. Takes the image API options: colors or gradients, body, eye and dot shapes, error correction, margin, a border, a frame and a logo icon, or a whole style from design_qr. Set include_svg for the SVG markup.
- `create_dynamic_code` (Create a dynamic code, needs sign-in): A dynamic QR code in your QRdx workspace: it holds a short link, so where it goes can change after printing, and its scans are counted. Returns the short link, the code as a PNG and a link to it in your dashboard. Your app asks you to sign in to QRdx the first time; plan limits apply as in the dashboard.
- `update_code_destination` (Change where a code goes, needs sign-in): Points one of your dynamic codes at a new address. The printed code stays the same. The new address is checked like a new code's.
- `get_code_stats` (Scan stats, needs sign-in): Scans and unique visitors for one of your dynamic codes over a range your plan keeps, with the top countries, devices and scans per day. Never single scans or precise locations.
- `list_codes` (List your codes, needs sign-in): Your dynamic codes with their short links, destinations, status and scan counts, to find one by name or link.
- `search_community` (Search the community, no key): Finds community frames and themes, free under CC0, by words, type or tag. Item text is written by members and comes back short, without links.
- `get_community_item` (Get a community item, no key): One frame or theme with the style it applies, ready to pass to design_qr or generate_qr_code.
- `save_template` (Save as a theme, needs an API key): Saves a design as a theme in your workspace, under the plan's saved-theme limit. Listed once the connection has a QRdx API key.
- `generate_barcode` (Generate a barcode, no key): EAN-13, UPC-A, UPC-E, EAN-8, ISBN, ISSN, ISMN, ITF-14, GS1-128, GS1 DataBar, GS1 DataBar Expanded, Code 128, Code 39, Code 93, Codabar, USPS Intelligent Mail, Data Matrix, PDF417, Aztec, Micro QR, rMQR, MaxiCode or DotCode. Checks the value (check digits, lengths, characters) and returns a PNG plus public SVG, PNG, PDF and other image URLs.
- `save_barcode` (Save a barcode, needs an API key): Keeps a barcode in your workspace's Barcodes to edit and download later. Listed once the connection has a QRdx API key.
- `generate_ai_art` (Generate AI art, needs an API key): Paints a QR code into AI artwork from your description, a scene or your photo, and checks that it scans. Each image uses one of your workspace's monthly AI art images and takes up to a minute. Listed once the connection has a QRdx API key.
- `search_docs` (Search the docs, no key): Finds QRdx docs pages for a question: how a feature works, API endpoints and fields, limits and plans, the React library. Returns titles, links and matching snippets, best first.
- `read_docs_page` (Read a docs page, no key): One docs page as Markdown, by the path search_docs returned or its URL. Long pages are cut with a link to the rest.
- `list_qr_styles` (List styles, no key): Body patterns, corner eye and eye dot shapes, built-in frames, error correction levels, defaults and limits.
- `qr_payload_wifi` (Wi-Fi network, no key): A WIFI: payload (WPA, WEP or open, optionally hidden) with special characters escaped.
- `qr_payload_vcard` (Contact card, no key): A vCard 3.0 contact: name, organization, title, phones, email, website, address and note.
- `qr_payload_mecard` (Contact card (MeCard), no key): A MeCard contact: the same basics as a vCard in fewer characters, so the code is smaller.
- `qr_payload_email` (Email, no key): A mailto: link with optional cc, bcc, subject and body.
- `qr_payload_sms` (Text message, no key): An sms: link with an optional message, or the older SMSTO: form.
- `qr_payload_geo` (Map location, no key): A geo: location from latitude and longitude.
- `qr_payload_payment` (Payment, no key): A Pix, SEPA, Swiss QR-bill, QR Platba, Swish, PayNow, PromptPay, VietQR or KHQR payment code, or a Lightning, XRP, Cardano, Tron, TON or Stellar request, checked like the playground's forms.

## FAQ

### Can Claude make a QR code?

Yes, with the QRdx MCP server connected. A language model can't work out a QR code's pattern in its head, so a code it draws on its own rarely scans. Connected to QRdx, Claude calls a tool that renders a real, standard code and shows it in the chat. Add the server URL as a custom connector in Claude, or run the claude mcp add command in Claude Code; ChatGPT, Cursor and VS Code connect the same way.

### Is the QRdx MCP server free?

Yes. It's free and open source, and designing, rendering and checking codes needs no account. Those codes are static, so they never expire and have no scan limits. Dynamic codes live in a QRdx account, so making one asks you to sign in (or sign up) first; the plan's limits apply as in the dashboard.

### Does it need an API key?

No, for designing and rendering codes and browsing the community: the QRdx MCP server is public and free, and it keeps no session state. The dynamic-code tools need you signed in to QRdx instead, which your app asks for the first time you use one. Saving a design to your themes (save_template), saving a barcode (save_barcode), making AI art (generate_ai_art) and using a logo you uploaded need a QRdx API key, sent as Authorization: Bearer qrdx_… in your app's settings for the server. Your app sees those three tools once the key is set.

### Which AI tools does it work with?

Any MCP app that supports remote servers over Streamable HTTP, such as Claude, ChatGPT (as a custom MCP server, where your plan allows it), Claude Code, Cursor, VS Code, Devin Desktop (formerly Windsurf), Gemini CLI and Codex. Apps that only run local stdio servers can connect through the mcp-remote bridge.

### Can it add logos or gradients?

Yes. Linear and radial gradients, frames and borders work without a key, and so do the quick logo icons (Wi-Fi, link, phone and others). A logo you uploaded to QRdx works by its file id with your API key. QRdx never fetches a logo from a web address. Logo QR and Image QR art are made in the playground.

### Can it create dynamic QR codes?

Yes, once you sign in. create_dynamic_code makes a dynamic code in your QRdx workspace: the code holds a short link, so you can point it somewhere else later (update_code_destination) and see how often it's scanned (get_code_stats). The first time, your app asks you to sign in to QRdx, where new accounts sign up too.

### Does the code show up in the chat?

design_qr and generate_qr_code return the code as a PNG image, so apps that display images show it in the chat. Apps that support MCP Apps also show a QR card: the code, what it encodes (for Wi-Fi, the network name, never the password), its size or scan score, an Open in editor button, and PNG and SVG buttons where the app can save or open them. Apps without MCP Apps get the same text and image as before.

### Does QRdx store the codes I generate?

Not the static ones. The tools render images, format text and read the public community. Only these write anything: create_dynamic_code and update_code_destination (the dynamic code you ask for, in your workspace), and save_template and save_barcode (the theme or barcode you ask them to save, in the API key's workspace). generate_ai_art uses one of the workspace's monthly AI art images but keeps neither the image nor a photo you send. The image URLs the tools return contain the encoded data, so don't share them if the data is private, such as a Wi-Fi password.

### Are there limits?

Requests are limited to 120 per minute per IP address, and design_qr to 20. Calls with an API key also count toward the workspace's daily API quota. Very long data may not fit in a QR code; the tool then returns an error suggesting a lower error correction level.

### Is it in the MCP Registry?

Yes. The hosted server is listed in the official MCP Registry as dev.qrdx/qrdx, so apps and directories that read the registry can find it there.

### Can I run it myself?

Yes. The MCP server is part of the QRdx web app, so a self-hosted instance serves it at /api/mcp on your own domain.
