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
Things
Interact with your task management data in the Things app.
Meta Ads Mcp Server
MCP (Model Context Protocol) server for the Meta (Facebook) Ads API.
Feishu/Lark OpenAPI
Connect AI agents with the Feishu/Lark platform for automation, including document processing, conversation management, and calendar scheduling.
HubSpot MCP
Access and manage HubSpot CRM data through a standardized interface using the HubSpot API.
HackMD
A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants.
Google Sheets
Interact with Google Sheets using a Python-based MCP server and Google Apps Script.
Obsidian
Interact with your Obsidian notes and vaults using the Local REST API plugin.
MCP Email Verify
Validate email addresses using the AbstractAPI Email Validation API.
better-notion-mcp
Markdown-first Notion MCP server with 9 composite tools, 39 actions, and ~77% token reduction via tiered docs.
laundry-timer-mcp
A laundry planning assistant that uses preferences and real-time weather forecasts.
