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
Normatia
AI-native platform that automates Spanish building code compliance and technical regulations for the AECO sector
Whoop MCP
Local MCP server that exposes Whoop recovery, sleep, and strain data to AI agents
Outlook
Access your Microsoft 365 mail, calendar, and files using the Microsoft Graph API.
Anamnese
Portable, cloud-hosted AI memory you own - structured memories, tasks, goals, and notes that work across Claude, ChatGPT, Gemini, and any MCP client.
tablestakes
Read and edit HTML/Markdown tables in GitBook-synced documents via MCP tools.
RegGuard
AI-powered regulatory compliance checking for financial marketing content across multiple jurisdictions.
Basecamp by CData
A read-only MCP server by CData that allows LLMs to query live Basecamp data.
Atlassian Confluence
Interact with Atlassian Confluence Cloud spaces, pages, and content in real-time.
Penpot MCP Server
Integrates AI language models with the Penpot design platform to automate design workflows.
Workopia
Search jobs from employer career pages, build professional PDF resumes with 6 templates, and get AI-powered career advice. Free, no auth required.
