Shortening is one of those tasks that is trivial and still breaks your flow, because it lives in another tab. Doing it inline — with the slug you want, rather than a random one — is the entire value, and `upsert_link` is the tool that makes it survive being run twice. The counterpart is that `delete_link` needs no confirmation, and the key it holds can reach every link in the workspace.
A link-shortener client for Dub.co. It creates short links with a slug you choose, edits existing ones, upserts when you are not sure which, and deletes. Domain selection is automatic if you do not name one, so the common case is a single call with a URL.
- `create_link` makes a short link from a `url`, with optional `key`, `domain` and `externalId`
- `update_link` edits an existing short link
- `upsert_link` creates or updates in one call when you do not know which it is
- `delete_link` removes a link
- Automatic domain selection when you do not specify one
Node.js 18 or higher and a Dub.co account with API access. Generate a key from your workspace settings under API, then `npm install -g dubco-mcp-server` (package `dubco-mcp-server`, version 1.0.0) and set `DUBCO_API_KEY` in the server's env block — or install it for Claude Desktop in one command through the Smithery CLI. The key is workspace-scoped, so the links it creates and deletes belong to that workspace.
One command plus a key — npm install -g dubco-mcp-server, then supply credentials
