Website logo

MCP Server (AI assistant)

Connect Claude or another AI assistant directly to your QR code account via the Model Context Protocol.

Connection

Log in to view your API token. View API settings.

Set up in Claude Desktop

Add the configuration below to your claude_desktop_config.json file. Replace <YOUR_API_TOKEN> with your token.

{
  "mcpServers": {
    "gratisqrcode": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-client-http", "--url", "https://staging.gratisqrcode.nl/mcp"],
      "env": {
        "MCP_BEARER_TOKEN": ""
      }
    }
  }
}

Available tools

The MCP server provides the following tools to your AI assistant.

Tool Description
get_userGet account information
list_qr_codesList QR codes (paginated)
get_qr_codeGet a single QR code by ID
list_qr_typesList supported QR types
list_qr_style_templatesList saved style templates
list_scan_domainsList available scan domains
create_qr_codeCreate a new QR code
update_qr_codeUpdate or retarget a QR code
delete_qr_codeDelete a QR code
list_labelsList labels
create_labelCreate a new label
update_labelUpdate a label
delete_labelDelete a label

Example prompts for your AI assistant

  • "Create a QR code for my website https://example.com"
  • "Create a dynamic QR code for my campaign so I can change the URL later"
  • "Give me an overview of all my QR codes"
  • "Create a WiFi QR code for my office network"