MCP server for interacting with U301 URL Shortener
U301 MCP becomes available to MCP clients through the u301 mcp mcp server. MCP server for interacting with U301 URL Shortener.
Once connected, the assistant can call these 8 tools directly:
url — The URL to shortenslug — (optional) The slug of the URLexpiredAt — (optional) The expiration date for the URL, for example 2026-03-13T00:00:00Zpassword — (optional) The password to access the URLcomment — (optional) The comment to display in DashboardU301_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 workspaceSetup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.
Before the server will start you need to supply 3 environment variables: U301_API_KEY, DOMAIN, WORKSPACE_ID. Keep credentials in your client's env block or a secrets manager rather than committing them.
Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. U301 MCP sits in that group, and the shape of its toolset — url, slug, expiredAt among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| 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 |
| 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 |
{
"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>"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| U301_API_KEY | Credential the server authenticates with. | Yes |
| DOMAIN | Configuration value read at startup. | Optional |
| WORKSPACE_ID | Configuration value read at startup. | Optional |
The simplest web tool that matters — fetch any URL and get model-ready markdown back.
Industrial-strength web extraction — render, scrape, crawl and search entire sites into clean markdown.
Puppeteer-powered browser control that drives pages from the accessibility tree instead of pixels.
Search built for AI, not humans — semantic web search that returns model-ready content, plus code context.
Answers, not links — delegate questions to Perplexity's search-grounded models and get cited responses back.
Put 6,000+ pre-built scrapers at your assistant's fingertips through one MCP endpoint.