MCP.so
ログイン

URL Shortener MCP Tool

@Talismanic

URL Shortener MCP Tool について

This MCP server will return the shortened URL using cleanuri.

基本情報

カテゴリ

その他

ライセンス

Apache-2.0

ランタイム

python

トランスポート

stdio

公開者

Talismanic

設定

以下の設定を使って、このサーバーを 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 stdio transport 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.

コメント

「その他」の他のコンテンツ