Skip to main content
Glama
U301 URL Shortener MCP Server

U301 URL Shortener MCP Server

U301 URL缩短器MCP服务器

使用 MCP 服务器创建短 URL。

支持的参数

  • url - 需要缩短的 URL

  • slug - (可选) URL 的 slug

  • expires -(可选)URL 过期前的秒数

  • password - (可选)访问 URL 的密码

  • comment - (可选)在仪表板中显示的评论

Related MCP server: Unofficial dubco-mcp-server

环境变量

  • API_KEY - U301 API 密钥,用于创建短 URL

  • domain - (可选)短 URL 域名,默认为空白

  • workspaceId - (可选)要使用的工作区,默认为空白

如何使用

  • 步骤 1:在U301 仪表板中创建 API

  • 步骤 2:(可选)通过连接到 cloudflare 添加您自己的域名

  • 步骤 3:添加此 MCP 服务器配置

{
  "mcpServers": {
    "u301-url-shortener": {
      "command": "npx",
      "args": [
        "-y",
        "@u301/mcp"
      ],
      "env": {
        "U301_API_KEY": <Your-U301-API-Key>
        // "domain": <if you have one, or you don't need to config>
      }
    }
  }
}

现在你可以告诉人工智能(光标、风帆冲浪)

将此文件注释中的长 URL 替换为有意义且易记的短 URL。

执照

MIT 许可证

官方网站: https://u301.com

Available Tools

1 tool
u301_shortening_urls_in_bulkA

Use U301's short link service API to batch shorten long URLs. Custom domains are supported, with up to 200 URLs per request. You should provide as "{ urls: []}" Current ShortLink domain is u301.co URLItem Supported Parameters areurl: required, the URL to be shortened slug: optional, a custom slug for the shortened URL, the final shortened URL will be https://u301.co/ if you leave it empty, random slug will create expiredAt: optional, the expiration date for the shortened URL, e.g. 2023-01-01T00:00:00Z password: optional, a password for the shortened URL comment: optional, a comment, displayed on the dashboard

Inputs: urls (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools. The tool has a single, clear purpose: batch shortening URLs with various customization options.

    Naming Consistency5/5

    There is only one tool name, so consistency is inherently perfect. The naming follows a descriptive verb_noun pattern (u301_shortening_urls_in_bulk) that clearly indicates its function.

    Tool Count2/5

    A single tool for a URL shortener server is too few for the apparent scope. While batch shortening is useful, the lack of tools for individual URL operations (e.g., create, retrieve, update, delete, list) or analytics makes the surface feel incomplete and thin for the domain.

    Completeness2/5

    The tool set is severely incomplete for a URL shortener domain. It only supports batch creation of shortened URLs, with no tools for retrieving, updating, deleting, listing, or analyzing existing short links, creating significant gaps that will hinder agent workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides a simple tool to shorten URLs using the CleanURI API, designed to run as a FastMCP server that can be integrated with agent or tool-based systems.
      1
      4
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      A Model Control Protocol server that enables Claude Desktop to interact with your self-hosted YOURLS URL shortener, allowing Claude to automatically shorten URLs, expand short URLs, and retrieve click statistics.
      14
      MIT