Skip to main content
Glama
Talismanic

URL Shortener MCP

by Talismanic

URL 缩短器 MCP 工具

铁匠徽章

该项目使用CleanURI API提供了一个简单的 URL 缩短工具,并设计为FastMCP服务器工具运行。

✨ 特点

  • 使用 CleanURI API 缩短任何给定的 URL。

  • 通过 FastMCP 将功能作为工具公开。

  • 包括适当的错误处理和响应验证。

  • 设计用于通过stdio传输运行,以便与代理或基于工具的系统集成。

Related MCP server: Rebrandly MCP

🚀 使用方法

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
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Tools

Related MCP Servers

  • A
    license
    -
    quality
    F
    maintenance
    This project implements a simple MCP server in Go that exposes a single tool (create_short_link) to generate short URLs using the Rebrandly API.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that enables users to shorten long URLs into permanent, shareable links using the AceDataCloud API. It supports both single and batch URL shortening directly within MCP-compatible clients like Claude and VS Code.
    4
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for URL shortening and management

  • Create and manage short links, track clicks, and automate URL management

  • MCP server exposing the Backtest360 engine API as tools for AI agents.

View all MCP Connectors

Latest Blog Posts

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