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"
]
}
}
}
Servidores relacionados
Kone.vc
patrocinadorMonetize your AI agent with contextual product recommendations
4th Brain MCP Server
Interact with markdown notes in a personal knowledge vault, such as Obsidian.
U301 URL Shortener
Create short URLs using the U301 URL Shortener service.
MCP Platform
Local MCP runtime with multi-agent orchestration, distributed tool servers, and ML-powered media recommendations.
Safe Docx
Edit Word (.docx) documents with tracked changes, redlines, and formatting preservation. MIT licensed, 100% local processing.
DeepSRT
Summarize YouTube videos using the DeepSRT API.
Recruitee MCP Server
Provides advanced search, reporting, and analytics for recruitment data via Recruitee.
esa.io
An MCP server for the esa.io API, allowing you to search, read, create, update, and delete posts.
MCP Google Calendar Integration
Integrates with the Google Calendar API to fetch calendar events for a given date.
LAPRAS MCP Server
An MCP server for lapras.com, providing access to career-related tools.
Notion
Integrates with Notion's API to manage a personal todo list.
