u301-mcp

u301-mcp

3.2

If you are the rightful owner of u301-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

U301 URL Shortener MCP Server is designed to create short URLs using the Model Context Protocol (MCP) technology.

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
  • expires - (optional) The time in seconds until the URL expires
  • password - (optional) The password to access the URL
  • comment - (optional) The comment to display in Dashboard

Environment Variables

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

How to use

  • Step 1: Create an API in U301 Dashboard
  • Step 2: (Optional) Add your own domain by connectting 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": <if you have one, or you don't need to config>
      }
    }
  }
}

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