CleanURI短链接
STDIO基于CleanURI的URL短链接工具
基于CleanURI的URL短链接工具
This project provides a simple URL shortening tool using the CleanURI API and is designed to run as a FastMCP server tool.
stdio transport for integration with agent or tool-based systems.httpxfastmcpTo install URL Shortener Tool for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Talismanic/cleanuri-url-shortener-mcp --client claude
uv add httpx 'mcp[cli]'
docker build -t url-shortener .
uv run main.py
For docker based use, we dont need to do anything here.
{
  "mcpServers": {
    "url-shortener": {
      "command": "/Users/{userName}/.local/bin/uv",
      "args": [
        "--directory",
        "{path_to_repo}/cleanuri-url-shortener-mcp",
        "run",
        "main.py"
      ]
    }
  }
}
{
  "mcpServers": {
    "url-shortener": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--init",
        "-e",
        "DOCKER_CONTAINER=true",
        "url-shortener"
      ]
    }
  }
}