Skip to main content
Glama
tealight-uk

U301 URL Shortener MCP Server

U301 URL短縮MCPサーバー

MCP サーバーを使用して短縮 URL を作成します。

サポートされているパラメータ

  • url - 短縮するURL

  • slug - (オプション) URLのスラッグ

  • expires - (オプション) URL の有効期限が切れるまでの秒数

  • password - (オプション) URLにアクセスするためのパスワード

  • comment - (オプション) ダッシュボードに表示するコメント

Related MCP server: Unofficial dubco-mcp-server

環境変数

  • API_KEY - 短縮URLの作成に必要なU301 APIキー

  • 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>
      }
    }
  }
}

AI(カーソル、ウィンドサーフィン)を教えてあげられるようになりました

このファイルのコメント内の長い 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

ParametersJSON Schema
NameRequiredDescriptionDefault
urlsYes

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the batch limit (200 URLs) and custom domain support, which are useful behavioral traits. However, it lacks critical details like authentication requirements, rate limits, error handling, or what the response format looks like, leaving significant gaps for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded with the core purpose. However, it includes minor redundancy (e.g., repeating 'optional' for parameters already labeled as such in the text) and could be more streamlined. Most sentences earn their place by adding value, but slight editing could improve efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (batch mutation with multiple optional parameters), no annotations, and no output schema, the description is moderately complete. It covers the purpose, batch limit, domain, and parameter semantics well, but lacks behavioral details like authentication, response format, or error handling, which are important for a mutation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 0%, so the description must fully compensate. It provides detailed semantics for all parameters: the required 'urls' array structure, and for each URLItem, it explains 'url' (required), 'slug' (optional with default behavior), 'expiredAt' (format example), 'password', and 'comment' (dashboard display). This adds substantial meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('batch shorten long URLs'), resource ('U301's short link service API'), and scope ('up to 200 URLs per request'). It distinguishes this as a bulk operation tool with no siblings to differentiate from, making the purpose highly specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for batch URL shortening with custom domain support, but provides no explicit guidance on when to use this tool versus alternatives (e.g., single URL shortening), prerequisites, or exclusions. With no sibling tools, the context is limited to the implied batch scenario.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 1 tool updatev1.0.0
    • First observedu301_shortening_urls_in_bulk

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.

Maintenance

ActivityInactive
ResponsivenessNo issues

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
  • F
    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
    -