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"
]
}
}
}
Похожие серверы
Kone.vc
спонсорMonetize your AI agent with contextual product recommendations
YouTube Video Summarizer
Fetch and summarize YouTube videos by extracting their titles, descriptions, and transcripts.
MIST
An AI assistant server for managing notes, Gmail, Calendar, Tasks, and Git.
Browser Use
A simple, self-contained notes system with resources, tools, and prompts.
Desktop Automation
Control your desktop with AI. Automate mouse movements, keyboard inputs, and screen captures.
MCP Router
A Windows and MacOS app to manage local and remote MCP servers from a single interface with secure access control and logging.
PapersGPT for Zotero
The fastest MCP connect to Zotero
What Time Is It Now
Provides the current time in Japan Standard Time (JST).
TaskMaster Todoist
An MCP server for integrating Todoist with Cursor AI. Requires a Todoist API token.
Obsidian-in-a-Vat
AI-native knowledge vault MCP server: capture thoughts, auto-promote to structured notes, and build a knowledge graph with Louvain clustering, all from Claude Desktop.
Brand24
Social listening and brand monitoring
