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
      667
      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
      A
      license
      -
      quality
      A lightweight MCP server that enables agents to interface with Cloudflare's REST API, allowing management of DNS records and other Cloudflare services.
      Last updated -
      6
      16
      GPL 2.0
    • -
      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