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
UnifAI
Dynamically search and call tools using UnifAI Network
MCP Todoist
Manage your tasks and projects with the Todoist API.
Job Tracker AI
An AI-powered chat server for tracking job interview processes, integrated with Supabase.
YNAB
Access and manage your YNAB (You Need A Budget) data through MCP-enabled clients.
Paperless-MCP
An MCP server for interacting with a Paperless-NGX API server. This server provides tools for managing documents, tags, correspondents, and document types in your Paperless-NGX instance.
Time Server
Get the current time and convert time between different timezones.
Google Calendar
Integrates with the Google Calendar API to read, create, update, and delete calendar events.
TikTok Ads MCP Server
A Model Context Protocol (MCP) server for TikTok Ads API integration. This server enables AI assistants like Claude to interact with TikTok advertising campaigns, providing comprehensive campaign management, analytics, and optimization capabilities. Part of the AdsMCP project - MCP servers for advertising platforms.
Linear MCP Server
Interact with the Linear project management system using its GraphQL API.
Claude Desktop
Integrates Amoga Studio with Claude Desktop for enhanced productivity and communication.
