Skip to main content
Glama

URL Shortener MCP

Herramienta MCP para acortar URL

Este proyecto proporciona una herramienta sencilla de acortamiento de URL utilizando la API CleanURI y está diseñado para ejecutarse como una herramienta de servidor FastMCP .

✨ Características

  • Acorta cualquier URL dada utilizando la API CleanURI.
  • Expone la funcionalidad como una herramienta a través de FastMCP.
  • Incluye manejo adecuado de errores y validación de respuestas.
  • Diseñado para ejecutarse a través del transporte stdio para la integración con sistemas basados en agentes o herramientas.

🚀 Uso

1. Requisitos

  • Python 3.10+
  • httpx
  • fastmcp

2. Instalación

Instalación mediante herrería

Para instalar la herramienta de acortamiento de URL para Claude Desktop automáticamente a través de Smithery :

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

Instalación manual

uv add httpx 'mcp[cli]'

Instalación de Docker:

docker build -t url-shortener .

3. Corriendo

uv run main.py

Para el uso basado en Docker, no necesitamos hacer nada aquí.

4. Agregar en Claude Desktop

Con los rayos uv
{ "mcpServers": { "url-shortener": { "command": "/Users/{userName}/.local/bin/uv", "args": [ "--directory", "{path_to_repo}/cleanuri-url-shortener-mcp", "run", "main.py" ] } } }
Con 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

Proporciona una herramienta sencilla para acortar URL mediante la API CleanURI, diseñada para ejecutarse como un servidor FastMCP que puede integrarse con sistemas basados en agentes o herramientas.

  1. ✨ Características
    1. 🚀 Uso
      1. 1. Requisitos
    2. 2. Instalación
      1. Instalación mediante herrería
      2. Instalación manual
      3. Instalación de Docker:
      4. 3. Corriendo
      5. 4. Agregar en 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