Labsco
MCP SERVER

URL Shortener

by Talismanic

Shorten a URL through CleanURI without leaving the conversation.

Developer Conversions, Encoding & Test Data
Summary
No key, no account, one thing done.

Worth having when an agent produces links that end up somewhere with a length limit — a message, a caption, a commit trailer. The dependency is CleanURI's free service, so availability and link lifetime are theirs, not yours.

What it is

A one-job server: it takes a long URL, calls the CleanURI shortening service, validates the response, and returns the short link.

What you get
  • Shortening for any URL you pass, with the response validated and errors handled rather than passed through raw
Requirements

Python 3.10+ with httpx and fastmcp, run over stdio — the documented paths are `uv run main.py` from a clone, a Docker image built from the repository, or a one-line install through Smithery. Published on PyPI as cleanuri-url-shorterner, version 0.1.0. No account and no key.

Setup effort

One command — npx -y @smithery/cli install @Talismanic/cleanuri-url-shortener-mcp --client claude