U301 URL Shortener MCP Server
Allows custom domains to be added to shortened URLs by connecting to Cloudflare for domain management
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@U301 URL Shortener MCP Server shorten https://example.com/very-long-article-url-about-ai-trends with slug ai-trends"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
U301 URL Shortener MCP Server
Use MCP Server to create short URLs.
Supported Params
url- The URL to shortenslug- (optional) The slug of the URLexpiredAt- (optional) The expiration date for the URL, for example2026-03-13T00:00:00Zpassword- (optional) The password to access the URLcomment- (optional) The comment to display in Dashboard
Related MCP server: Unofficial dubco-mcp-server
Environment Variables
U301_API_KEY- The U301 API key, required for creating short URLsDOMAIN- (optional) The short URL domain, leave blank for the default domainWORKSPACE_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
Available Tools
1 toolu301_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
Scored across 1 tool
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.
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.
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.
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
UTM-tagged short links with naming rules, QR codes and click analytics, from your AI.
Short-link service embedded in your AI workflow — shorten links, track campaigns, read stats.
Create short links, QR codes, UTM templates, vCards, and landing pages from your AI assistant.
Trnqify lets AI agents create, manage, and shorten links — all through natural conversation.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to create, update, and manage short links through your Dub.co account, allowing for creation, modification, and deletion of custom shortened URLs.4MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to create, update, and delete Dub.co short links through the Dub.co API.321 npm7MIT
- AlicenseBqualityDmaintenanceProvides 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.14Apache 2.0
- AlicenseAqualityDmaintenanceA 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.14MIT