Own-domain short links, deep links, QR codes and live API docs from your AI agent.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Brevily API key ID (optional for keyless how_to, lookup_call, and webhook_events help tools)
Brevily API key secret (required alongside x-api-key for workspace link and QR tools)
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Whether a chosen back-half (and path) is free on a domain, by the same rules a create applies: taken in any case (Sale and sale are one back-half), a reserved word, too short for the plan.
A path in front of it, such as "promo/autumn" (a plan feature).
The back-half to check.
The domain; blank for the default.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http links https://console.brevily.com/api/mcp
Headers
x-api-key (optional, not in the config above): Brevily API key ID (optional for keyless how_to, lookup_call, and webhook_events help tools)x-api-secret (optional, not in the config above): Brevily API key secret (required alongside x-api-key for workspace link and QR tools)Whether a chosen back-half (and path) is free on a domain, by the same rules a create applies: taken in any case (Sale and sale are one back-half), a reserved word, too short for the plan.
| Argument | Type | Description |
|---|---|---|
| path | string | A path in front of it, such as "promo/autumn" (a plan feature). |
| slug | string | The back-half to check. |
| domain | string | The domain; blank for the default. |
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "A path in front of it, such as \"promo/autumn\" (a plan feature)."
},
"slug": {
"type": "string",
"description": "The back-half to check."
},
"domain": {
"type": "string",
"description": "The domain; blank for the default."
}
},
"additionalProperties": false
}Make a short link. Only url is required: the domain defaults to the organisation’s own verified domain, else the shared default, and the back-half is generated unless slug is given. Answers the new link’s id and short URL. A field the form does not know is refused, never ignored.
| Argument | Type | Description |
|---|---|---|
| url* | string | The destination: a public http(s) URL. |
| path | string | A path in front of the back-half (a plan feature). |
| slug | string | A chosen back-half (letters, digits, - and _); blank for a generated one. |
| tags | array | Tags as "kind:name" tokens (kinds: PERSON, TEAM, CAMPAIGN, CHANNEL, PRODUCT, REGION, CUSTOM); a bare name is CUSTOM. At most 10. |
| title | string | The link’s name, shown above the back-half and found by the list’s search. |
| domain | string | One of list_domains; blank for the default. |
| liveOn | string | When it starts answering: an ISO 8601 instant; blank or now makes it live at once. Fixed once live. |
| masked | boolean | Masked link: show the destination in a frame under the short link’s address instead of redirecting (a plan feature; own domains only; the destination must be https and allow framing). |
| expires | string | When the link stops answering: an ISO 8601 instant (UTC). |
| ogImage | string | The preview image, an https URL. |
| ogTitle | string | The preview title a chat or social app shows (a plan feature). |
One link by id: its settings and state, and, for a key with Analytics · View, its last 30 days of clicks, visitors, QR scans and breakdowns (as far back as the plan keeps).
| Argument | Type | Description |
|---|---|---|
| id* | string | The link’s id (a ULID). |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The link’s id (a ULID)."
}
},
"additionalProperties": false
}The colours, module shape, margin and logo a link’s QR code is drawn with, and whether the organisation has a logo uploaded for it.
| Argument | Type | Description |
|---|---|---|
| id* | string | The link’s id. |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The link’s id."
}
},
"additionalProperties": false
}How to do a task in Brevily, answered twice: the console’s steps page by page, and the API calls that do it with curl and JavaScript fetch examples (or why there is no call: a sensitive one is done by a person in the console). Ask in words ("deep link with a store fallback", "track a sign-up", "bulk-tag links") or by a topic id; an empty task lists the topics.
| Argument | Type | Description |
|---|---|---|
| task | string | The task in words, or a topic id; blank lists the topics. |
{
"type": "object",
"properties": {
"task": {
"type": "string",
"maxLength": 300,
"description": "The task in words, or a topic id; blank lists the topics."
}
},
"additionalProperties": false
}The domains this organisation may make links on — its own and the shared ones, which is the default, how long a generated back-half is on each and whether a chosen back-half is allowed — with how many links the plan has left this period and the shortest chosen back-half it allows.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}The organisation’s links, newest first, with a search term and filters; 25 a page.
| Argument | Type | Description |
|---|---|---|
| page | integer | 1-based page. |
| path | string | Only links under this path. |
| query | string | Matches the back-half, the destination or the title. |
| state | string | One derived state; blank for all. |
| domain | string | Only links on this domain. |
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"minimum": 1,
"description": "1-based page."
},
"path": {
"type": "string",
"description": "Only links under this path."
},
"query": {
"type": "string",
"description": "Matches the back-half, the destination or the title."
},
"state": {
"enum": [
"ACTIVE",
"SCHEDULED",
"EXPIRED",
"DISABLED",
"FLAGGED"
],
"type": "string",
"description": "One derived state; blank for all."
},
"domain": {
"type": "string",
"description": "Only links on this domain."
}
},
"additionalProperties": false
}One call of the published API reference: what it does, the permission it needs, its parameters, its body’s fields, its answers, whether it takes an Idempotency-Key, and a curl and fetch example. Name it as "POST /links" (an id, /api and the organisation code may stand in the path) or in words.
| Argument | Type | Description |
|---|---|---|
| call* | string | "METHOD /path", such as "PATCH /links/{link}", or words. |
{
"type": "object",
"required": [
"call"
],
"properties": {
"call": {
"type": "string",
"maxLength": 300,
"description": "\"METHOD /path\", such as \"PATCH /links/{link}\", or words."
}
},
"additionalProperties": false
}Disable a link (visitors get the domain’s disabled page; its history stays) or enable it again.
| Argument | Type | Description |
|---|---|---|
| id* | string | The link’s id. |
| action* | string | What to do. |
{
"type": "object",
"required": [
"id",
"action"
],
"properties": {
"id": {
"type": "string",
"description": "The link’s id."
},
"action": {
"enum": [
"DISABLE",
"ENABLE"
],
"type": "string",
"description": "What to do."
}
},
"additionalProperties": false
}Set a link’s QR code colours, module shape, margin and logo (the organisation’s uploaded logo; it is uploaded in the console), checked for contrast; or plain: true for the plain code again. Styled codes are a plan feature.
| Argument | Type | Description |
|---|---|---|
| bg | string | The ground’s colour, #rrggbb; #ffffff when left out. |
| fg | string | The code’s colour, #rrggbb; #000000 when left out. |
| id* | string | The link’s id. |
| logo | boolean | The organisation’s logo in the middle. |
| plain | boolean | True: back to the plain code (the rest is ignored). |
| shape | string | The module shape; needed unless plain. |
| margin | integer | The quiet zone in modules; 4 when left out. |
| logoSize | string | With logo: how big it is drawn; LARGE (as big as still scans reliably) when left out. |
| transparent | boolean | No ground colour. |
Change a link’s destination or settings: a field left out keeps its value, a value sets it, an empty string clears it where clearing is allowed (never url). The domain, back-half and path never change after creation. clearPassword removes the password.
| Argument | Type | Description |
|---|---|---|
| id* | string | The link’s id. |
| url | string | The destination: a public http(s) URL. |
| tags | array | Tags as "kind:name" tokens (kinds: PERSON, TEAM, CAMPAIGN, CHANNEL, PRODUCT, REGION, CUSTOM); a bare name is CUSTOM. At most 10. |
| title | string | The link’s name, shown above the back-half and found by the list’s search. |
| liveOn | string | When it starts answering: an ISO 8601 instant; blank or now makes it live at once. Fixed once live. |
| masked | boolean | Masked link: show the destination in a frame under the short link’s address instead of redirecting (a plan feature; own domains only; the destination must be https and allow framing). |
| expires | string | When the link stops answering: an ISO 8601 instant (UTC). |
| ogImage | string | The preview image, an https URL. |
What each webhook event sends (the envelope and each event’s data), the headers of a delivery, how to check X-Brevily-Signature in Node and Python, and the retry schedule. Never a secret.
| Argument | Type | Description |
|---|---|---|
| event | string | One event; blank for all. |
{
"type": "object",
"properties": {
"event": {
"enum": [
"link.click",
"link.created",
"link.updated",
"link.expired",
"link.broken",
"event.reported"
],
"type": "string",
"description": "One event; blank for all."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 2, 2026.
Takes a password, API key or token as an argument, so the secret passes through the model's context and chat logs.
Fix: Read credentials from the server's own configuration (environment, OAuth) instead of a tool argument.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
| generate | string | How to draw a generated back-half, where the domain allows a choice. |
| password | string | Protect the link with a password (a plan feature). |
| utm_term | string | UTM term. |
| maxClicks | integer | A click limit; the link expires once it is reached. |
| utm_medium | string | UTM medium. |
| utm_source | string | UTM source added to the destination. |
| utm_content | string | UTM content. |
| utm_campaign | string | UTM campaign. |
| ogDescription | string | The preview description. |
| idempotency_key | string | Any unique value of yours (a UUID): a retry with the same value and the same arguments within 24 hours answers the first call’s result again instead of making a second link or change. The same value with other arguments is refused. |
| trackConversions | boolean | Carry the click id to the destination for event reports (a plan feature). |
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The destination: a public http(s) URL."
},
"path": {
"type": "string",
"description": "A path in front of the back-half (a plan feature)."
},
"slug": {
"type": "string",
"description": "A chosen back-half (letters, digits, - and _); blank for a generated one."
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tags as \"kind:name\" tokens (kinds: PERSON, TEAM, CAMPAIGN, CHANNEL, PRODUCT, REGION, CUSTOM); a bare name is CUSTOM. At most 10."
},
"title": {
"type": "string",
"description": "The link’s name, shown above the back-half and found by the list’s search."
},
"domain": {
"type": "string",
"description": "One of list_domains; blank for the default."
},
"liveOn": {
"type": "string",
"description": "When it starts answering: an ISO 8601 instant; blank or now makes it live at once. Fixed once live."
},
"masked": {
"type": "boolean",
"description": "Masked link: show the destination in a frame under the short link’s address instead of redirecting (a plan feature; own domains only; the destination must be https and allow framing)."
},
"expires": {
"type": "string",
"description": "When the link stops answering: an ISO 8601 instant (UTC)."
},
"ogImage": {
"type": "string",
"description": "The preview image, an https URL."
},
"ogTitle": {
"type": "string",
"description": "The preview title a chat or social app shows (a plan feature)."
},
"generate": {
"enum": [
"random",
"sequential",
"shuffled"
],
"type": "string",
"description": "How to draw a generated back-half, where the domain allows a choice."
},
"password": {
"type": "string",
"description": "Protect the link with a password (a plan feature)."
},
"utm_term": {
"type": "string",
"description": "UTM term."
},
"maxClicks": {
"type": "integer",
"minimum": 1,
"description": "A click limit; the link expires once it is reached."
},
"utm_medium": {
"type": "string",
"description": "UTM medium."
},
"utm_source": {
"type": "string",
"description": "UTM source added to the destination."
},
"utm_content": {
"type": "string",
"description": "UTM content."
},
"utm_campaign": {
"type": "string",
"description": "UTM campaign."
},
"ogDescription": {
"type": "string",
"description": "The preview description."
},
"idempotency_key": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Any unique value of yours (a UUID): a retry with the same value and the same arguments within 24 hours answers the first call’s result again instead of making a second link or change. The same value with other arguments is refused."
},
"trackConversions": {
"type": "boolean",
"description": "Carry the click id to the destination for event reports (a plan feature)."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"id"
],
"properties": {
"bg": {
"type": "string",
"description": "The ground’s colour, #rrggbb; #ffffff when left out."
},
"fg": {
"type": "string",
"description": "The code’s colour, #rrggbb; #000000 when left out."
},
"id": {
"type": "string",
"description": "The link’s id."
},
"logo": {
"type": "boolean",
"description": "The organisation’s logo in the middle."
},
"plain": {
"type": "boolean",
"description": "True: back to the plain code (the rest is ignored)."
},
"shape": {
"enum": [
"square",
"rounded",
"dot"
],
"type": "string",
"description": "The module shape; needed unless plain."
},
"margin": {
"type": "integer",
"maximum": 16,
"minimum": 1,
"description": "The quiet zone in modules; 4 when left out."
},
"logoSize": {
"enum": [
"SMALL",
"MEDIUM",
"LARGE"
],
"type": "string",
"description": "With logo: how big it is drawn; LARGE (as big as still scans reliably) when left out."
},
"transparent": {
"type": "boolean",
"description": "No ground colour."
}
},
"additionalProperties": false
}| ogTitle |
| string |
| The preview title a chat or social app shows (a plan feature). |
| password | string | Protect the link with a password (a plan feature). |
| utm_term | string | UTM term. |
| maxClicks | integer | A click limit; the link expires once it is reached. |
| utm_medium | string | UTM medium. |
| utm_source | string | UTM source added to the destination. |
| utm_content | string | UTM content. |
| utm_campaign | string | UTM campaign. |
| clearPassword | boolean | Remove the password. |
| ogDescription | string | The preview description. |
| idempotency_key | string | Any unique value of yours (a UUID): a retry with the same value and the same arguments within 24 hours answers the first call’s result again instead of making a second link or change. The same value with other arguments is refused. |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The link’s id."
},
"url": {
"type": "string",
"description": "The destination: a public http(s) URL."
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tags as \"kind:name\" tokens (kinds: PERSON, TEAM, CAMPAIGN, CHANNEL, PRODUCT, REGION, CUSTOM); a bare name is CUSTOM. At most 10."
},
"title": {
"type": "string",
"description": "The link’s name, shown above the back-half and found by the list’s search."
},
"liveOn": {
"type": "string",
"description": "When it starts answering: an ISO 8601 instant; blank or now makes it live at once. Fixed once live."
},
"masked": {
"type": "boolean",
"description": "Masked link: show the destination in a frame under the short link’s address instead of redirecting (a plan feature; own domains only; the destination must be https and allow framing)."
},
"expires": {
"type": "string",
"description": "When the link stops answering: an ISO 8601 instant (UTC)."
},
"ogImage": {
"type": "string",
"description": "The preview image, an https URL."
},
"ogTitle": {
"type": "string",
"description": "The preview title a chat or social app shows (a plan feature)."
},
"password": {
"type": "string",
"description": "Protect the link with a password (a plan feature)."
},
"utm_term": {
"type": "string",
"description": "UTM term."
},
"maxClicks": {
"type": "integer",
"minimum": 1,
"description": "A click limit; the link expires once it is reached."
},
"utm_medium": {
"type": "string",
"description": "UTM medium."
},
"utm_source": {
"type": "string",
"description": "UTM source added to the destination."
},
"utm_content": {
"type": "string",
"description": "UTM content."
},
"utm_campaign": {
"type": "string",
"description": "UTM campaign."
},
"clearPassword": {
"type": "boolean",
"description": "Remove the password."
},
"ogDescription": {
"type": "string",
"description": "The preview description."
},
"idempotency_key": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Any unique value of yours (a UUID): a retry with the same value and the same arguments within 24 hours answers the first call’s result again instead of making a second link or change. The same value with other arguments is refused."
}
},
"additionalProperties": false
}