CleanURI URL Shortener MCPServer

Talismanic
GitHub
URL ShorteningAPI IntegrationDeveloper Tools

Loading subscription status...

💡 Description

This project provides a simple URL shortening tool using the CleanURI API and is designed to run as a FastMCP server tool.

📝 JSON Entries

{
  "mcpServers": [
    {
      "url-shortener": {
        "args": [
          "--directory",
          "{path_to_repo}/cleanuri-url-shortener-mcp",
          "run",
          "main.py"
        ],
        "command": "/Users/{userName}/.local/bin/uv"
      }
    },
    {
      "url-shortener": {
        "args": [
          "run",
          "-i",
          "--rm",
          "--init",
          "-e",
          "DOCKER_CONTAINER=true",
          "url-shortener"
        ],
        "command": "docker"
      }
    }
  ]
}

🛠️ Tools

shorten

Features

  • Shortens any given URL using the CleanURI API
  • Proper error handling and response validation
  • Transparent integration with agent-based systems or tools

💬 Example Queries

  • Shorten a URL using CleanURI
  • Get the shortened link for https://example.com