MCP.so
Sign In

U301 Url Shortener

@tealight-uk

About U301 Url Shortener

MCP server for interacting with U301 URL Shortener

Basic information

Category

Other

Transports

stdio

Publisher

tealight-uk

Submitted by

Jie Dai

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@u301/mcp"
      ],
      "env": {
        "U301_API_KEY": "<Your-U301-API-Key>",
        "domain": "<if you don't have one, remove this key>"
      }
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is U301 Url Shortener?

U301 Url Shortener is an MCP server that creates short URLs using the U301 URL shortening service. It supports optional parameters like custom slugs, expiration times, password protection, and comments. The server is intended for AI assistants (e.g., Cursor, Windsurf) to replace long URLs with short, memorable ones.

How to use U301 Url Shortener?

First, obtain an API key from the U301 Dashboard. Optionally, add a custom domain by connecting to Cloudflare and specify a workspace. Then add the MCP server configuration to your client (using npx and the @u301/mcp package) with the required U301_API_KEY environment variable and optional domain and workspaceId variables. Instruct your AI to replace long URLs with meaningful short URLs.

Key features of U301 Url Shortener?

  • Creates short URLs with a required url parameter.
  • Supports optional custom slug for the short URL.
  • Optional expires time in seconds.
  • Optional password for access control.
  • Optional comment for dashboard display.
  • Custom domain and workspace support via environment variables.

Use cases of U301 Url Shortener?

  • Shortening long URLs directly from an AI-assisted coding environment.
  • Adding password protection and expiration to shared links.
  • Organizing short links under specific workspaces.

FAQ from U301 Url Shortener

What parameters does the server accept?

It requires url and optionally accepts slug, expires (seconds), password, and comment.

What environment variables are required?

U301_API_KEY is required; domain and workspaceId are optional.

How do I install or run this server?

Use the npx command with the @u301/mcp package as shown in the configuration example (stdio transport).

What transport does this server use?

The server uses stdio transport, as demonstrated by the command and args configuration.

What license is this server under?

The server is licensed under the MIT License.

Comments

More Other MCP servers