URL Shortener MCP
This server is a URL Shortener MCP that provides a tool to shorten URLs using the CleanURI API.
Shorten URLs: Takes an
original_urlas input and returns a shortened versionFastMCP Integration: Designed to run as a FastMCP server tool for integration with agent or tool-based systems
Error Handling: Includes proper error handling and response validation
Multiple Installation Options: Can be installed via Smithery, manually with Python, or using Docker
Claude Desktop Integration: Can be easily added to Claude Desktop for streamlined usage
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@URL Shortener MCPshorten https://example.com/very-long-url-path-that-needs-shortening"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
URL Shortener MCP Tool
This project provides a simple URL shortening tool using the CleanURI API and is designed to run as a FastMCP server tool.
✨ Features
Shortens any given URL using the CleanURI API.
Exposes the functionality as a tool via FastMCP.
Includes proper error handling and response validation.
Designed to run via
stdiotransport for integration with agent or tool-based systems.
Related MCP server: Rebrandly MCP
🚀 Usage
1. Requirements
Python 3.10+
httpxfastmcp
2. Installation
Installing via Smithery
To install URL Shortener Tool for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Talismanic/cleanuri-url-shortener-mcp --client claudeManual Installation
uv add httpx 'mcp[cli]'Docker Installation:
docker build -t url-shortener .3. Running
uv run main.pyFor docker based use, we dont need to do anything here.
4. Adding in Claude Desktop
With the uv
{
"mcpServers": {
"url-shortener": {
"command": "/Users/{userName}/.local/bin/uv",
"args": [
"--directory",
"{path_to_repo}/cleanuri-url-shortener-mcp",
"run",
"main.py"
]
}
}
}With Docker
{
"mcpServers": {
"url-shortener": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"-e",
"DOCKER_CONTAINER=true",
"url-shortener"
]
}
}
}Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseAqualityDmaintenanceU301 URL Shortener MCP ServerLast updated133JavaScriptMIT

Rebrandly MCPofficial
Alicense-qualityFmaintenanceThis project implements a simple MCP server in Go that exposes a single tool (create_short_link) to generate short URLs using the Rebrandly API.Last updatedMIT- Flicense-qualityFmaintenanceA lightweight MCP server implementation that provides a simple tool for fetching website content, demonstrating how tools can be exposed and interacted with using the MCP protocol.Last updated
- AlicenseAqualityCmaintenanceAn MCP server that enables users to shorten long URLs into permanent, shareable links using the AceDataCloud API. It supports both single and batch URL shortening directly within MCP-compatible clients like Claude and VS Code.Last updated41MIT
Related MCP Connectors
MCP server for URL shortening and management
Create and manage short links, track clicks, and automate URL management
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Talismanic/cleanuri-url-shortener-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server