Basic information

Category
License
MIT
Transports
stdio
Author
muleiwu
Submitted by
Community
Quality
25

About Dwz Mcp Server

A short URL management client based on MCP (Model Context Protocol) protocol, providing complete short URL generation, management, and statistics functionality for AI assistants.

Dwz Mcp is a MCP server in the Other category listed in the AddMCP.net directory, published by muleiwu. It exposes 6 tools, including create_short_url, get_url_info, list_short_urls, delete_short_url and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: ai-assistant, short-url, url-management.

Setup

{
    "mcpServers": {
        "dwz-mcp": {
            "name": "dwz-mcp",
            "type": "stdio",
            "isActive": true,
            "registryUrl": "",
            "command": "npx",
            "args": [
                "-y",
                "@muleiwu/dwz-mcp"
            ],
            "env": {
                "REMOTE_BASE_URL": "Your short URL service address",
                "REMOTE_API_KEY": "apiKey"
            }
        }
    }
}

Dwz Mcp config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "dwz-mcp": {
            "name": "dwz-mcp",
            "type": "stdio",
            "isActive": true,
            "registryUrl": "",
            "command": "npx",
            "args": [
                "-y",
                "@muleiwu/dwz-mcp"
            ],
            "env": {
                "REMOTE_BASE_URL": "Your short URL service address",
                "REMOTE_API_KEY": "apiKey"
            }
        }
    }
}

Dwz Mcp tools

  • create_short_url — 创建一个新的短网址。支持自定义域名、短代码、标题和描述信息。
    original_url:string*, domain:string*, custom_code:string, title:string*, description:string, expire_at:string
  • get_url_info — 根据短网址ID获取详细信息,包括原始URL、点击统计、创建时间等。
    id:integer*
  • list_short_urls — 列出用户的短网址列表,支持分页、域名筛选和关键词搜索。
    page:integer, page_size:integer, domain:string, keyword:string
  • delete_short_url — 删除指定的短网址。删除后无法恢复,请谨慎操作。
    id:integer*
  • batch_create_short_urls — 批量创建多个短网址,提高创建效率。最多支持50个URL。
    urls:array*, domain:string*
  • list_domains — 获取所有可用的域名列表,包括域名配置信息和状态。
    (no parameters)

Overview

What is Dwz Mcp?

Dwz Mcp is a short URL management MCP (Model Context Protocol) server that provides complete short URL generation, management, and statistics functionality for AI assistants. It integrates with the dwz-server backend API.

How to use Dwz Mcp?

Run npx -y @muleiwu/dwz-mcp with the required environment variables REMOTE_BASE_URL (short URL service address) and REMOTE_API_KEY (API key). Optionally install dependencies with npm install, copy .env.example to .env, and start the service with npm start or npm run dev.

Key features of Dwz Mcp

  • Short URL creation with custom domains, codes, titles, and descriptions
  • Batch create up to 50 short URLs at once
  • Search and filter by domain or keyword with pagination
  • Detailed click statistics and analytics
  • Comprehensive error handling and retry mechanisms
  • API authentication based on Bearer Token

Use cases of Dwz Mcp

  • AI assistants generating short URLs for user-provided links
  • Managing and listing existing short URLs with filters
  • Deleting outdated or unused short URLs
  • Batch creating multiple short URLs for bulk operations
  • Retrieving domain lists and configuration information

Frequently asked questions

1 What backend service does Dwz Mcp require?

Dwz Mcp requires the dwz-server, a high-performance short URL service developed in Go. It can be deployed via Docker using the provided docker-compose.yml.

2 How do I deploy dwz-server?

Use Docker with the image docker.cnb.cool/mliev/open/dwz-server:latest. An example docker-compose.yml is provided in the README. After starting, the API address is typically http://localhost:8080.

3 What environment variables are required?

REMOTE_BASE_URL and REMOTE_API_KEY are required. Optional variables include API_VERSION, REQUEST_TIMEOUT, MAX_RETRIES, and LOG_LEVEL.

4 What is the API response format?

All responses follow a unified JSON format: {"success": true/false, "message": "...", "data": {...}, "meta": {...}} for success, or {"success": false, "error": {"code": "...", "message": "...", "details": {...}}} for errors.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬