URL Shortener MCP Tool
@Talismanic
URL Shortener MCP Tool について
This MCP server will return the shortened URL using cleanuri.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"url-shortener": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"-e",
"DOCKER_CONTAINER=true",
"url-shortener"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is URL Shortener MCP Tool?
URL Shortener MCP Tool is a FastMCP server that shortens URLs via the CleanURI API. It is designed for developers and agents needing a lightweight, tool‑based URL shortening service integrated into systems like Claude Desktop.
How to use URL Shortener MCP Tool?
Install Python 3.10+, then add httpx and mcp[cli] using uv. Alternatively, install via Smithery (npx -y @smithery/cli install ...) or build a Docker image (docker build -t url-shortener .). Run the server with uv run main.py. Configure it in Claude Desktop by adding the appropriate JSON block (using uv or Docker) to your MCP settings.
Key features of URL Shortener MCP Tool
- Shortens any given URL via the CleanURI API.
- Exposes URL shortening as a FastMCP tool.
- Proper error handling and response validation.
- Runs over
stdiotransport for agent integration. - Easy installation via Smithery, manual, or Docker.
Use cases of URL Shortener MCP Tool
- Shorten long URLs on the fly within an AI assistant conversation.
- Automate link shortening in a CI/CD pipeline or script.
- Provide a clean, shareable link for content generated by an agent.
- Integrate URL shortening into a custom tool‑based workflow.
FAQ from URL Shortener MCP Tool
What does URL Shortener MCP Tool do?
It takes a long URL and returns a shortened version using the CleanURI API, all exposed as a FastMCP server tool.
What are the dependencies and runtime requirements?
Python 3.10 or later, plus the httpx and fastmcp (or mcp[cli]) packages.
Where does the shortened URL data live?
The actual shortening is performed by the external CleanURI service; the server itself does not store any data.
Can I run URL Shortener MCP Tool in Docker?
Yes. Build the image with docker build -t url-shortener . and run it with the provided Docker command configuration.
What transport does URL Shortener MCP Tool use?
It uses stdio transport, making it suitable for integration with systems that communicate via standard input/output.
「その他」の他のコンテンツ
Servers
modelcontextprotocolModel Context Protocol Servers
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,

EverArt
modelcontextprotocolModel Context Protocol Servers
ICSS
chokcoco不止于 CSS
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
コメント