MCP Server (AI assistant)
Connect Claude or another AI assistant directly to your QR code account via the Model Context Protocol.
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_user | Get account information |
list_qr_codes | List QR codes (paginated) |
get_qr_code | Get a single QR code by ID |
list_qr_types | List supported QR types |
list_qr_style_templates | List saved style templates |
list_scan_domains | List available scan domains |
create_qr_code | Create a new QR code |
update_qr_code | Update or retarget a QR code |
delete_qr_code | Delete a QR code |
list_labels | List labels |
create_label | Create a new label |
update_label | Update a label |
delete_label | Delete 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"