Summary
A short link's whole life — created, repointed, removed — fits into three calls.
create_link asks which domain to use rather than assuming one, which matters on an account holding several. The external ID is the hook back to your own records, so a link made for a particular campaign can be found again without keeping its key somewhere. Because update_link can change the destination, a link already in circulation is repointed rather than replaced.
What it is
A three-call client for dub.co short links.
What you get
- A short link created on a chosen domain, with the key and destination URL you specify and an external ID of your own.
- An existing link updated by its ID or by domain and key, destination included.
- A link deleted by its ID.
Requirements
A dub.co account and its key, supplied as DUBCO_API_KEY.
Setup effort
One command plus a key — npx dubco-mcp-server, then supply credentials
