QR for Agent
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| API_KEY | Yes | Your QR Agent Core API key. Format: qr_ followed by a 32-character random string. | |
| BASE_URL | Yes | The base URL of the QR Agent Core API (e.g., https://api.qragentcore.com or http://localhost:3100). | https://api.qragentcore.com |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_qr_codeA | Create a new managed QR code with optional custom styling. The QR code points to a short URL that redirects to your target URL. You can change the target URL later without regenerating the QR image. Supports custom colors, dot shapes, corner shapes, and logo embedding. |
| get_qr_codeA | Retrieve details of an existing QR code by its short ID. Returns the current target URL, metadata, and timestamps. |
| update_qr_destinationA | Change where an existing QR code redirects to. This is the key 'dynamic link' feature: the QR image stays the same, but scanning it will now go to the new URL. Ideal for updating campaigns, fixing broken links, or A/B testing. |
| list_qr_codesA | List all managed QR codes with pagination. Returns short IDs, target URLs, labels, and timestamps. Use this to browse or search for existing QR codes. |
| delete_qr_codeA | Permanently delete a QR code and all its scan analytics. The short URL will stop working immediately. This cannot be undone. |
| get_qr_analyticsA | Get enriched scan analytics for a QR code. Returns total scans, daily trends, device/browser/country/referer breakdowns with percentages, and recent scan events with parsed user-agent and geo data. |
| bulk_create_qr_codesA | Create multiple QR codes in a single request (up to 50). Each item supports the same options as create_qr_code. The quota check is all-or-nothing: if the batch would exceed your plan limit, no QR codes are created. Ideal for generating QR codes for product catalogs, event lists, or batch operations. |
| bulk_update_qr_codesA | Update multiple QR codes in a single request (up to 50). Change target URLs and/or labels. Items with non-existent short_id are reported as not_found without failing the whole batch. |
| bulk_delete_qr_codesA | Delete multiple QR codes and their scan analytics in a single request (up to 50). Items with non-existent short_id are reported as not_found without failing the whole batch. |
| create_vcard_qrA | Create a QR code that encodes a contact card (vCard). When scanned by a phone camera, it prompts the user to save the contact. Supports all standard vCard fields and custom QR styling. |
| create_wifi_qrA | Create a QR code that encodes WiFi credentials. When scanned by a phone camera, it offers to auto-join the WiFi network. No internet connection needed to join — the credentials are encoded directly in the QR image. |
| update_vcard_qrA | Update the contact details of a vCard QR code. Only works on QR codes created with type='vcard'. Partial updates merge with existing data. Note: updating vCard data changes the QR image content. |
| update_wifi_qrA | Update the WiFi credentials of a WiFi QR code. Only works on QR codes created with type='wifi'. Note: updating WiFi data changes the QR image content. |
| create_email_qrA | Create a QR code that opens a pre-filled email when scanned. The recipient, subject, body, CC, and BCC can all be pre-set. |
| create_sms_qrA | Create a QR code that opens a pre-filled SMS message when scanned. Set the phone number and optional message text. |
| create_phone_qrA | Create a QR code that initiates a phone call when scanned. The phone number is encoded directly in the QR code. |
| create_event_qrA | Create a QR code that adds a calendar event when scanned. Encodes a standard iCalendar VEVENT that calendar apps can import. |
| create_text_qrA | Create a QR code that contains plain text. When scanned, the text is displayed directly. Useful for messages, notes, or any freeform content. |
| create_location_qrA | Create a QR code that opens a map location when scanned. Encodes geographic coordinates that map apps can parse. |
| create_social_qrA | Create a QR code that links to social media profiles. When scanned via the short URL, returns a JSON object with all platform links. Provide at least one platform link. |
| create_app_store_qrA | Create a QR code that redirects to the correct app store based on the device. iPhones go to the App Store, Android devices go to Google Play, and other devices go to the fallback URL. Provide at least one store URL. |
| update_social_qrA | Update the social media links of a Social QR code. Partial updates merge with existing data. |
| update_app_store_qrA | Update the app store URLs of an App Store QR code. Partial updates merge with existing data. |
| create_webhookA | Register a webhook endpoint to receive real-time notifications when QR codes are scanned. Returns an HMAC-SHA256 secret for verifying webhook signatures — store it securely, it is only shown once. |
| list_webhooksA | List all registered webhook endpoints for your API key. The HMAC secret is not included for security. |
| delete_webhookA | Delete a webhook endpoint and all its delivery logs. The endpoint will stop receiving events immediately. |
| registerB | Register for an API key. Provide your email to get a key immediately. |
| get_usageB | Get current usage and quota for your API key. |
| upgrade_to_proA | Upgrade to the Pro plan ($19/month) for unlimited QR codes, scans, and webhooks. Returns a Stripe Checkout URL — tell the user to open it in their browser to complete payment. The upgrade takes effect automatically after payment. |
| manage_billingA | Open the Stripe billing portal to manage your subscription, update payment method, or cancel. Returns a portal URL — tell the user to open it in their browser. Only works if you have an active Pro subscription. |
| set_utm_paramsA | Set UTM tracking parameters on a URL QR code. These parameters are automatically appended to the target URL on every scan redirect. Use this to track QR code scans in Google Analytics or other analytics tools. Set 'clear' to true to remove all UTM parameters. |
| set_redirect_rulesA | Set conditional redirect rules on a URL QR code. Rules are evaluated top-to-bottom; each rule has an array of conditions (AND logic) — all must match. First matching rule's URL is used. If no rule matches, the default target_url applies. Conditions: 'device' (mobile/tablet/desktop), 'os' (iOS/Android/Windows/macOS/Linux), 'country' (ISO alpha-2 like 'FR'), 'language' (ISO 639-1 like 'fr'), 'time_range' ({start:'09:00',end:'17:00',timezone:'Europe/Paris'}), 'ab_split' ({percentage:50}). Combine conditions in a single rule for AND logic (e.g. mobile + FR). Pass an empty array to remove all rules. |
| set_custom_domainA | Set a custom domain for your QR code short URLs (Pro plan required). When set, all new QR codes will use https://your-domain.com/r/... instead of the default URL. You must configure DNS (CNAME) to point to the QR Agent server. Pass domain=null to remove the custom domain. |
| get_custom_domainA | Get your current custom domain configuration and DNS verification status. Returns the domain, whether DNS is active or pending, and setup instructions. |
| bulk_create_from_csvA | Create up to 500 QR codes from CSV data. Pro plan required. Send the CSV content as a string. Required column: target_url. Optional columns: label, format, type, foreground_color, background_color, dot_style, corner_style, frame_style, frame_text, expires_at. Returns all created QR codes. |
| record_conversionA | Record a post-scan conversion event (purchase, signup, etc.) for a QR code you own. Use this to track ROI — e.g., when a user scans a QR code and then makes a purchase, record a 'purchase' conversion with the order value. For client-side tracking without code, use the tracking pixel: . |
| get_conversionsA | Get conversion statistics for a QR code. Returns total conversions, total value, breakdowns by event name, daily trends, and recent events. Use this to measure QR code ROI and understand which codes drive the most value. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/benswel/qr-agent-core'
If you have feedback or need assistance with the MCP directory API, please join our Discord server