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" ] } } }

You must be authenticated.

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. 要件
    2. インストール
      1. Smithery経由でインストール
      2. 手動インストール
      3. Docker インストール:
      4. ランニング
      5. Claude Desktopへの追加

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      A server based on the MCP protocol that uses the Brave API for web search functionality.
      Last updated -
      6
      Python
      MIT License
      • Apple
      • Linux
    • -
      security
      A
      license
      -
      quality
      A lightweight MCP server for managing DNS records, purging cache, and interacting with the Cloudflare API through natural language commands.
      Last updated -
      13
      TypeScript
      MIT License
    • -
      security
      A
      license
      -
      quality
      A Python-based MCP server that crawls websites to extract and save content as markdown files, with features for mapping website structure and links.
      Last updated -
      1
      Python
      MIT License
    • -
      security
      A
      license
      -
      quality
      A Python implementation of an MCP server that extracts webpage content, removes ads and non-essential elements, and transforms it into clean, LLM-optimized Markdown.
      Last updated -
      1
      Python
      MIT License
      • Linux
      • Apple

    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