Skip to main content
Glama

URL Shortener MCP

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" ] } } }
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Tools

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

  1. ✨ 特徴
    1. 🚀 使用方法
      1. 1. 要件
    2. 2. インストール
      1. Smithery経由でインストール
      2. 手動インストール
      3. Docker インストール:
      4. 3. ランニング
      5. 4. Claude Desktopへの追加

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      Enables AI agents to create, update, and manage short links through your Dub.co account, allowing for creation, modification, and deletion of custom shortened URLs.
      Last updated -
      4
      562
      JavaScript
      MIT License
    • -
      security
      A
      license
      -
      quality
      A zero-configuration tool that automatically converts FastAPI endpoints into Model Context Protocol (MCP) tools, enabling AI systems to interact with your API through natural language.
      Last updated -
      1
      Python
      MIT License
    • -
      security
      F
      license
      -
      quality
      A FastAPI server implementing the Model Context Protocol (MCP) for structured tool use, providing utility tools including random number generation, image generation via Azure OpenAI DALL-E, and AI podcast generation.
      Last updated -
      Python

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/Talismanic/cleanuri-url-shortener-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server