Menu

Let your AI agent read the QR Suisse docs over MCP, then create a dynamic QR code with the API
📰

Let your AI agent read the QR Suisse docs over MCP, then create a dynamic QR code with the API

DEV Community: api·QR Suisse·about 8 hours ago
#APiTgIpa
#devtoapi#devto#dev#code#json
Reading 0:00
15s threshold

AI coding assistants write better integration code when they can read the real documentation instead of guessing from memory. In this tutorial you will:

connect an MCP client (Claude Code or VS Code) to a public, read-only MCP server that serves the QR Suisse API documentation;

check what that server exposes, with nothing more than curl ;

create a dynamic QR code with the QR Suisse REST API, change its destination, and download it as SVG.

QR Suisse is a dynamic QR code generator hosted in Switzerland: the printed code points to a short redirect address, so you can change the destination later without reprinting. (It is not a generator for the Swiss QR-bill payment slip.)

What you need

For part 1 and 2: nothing.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.