U301 URL Shortener MCP Server
Allows custom domains to be added to shortened URLs by connecting to Cloudflare for domain management
Click on "Install 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 Servershorten 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
Maintenance
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.435MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to create, update, and delete Dub.co short links through the Dub.co API.3357MIT
- 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
- FlicenseAqualityDmaintenanceA 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
Related MCP Connectors
MCP server for URL shortening and management
Create and manage short links, track clicks, and automate URL management
Official in.bio MCP server: shorten URLs, styled QR codes, and click analytics. No API key needed.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tealight-uk/u301-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server