QR Code
liveTechnologyDeveloperGenerate and decode QR codes via api.qrserver.com
2tools
0msauth
free tier50 calls/day
Tools
create_qrrequired: dataGenerate a QR code for any text or URL. Returns the image URL — no image is fetched. The URL can be embedded directly in an <img> tag or downloaded.
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
Response
read_qrrequired: urlDecode a QR code from a publicly accessible image URL. Returns the decoded text.
Parameters
NameTypeDescription
urlreqstringPublicly accessible URL of the QR code image to decode.Try it
Response
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");