What your agent gets
A QR code encodes a URL for as long as the ink exists. qr-codes.ink makes that URL one you own the meaning of: the printed pattern never changes, and the destination behind it is editable at any moment. An agent connected here can give a physical thing a permanent address, then re-point it a year later.
Relay point + call sign = the address, and the address leads to the destination. The relay point is the host a code prints under — qr-codes.ink, or the workspace’s own connected domain — and the call sign is the permanent part of the address after /q/, chosen when the code is minted or generated for it. The address is what the pattern prints, and once printed it never changes; the destination behind it can change at any time. The tools carry the call sign as slug. A static code has neither: its content is printed into the pattern itself.
- A permanent address — minted in one call, returned ready to print. It is the one thing here that can never be changed afterwards.
- An editable destination — re-point a code and every copy already in the world follows, within a minute, with no reprint.
- How often people scan — for one code, a folder, a campaign or the whole workspace, over 7, 30 or 90 days: by day, by country and by device, with the busiest codes. The same numbers the app shows; link previews and uptime monitors are counted apart, never as people.
- Names, not ids — folders and campaigns are listed by name, and a code can be filed into one by naming it. A QR code’s title can be up to 120 characters, and a folder’s or a campaign’s name up to 80; a longer one is refused and nothing is made.
- Folders you can make and file into —
create_foldermakes a folder (asking twice for the same name returns the one already there), andmove_qr_codefiles an existing code in a folder or at the top level. Neither changes where any code points, and naming a folder that does not exist never creates one. - Your workspaces, named — an agent acts only in workspaces its human belongs to, with its human’s role there; in more than one, every call names which.
- A history — every destination change is recorded, marked as made by a person or an agent, and an agent can read it back.
- How a code looks —
get_qr_code_designreads a code’s colours, dot and corner styles, error correction, grid size, frame and logo exactly as the studio draws them, with each version that was printed, and links to the studio, where the image is drawn in your browser; no tool here returns an image. - Your logos, by name —
list_logoslists the workspace’s logo library,create_qr_codecan put one in a new code by naming it, andget_qr_code_designnames the library logo a code uses. A library logo’s picture never changes; the image itself is never returned. - Your templates, by name —
list_templateslists the workspace’s saved house styles,create_qr_codemakes a new code from one by naming it (with a logo for a template that takes one for each code), andget_qr_code_designnames the template a code came from and whether it still matches. A template’s look is copied into the code: editing the template never changes a code. Applying a template to codes that already exist stays in the app, where a printed code’s look changes only when a person types the template’s name. - A read-only address — a second URL that can look and never change anything, whatever your role.
Connect
One URL, and a browser sign-in. There is no API key to paste, copy into a config file, or leak into a chat log — authorization is OAuth against the same identity provider the web app uses, so the agent acts as you, within your role, and never beyond it; some things no agent can do (see Permissions). Your role is checked on every call: if a workspace admin changes your role or removes you, your agent is held to that on its very next call. There is no page in the app that lists connected agents or disconnects one yet; to stop an agent, remove this server from that agent’s own settings.
https://qr-codes.ink/mcpOr paste this into an agent that can fetch a URL — the setup document walks it through registering the server in its own harness:
Connect yourself to my qr-codes.ink workspace: fetch https://qr-codes.ink/setup.md and follow the instructions.
Claude Code
claude mcp add --transport http qr-codes https://qr-codes.ink/mcpThen run /mcp inside Claude Code and authorize. A browser opens, you sign in to qr-codes.ink as yourself, and the agent can then do what your role allows in your workspaces — nothing more.
Cursor
{
"mcpServers": {
"qr-codes": { "url": "https://qr-codes.ink/mcp" }
}
}In .cursor/mcp.json (this project) or ~/.cursor/mcp.json (everywhere).
Codex CLI
[mcp_servers.qr-codes]
url = "https://qr-codes.ink/mcp"Appended to ~/.codex/config.toml.
Anything else that speaks MCP
Streamable HTTP at https://qr-codes.ink/mcp, OAuth 2.1 with WorkOS AuthKit as the authorization server. Discovery is at /.well-known/oauth-protected-resource; the endpoint answers POST only, and is stateless — no session to open, no event stream to hold.
Tools
| Tool | Scope | On the read-only address | What it does |
|---|---|---|---|
list_workspaces | codes:read | yes | List the workspaces you belong to, with each one’s id, name and your role there. Call this first if you are not sure which workspace to act in, then pass its name or id as workspace to the other tools. |
list_qr_codes | codes:read | yes | List the QR codes in a workspace, with the address each one is printed with and where it currently points. |
get_qr_code | codes:read | yes | Look up one QR code in a workspace by its id or its call sign, and report where it currently points. |
get_qr_code_design | codes:read | yes | How one QR code looks, exactly as the studio draws it: its colours, dot and corner styles, error correction, grid size, frame, and whether it carries a logo (its type and size, and which logo from the workspace’s library — never the image), and the template its look came from, with whether it still matches. Also each version that was printed — when, as which file and under which address — and a link to the code in the app, where the print-ready file is drawn in the person’s browser and downloaded. This tool never returns an image. |
list_folders | codes:read | yes | List the folders in a workspace, with each one’s name, id, parent, place in the tree and how many codes are filed directly in it. Use a folder’s name or id wherever a tool takes folder. |
list_campaigns | codes:read | yes | List the campaigns in a workspace, with each one’s name, id, canonical URL (where codes minted into it start out pointing), folder and how many codes it holds. Use a campaign’s name or id wherever a tool takes campaign. |
list_logos | codes:read | yes | List the logos in a workspace’s logo library, with each one’s name, id, whether it is active or archived, how large it prints sharply, and how many designs use it. Never the image. A library logo’s picture never changes, and an archived one still draws wherever it is used. |
list_templates | codes:read | yes | List a workspace’s templates — saved house styles a new QR code can be made from — with each one’s name, id, current version, whether it carries its own logo or takes one for each code, the grid size it fixes, whether it is the default, and how many of the codes made from it still match it. Never the look itself: get_qr_code_design describes how a code looks. Pass a template’s name or id to create_qr_code to make a code from it. |
get_scan_analytics | codes:read | yes | How often QR codes were scanned by people over the last 7, 30 or 90 days: totals, a day-by-day series, the top countries and device types, and — for a workspace, folder or campaign — the busiest codes. Ask about one code (id or call sign), one folder or one campaign (name or id), or nothing for the whole workspace. The same numbers the app shows: link previews, uptime monitors, prefetches and the same phone twice within ten seconds are counted in requests, never in scans. Static codes are never scanned through us and always read 0. |
get_destination_history | codes:read | yes | Where one QR code has pointed, newest change first: each change’s old and new destination, when it happened, and whether a person or an agent made it. The oldest entry, with no old destination, is the code being created. Use it to see — and put right with set_qr_destination — a re-point that went somewhere wrong. |
create_qr_code | codes:write | no | Mint a new QR code in a workspace pointing at a destination, and return the value to print. By default the code is relayed: the printed address never changes and the destination stays editable. Pass kind "static" to print the destination directly into the pattern instead — nothing can change it afterwards and its scans are never counted. print_host chooses which address a relayed code carries: "workspace" (the default) uses the workspace’s own connected domain when it has one, "platform" pins the code to qr-codes.ink and needs a connected domain to mean anything different. Pass logo to put a logo from the workspace’s library in the middle of the new code: it is born with the workspace look and that logo, and anything else about its look is changed by a person in the studio. Pass template to make it from one of the workspace’s templates instead (list_templates shows them): it is born with that template’s look, drawn on the grid its address needs or the template’s, whichever is larger — with logo naming its logo when the template takes one for each code. |
set_qr_destination | codes:write | no | Re-point an existing QR code in a workspace at a new destination. Anything already printed keeps working and starts leading to the new place within a minute. |
create_folder | codes:write | no | Make a folder in a workspace, at the top level or inside another folder, to file QR codes in. A folder is only for organising: it has no address and no destination. If a folder with that name (any case) is already at that level, it is returned as it is, with existing true, and nothing is made — so asking twice never makes two. |
move_qr_code | codes:write | no | File an existing QR code in a folder, or at the top level of the workspace. Only where the code is filed changes: its printed address, where it points, and how it looks stay exactly as they are. A code in a campaign is filed where its campaign is and moves only with it, so it is refused. |
Reconnect after any change here — MCP clients cache the tool list for the life of a session.
A read-only connection
When you want an agent to look and never touch, give it the second address instead: https://qr-codes.ink/mcp/read. It offers only the tools that read — your QR codes, how they look, your logos and templates, folders, campaigns, scan counts and destination history — and refuses every tool that changes anything before it runs, whatever your role, an Owner’s included. It is connected the same way, with the same browser sign-in.
claude mcp add --transport http qr-codes-read https://qr-codes.ink/mcp/readIts sign-in is for that address alone: the token issued when you connect it is refused at the full address, so a read-only connection cannot be turned into a full one by pointing it somewhere else. On the full address the limit is your role — a Viewer is read-only at either.
The tools on it: list_workspaces, list_qr_codes, get_qr_code, get_qr_code_design, list_folders, list_campaigns, list_logos, list_templates, get_scan_analytics, get_destination_history. Anything else is answered with one sentence — “This connection is read-only. Connect https://qr-codes.ink/mcp to change codes.” — and nothing is read or written.
Workspaces
Every tool except list_workspaces acts in exactly one workspace. If you belong to one, that is the one, and nothing needs saying. If you belong to more than one — your own and a client’s, say — each call names which with its workspace argument: the workspace’s id, or its name (any case). list_workspaces lists them, with your role in each.
- No default. From someone in more than one workspace, a call that names none is refused with the list of them, and nothing is read or changed. An agent never acts in a workspace nobody chose.
- Only yours. A workspace you do not belong to is refused as unknown, whatever id or name is given, and the refusal says nothing about it.
- Your role there. Each call is checked against your role in the workspace it names: an Editor in one workspace and a Viewer in another can change QR codes only in the first.
- Every answer says where. Each result carries
workspace— its id and name — so an agent can tell you which workspace it just acted in.
Permissions
Your role is the lock. Signing in asks for no qr-codes.ink permission of its own: the token proves who you are, and every call is checked on the server against your role in the workspace it acts in. An agent can do what your role allows in the app there, except the things no agent can do (below), and never more — a Viewer’s agent can look, but cannot mint or re-point.
A token can be narrowed, never widened. The server also honours two qr-codes.ink scopes — codes:read and codes:write — when a token carries them: a codes:read token can look but never change anything. Today’s sign-in issues neither, so what limits an agent is your role — and, when you choose it, the read-only address.
What no scope grants. There is no scope that deletes a QR code, pauses one, changes workspace settings, or manages teammates. Retiring a pattern that has been printed on ten thousand labels is a decision with consequences an agent cannot see, so it stays a human act, made in the workspace.
A printed code asks a person for a name. Once a file of a QR code has been downloaded, it may already be printed, and in the app these ask whoever does them to type a name first. No tool here does any of them.
- Pausing or archiving it: you type its call sign.
- Saving a new look for it in the studio, or restoring an earlier one: you type its call sign.
- Archiving the folder or campaign it is in: you type the folder’s or campaign’s name.
- Applying a template to it: you type the template’s name.
- Disconnecting the domain it was printed under: you type the domain.
Changing where a printed QR code leads never asks: that is what it is for.
Re-pointing a code that has been printed is never silent: the workspace’s owners and admins get an email naming the code, its old and new destination and who changed it (an agent connection, for yours), with a button that puts the old destination back.
In the studio, a code a phone can’t read is asked about, never printed quietly. The designer warns you beside the colours as soon as the dots or corner markers are too close to the background for a phone to find the code. Saving that design, or downloading a PNG or SVG of it, stops to ask first. Choose “Fix the colours” to go back to them, or go on if you know better. A readable design asks nothing.
Minting is capped per workspace per day. The cap is generous enough that ordinary work never meets it, and low enough that a retry loop cannot mint a hundred thousand codes overnight.
A workspace on the Free plan gets 10 relayed codes, counted for good: archiving one does not give it back. Static codes are never counted, on any plan, and a code on Free is never switched off. Relay and above make relayed codes unlimited.
Verify a connection
Ask the agent to list your QR codes. A working connection answers with the codes in your workspace, each with the address it prints and where it currently points; a workspace with none answers with an empty list rather than an error.
If tools are missing after a change, reconnect — the tool list is cached per session. If a call is refused because you belong to more than one workspace, the refusal lists them: tell the agent which one. If it is refused for your role, the fix is in the workspace, not the connection — a workspace admin can change your role. If it is refused for scope, the token carries narrower qr-codes.ink scopes than the call needs, and reconnecting mints a new one.
For agents
- MCP endpoint:
https://qr-codes.ink/mcp(Streamable HTTP,POSTonly) - MCP endpoint that can only read:
https://qr-codes.ink/mcp/read(the read tools, and a token for it alone) - Setup instructions: https://qr-codes.ink/setup.md
- Overview and link index: https://qr-codes.ink/llms.txt
- This page as markdown: https://qr-codes.ink/docs.md
- Discovery:
https://qr-codes.ink/.well-known/oauth-protected-resource - Read-only discovery:
https://qr-codes.ink/.well-known/oauth-protected-resource/mcp/read