Agent Skills

U301 URL Shortener

Create short URLs using the U301 URL Shortener service.

Install

Install and configure the MCP from https://github.com/tealight-uk/u301-mcp now. Follow the repository's installation instructions, ask me for anything you can't complete yourself, and verify its tools load.
README

U301 URL Shortener MCP Server

Use MCP Server to create short URLs.

Supported Params

  • url - The URL to shorten
  • slug - (optional) The slug of the URL
  • expiredAt - (optional) The expiration date for the URL, for example 2026-03-13T00:00:00Z
  • password - (optional) The password to access the URL
  • comment - (optional) The comment to display in Dashboard

Environment Variables

  • U301_API_KEY - The U301 API key, required for creating short URLs
  • DOMAIN - (optional) The short URL domain, leave blank for the default domain
  • WORKSPACE_ID - (optional) Which workspace to use, leave blank for the default workspace

How to use

  • Step 1: Create an API in U301 Dashboard
  • Step 2: (Optional) Add your own domain by connecting to Cloudflare
  • Step 3: Add this MCP Server config
{
  "mcpServers": {
    "u301-url-shortener": {
      "command": "npx",
      "args": [
        "-y",
        "@u301/mcp"
      ],
      "env": {
        "U301_API_KEY": "<Your-U301-API-Key>",
        // "DOMAIN": "<optional-custom-domain>",
        // "WORKSPACE_ID": "<optional-workspace-id>"
      }
    }
  }
}

Now you can tell AI (cursor, windsurf)

Replace the long URLs in the comments of this file with meaningful and memorable short URLs.

License

The MIT License

Official Website: https://u301.com

Search skills and MCP servers

Search across 31,816 skills and MCPs