QR Code

liveTechnologyDeveloper

Generate and decode QR codes via api.qrserver.com

2tools
0msauth
free tier50 calls/day

Tools

create_qrrequired: data

Generate a scannable QR code from text or URLs. Returns an image URL ready to embed or download. Use when you need to encode information into a QR code.

Parameters
NameTypeDescription
datareqstringThe text or URL to encode in the QR code.
sizeoptnumberWidth and height of the QR code image in pixels (default 200).
▶Try it
read_qrrequired: url

Decode QR code images to extract embedded text or URLs. Returns the decoded content. Use when you need to read what's stored in a QR code.

Parameters
NameTypeDescription
urlreqstringPublicly accessible URL of the QR code image to decode.
▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/qrcode/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/qrcode/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"create_qr","arguments":{"data": "https://pipeworx.io"}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("create_qr", {"data":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("generate and decode qr codes via api");