URL Shortener
A simple URL shortening tool using the CleanURI API.
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.
🚀 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 claude
Manual Installation
uv add httpx 'mcp[cli]'
Docker Installation:
docker build -t url-shortener .
3. Running
uv run main.py
For 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"
]
}
}
}
Related Servers
clinical-trial-eligibility
Standardized matching logic for patient eligibility against clinical trial criteria.
PostalForm MCP
Mail real letters from agents: PDF → checkout → status.
MCP Useful Assistant
A powerful MCP-based assistant with tools for file operations, web intelligence, system monitoring, data processing, and code analysis.
Dub.co
Interact with the Dub.co API to shorten links, manage custom domains, and track analytics.
Confluence MCP
An MCP server that enables AI assistants to interact with Confluence content through a standardized interface.
Adspirer Ads Manager
Manage digital advertising campaigns with AI-powered insights from Adspirer.com.
Notion
Interact with Notion using its API. This server mirrors the Notion API SDK, allowing LLMs to manage pages, databases, and other Notion content.
Yandex Tracker
Integrates with Yandex Tracker, allowing an AI assistant to interact with its task management system via the MCP protocol.
Prompeteer
Generate expert-level AI prompts for 140+ platforms, score quality with 16-dimension Prompt Score analysis, and manage prompts in PromptDrive library
MCP Google Workspace Server
An MCP server for interacting with Google Workspace services, including Drive, Docs, and Sheets.
