URL Shortener MCP

by Talismanic
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

URL短縮MCPツール

このプロジェクトは、 CleanURI APIを使用したシンプルな URL 短縮ツールを提供し、 FastMCPサーバー ツールとして実行されるように設計されています。

✨ 特徴

  • CleanURI API を使用して、指定された URL を短縮します。
  • FastMCP を介してツールとして機能を公開します。
  • 適切なエラー処理と応答検証が含まれます。
  • エージェントまたはツールベースのシステムとの統合のためにstdioトランスポート経由で実行するように設計されています。

🚀 使用方法

1. 要件

  • Python 3.10以上
  • httpx
  • fastmcp

2. インストール

Smithery経由でインストール

Smithery経由で Claude Desktop の URL 短縮ツールを自動的にインストールするには:

npx -y @smithery/cli install @Talismanic/cleanuri-url-shortener-mcp --client claude

手動インストール

uv add httpx 'mcp[cli]'

Docker インストール:

docker build -t url-shortener .

3. ランニング

uv run main.py

docker ベースでの使用の場合、ここで何もする必要はありません。

4. Claude Desktopへの追加

紫外線で

{ "mcpServers": { "url-shortener": { "command": "/Users/{userName}/.local/bin/uv", "args": [ "--directory", "{path_to_repo}/cleanuri-url-shortener-mcp", "run", "main.py" ] } } }

Dockerを使用

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

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Tools

CleanURI API を使用して URL を短縮するシンプルなツールを提供します。このツールは、エージェントまたはツールベースのシステムと統合できる FastMCP サーバーとして実行されるように設計されています。

  1. ✨ Features
    1. 🚀 Usage
      1. 1. Requirements
    2. 2. Installation
      1. Installing via Smithery
      2. Manual Installation
      3. Docker Installation:
      4. 3. Running
      5. 4. Adding in Claude Desktop
    ID: rbwxqgcc7n