MCP.so
登录

U301 Url Shortener MCP Server

@tealight-uk

基本信息

分类

其他

传输方式

stdio

作者

tealight-uk

提交者

Jie Dai

关于 U301 Url Shortener MCP Server

MCP server for interacting with U301 URL Shortener

U301 Url Shortener MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@u301/mcp"
      ],
      "env": {
        "U301_API_KEY": "<Your-U301-API-Key>",
        "domain": "<if you don't have one, remove this key>"
      }
    }
  }
}

U301 Url Shortener MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is U301 Url Shortener?

U301 Url Shortener is an MCP server that creates short URLs using the U301 URL shortening service. It supports optional parameters like custom slugs, expiration times, password protection, and comments. The server is intended for AI assistants (e.g., Cursor, Windsurf) to replace long URLs with short, memorable ones.

How to use U301 Url Shortener?

First, obtain an API key from the U301 Dashboard. Optionally, add a custom domain by connecting to Cloudflare and specify a workspace. Then add the MCP server configuration to your client (using npx and the @u301/mcp package) with the required U301_API_KEY environment variable and optional domain and workspaceId variables. Instruct your AI to replace long URLs with meaningful short URLs.

Key features of U301 Url Shortener?

  • Creates short URLs with a required url parameter.
  • Supports optional custom slug for the short URL.
  • Optional expires time in seconds.
  • Optional password for access control.
  • Optional comment for dashboard display.
  • Custom domain and workspace support via environment variables.

Use cases of U301 Url Shortener?

  • Shortening long URLs directly from an AI-assisted coding environment.
  • Adding password protection and expiration to shared links.
  • Organizing short links under specific workspaces.

常见问题

1

What parameters does the server accept?

It requires `url` and optionally accepts `slug`, `expires` (seconds), `password`, and `comment`.

2

What environment variables are required?

`U301_API_KEY` is required; `domain` and `workspaceId` are optional.

3

How do I install or run this server?

Use the `npx` command with the `@u301/mcp` package as shown in the configuration example (stdio transport).

4

What transport does this server use?

The server uses stdio transport, as demonstrated by the `command` and `args` configuration.

5

What license is this server under?

The server is licensed under the MIT License.

评论

其他 分类下的更多 MCP 服务器