Skip to main content
QRSenBuilt for business
Live — Streamable HTTP MCP server

QR code generation for AI agents, via MCP

The Model Context Protocol (MCP) lets AI assistants and agentic tools call external services directly. QRSen runs an MCP server so any MCP-compatible client — Claude, an IDE agent, an automation pipeline — can generate a static, print-ready QR code with a single tool call, no browser tab required.

One tool today (generate_qr_code), authenticated with an API key from your dashboard — free tier included, see /pricing for limits. The web generator itself stays free with no account. Want a second tool (batch generation, dynamic presets, etc.)? Tell us.

What it does

generate_qr_code

One tool call in, one QR code out — pass a URL or text payload plus optional color, dot style and export format, get back SVG markup or base64 PNG/JPEG.

Same static-first engine

No redirect layer, no expiring codes — the MCP tool runs the identical qr-code-styling engine and presets as the web generator, just server-side instead of in a browser tab.

Stateless & fast

No session to manage — every call is independent and authenticated with a single API key. Point any MCP client at the endpoint below with your key and it just works.

Connect to it

First, create a free account and generate an API key from your dashboard. Then the endpoint speaks the MCP Streamable HTTP transport (the current standard for remote MCP servers) — point any client that supports remote/HTTP MCP servers at it, with your key as a Bearer token:

https://qrsen.com/api/mcp

For Claude Code:

claude mcp add --transport http qrsen https://qrsen.com/api/mcp --header "Authorization: Bearer YOUR_API_KEY"

For a stdio-only client that doesn’t yet support remote servers directly, bridge it with mcp-remote pointed at the same URL, passing the same header. Requests without a valid key get a 401 with a link back to sign-up.

generate_qr_code parameters

ParamTypeNotes
datastring (required)The URL or text to encode.
colorhex stringDot/corner color, e.g. "#063360". Default "#131313".
backgroundhex stringBackground color. Default "#ffffff".
styledots | rounded | extra-rounded | squareDot style preset. Default "dots".
formatsvg | png | jpegOutput format. Default "svg".
sizenumber (64–4096)Output size in pixels. Default 512.
errorCorrectionLevelL | M | Q | HQR error correction. Default "M".

Who this is for

Need something the current tool doesn’t cover?

Tell us your use case — we reply within 1–2 business days.

Contact us