create_qr

Pack: qrcode · Endpoint: https://gateway.pipeworx.io/qrcode/mcp

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

NameTypeRequiredDescription
datastringyesThe text or URL to encode in the QR code.
sizenumbernoWidth and height of the QR code image in pixels (default 200).

Example call

Arguments

{
  "data": "https://example.com"
}

curl

curl -X POST https://gateway.pipeworx.io/qrcode/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_qr","arguments":{"data":"https://example.com"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('create_qr', {
  "data": "https://example.com"
});

More examples

{
  "data": "Contact: John Doe, [email protected]",
  "size": 300
}

Response shape

Always returns: url, size, data

FieldTypeDescription
urlstringGenerated QR code image URL
sizenumberWidth and height of the QR code image in pixels
datastringThe text or URL encoded in the QR code
Full JSON Schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Generated QR code image URL"
    },
    "size": {
      "type": "number",
      "description": "Width and height of the QR code image in pixels"
    },
    "data": {
      "type": "string",
      "description": "The text or URL encoded in the QR code"
    }
  },
  "required": [
    "url",
    "size",
    "data"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "qrcode": {
      "url": "https://gateway.pipeworx.io/qrcode/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026