MCP.so
ログイン

URL Shortener MCP Tool

@Talismanic

基本情報

カテゴリ

その他

ライセンス

Apache-2.0

トランスポート

stdio

作者

Talismanic

URL Shortener MCP Tool について

This MCP server will return the shortened URL using cleanuri.

URL Shortener MCP Tool の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "url-shortener": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--init",
        "-e",
        "DOCKER_CONTAINER=true",
        "url-shortener"
      ]
    }
  }
}

URL Shortener MCP Tool のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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.

よくある質問

1

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.

2

What are the dependencies and runtime requirements?

Python 3.10 or later, plus the `httpx` and `fastmcp` (or `mcp[cli]`) packages.

3

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.

4

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.

5

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.

コメント

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