Skip to main content
Glama
tealight-uk

U301 URL Shortener MCP Server

U301 URL缩短器MCP服务器

使用 MCP 服务器创建短 URL。

支持的参数

  • url - 需要缩短的 URL

  • slug - (可选) URL 的 slug

  • expires -(可选)URL 过期前的秒数

  • password - (可选)访问 URL 的密码

  • comment - (可选)在仪表板中显示的评论

Related MCP server: Unofficial dubco-mcp-server

环境变量

  • API_KEY - U301 API 密钥,用于创建短 URL

  • domain - (可选)短 URL 域名,默认为空白

  • workspaceId - (可选)要使用的工作区,默认为空白

如何使用

  • 步骤 1:在U301 仪表板中创建 API

  • 步骤 2:(可选)通过连接到 cloudflare 添加您自己的域名

  • 步骤 3:添加此 MCP 服务器配置

{ "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> } } } }

现在你可以告诉人工智能(光标、风帆冲浪)

将此文件注释中的长 URL 替换为有意义且易记的短 URL。

执照

MIT 许可证

官方网站: https://u301.com

One-click Deploy
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

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