11 tools on the Mattering MCP gateway at https://mcp.mattering.io/mcp. Each call forwards your token to the QR User API, so a tool can do exactly what your key can do.
Connect any MCP client to https://mcp.mattering.io/mcp; it discovers the Mattering sign-in and asks you to approve the tools it may use. Tool names, parameters and descriptions below are read from the gateway source. See the MCP gateway concept page for connection details.
Diagnostics
qr_list_capabilities
List the QR service's registered capabilities (debug helper).
Full description
List the QR service's registered capabilities (debug helper).
Returns the available capability names, HTTP methods, paths, categories, and required / optional parameter lists. Useful for discovering what the service exposes without paging through the docs.
Takes no parameters.
QR Codes
qr_create_code
Create a QR code or short link in a workspace.
Full description
Create a QR code or short link in a workspace.
Required: workspace_id, title, destination_url (the URL it forwards to; may point to any external platform). The server mints a stable short code; the QR image encodes /r/<short_code>.
Optional:
- slug: custom vanity back-half (/r/<slug>). Lowercase letters,
numbers, hyphen, underscore; 2-64 chars; must be unique.
- kind: "qr" (default), "link", or "both".
- file_format: "png" (default) or "pdf".
- color_mode: "rgb" (default) or "cmyk" (PDF only).
- utm_source / utm_medium / utm_campaign: merged into the
destination at redirect time; stored so they stay editable.
- starts_at / expires_at: ISO-8601; outside the window the
link returns 410 Gone.
- password: gate the link behind a password (visitors see an
interstitial before forwarding; scans count only after unlock).
The response includes primary_url and public_asset_urls.
action="add" (default) adds/promotes slug as the primary vanity path; action="remove" deactivates it (never hard-deleted once it has scans, so already-shared links keep resolving until deactivated). The canonical short_code always keeps working.
Parameters
Name
Type
Required
Default
short_code
str
required
none
slug
str
required
none
action
str
optional
'add'
qr_manage_rule
Manage a link's device/country routing rules.
Full description
Manage a link's device/country routing rules.
action="list" (default) returns the ordered rules. action="add" creates a rule: match_type is "device" (match_value one of mobile/tablet/desktop) or "country" (match_value a 2-letter ISO code), routing a matching visitor to destination_url. ``action= "remove" deletes the rule identified by rule_id``. Rules are checked in order; the first match wins, otherwise the default destination is used.
We use strictly necessary cookies to run this site. With your permission we also use analytics cookies
(Google Analytics and our own visit tracking) to see which pages work. Read the
Cookie notice.