Feedback

Agentsyun优惠券 MCP Server

@huizhizhineng Claim

Basic information

Runtime
Python
Category
License
MIT
Transports
stdio
Author
huizhizhineng
Submitted by
Community
Quality
20
Stars
1

About Agentsyun优惠券 MCP Server

Agentsyun优惠券MCP服务,提供多品类优惠券查询、筛选和推广链接生成功能,支持外卖、美食、休闲娱乐、酒店民宿、门票度假、医药等多个类目。

Agentsyun优惠券 is a MCP server in the Other category listed in the AddMCP.net directory, published by huizhizhineng. It exposes 12 tools, including list_takeaway_coupons, get_takeaway_promotion_link, list_restaurant_coupons, get_restaurant_promotion_link and more. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: coupon.

Setup

{
    "mcpServers": {
        "agentsyun-coupon": {
            "command": "uvx",
            "args": [
                "agentsyun-coupon-mcp-server"
            ],
            "env": {
                "APP_KEY": "开放平台申请的APP_KEY",
                "APP_SECRET": "开放平台申请的APP_SECRET"
            }
        }
    }
}

Agentsyun优惠券 MCP Server config

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

{
    "mcpServers": {
        "agentsyun-coupon": {
            "command": "uvx",
            "args": [
                "agentsyun-coupon-mcp-server"
            ],
            "env": {
                "APP_KEY": "开放平台申请的APP_KEY",
                "APP_SECRET": "开放平台申请的APP_SECRET"
            }
        }
    }
}

Agentsyun优惠券 MCP Server tools

  • list_takeaway_coupons — 获取支持的外卖商品券列表 根据指定条件查询优惠券分类信息,支持搜索、分页等功能。
    current:string*, latitude:string*, longitude:string*, search_id:string*, search_text:string*, size:string*
  • get_takeaway_promotion_link — 获取外卖商品券的推广链接 根据指定条件获取外卖商品券的推广链接。
    link_type:integer*, sku_id:string*
  • list_restaurant_coupons — 获取支持的美食优惠券列表 根据指定条件查询优惠券分类信息,支持搜索、分页等功能。
    current:string*, latitude:string*, longitude:string*, search_id:string*, search_text:string*, size:string*
  • get_restaurant_promotion_link — 获取美食的推广链接 根据指定条件获取美食的推广链接。
    link_type:integer, sku_id:string
  • list_entertainment_coupons — 获取支持的休闲娱乐优惠券列表 根据指定条件查询优惠券分类信息,支持搜索、分页等功能。
    current:string*, latitude:string*, longitude:string*, search_id:string*, search_text:string*, size:string*
  • get_entertainment_promotion_link — 获取休闲娱乐的推广链接 根据指定条件获取休闲娱乐的推广链接。
    link_type:integer, sku_id:string
  • list_hotel_coupons — 获取支持的酒店民宿优惠券列表 根据指定条件查询优惠券分类信息,支持搜索、分页等功能。
    current:string*, latitude:string*, longitude:string*, search_id:string*, search_text:string*, size:string*
  • get_hotel_promotion_link — 获取酒店民宿的推广链接 根据指定条件获取酒店民宿的推广链接。
    link_type:integer, sku_id:string
  • list_travel_coupons — 获取支持的门票度假优惠券列表 根据指定条件查询优惠券分类信息,支持搜索、分页等功能。
    current:string*, latitude:string*, longitude:string*, search_id:string*, search_text:string*, size:string*
  • get_travel_promotion_link — 获取门票度假的推广链接 根据指定条件获取门票度假的推广链接。
    link_type:integer, sku_id:string
  • list_medical_coupons — 获取支持的医药优惠券列表 根据指定条件查询优惠券分类信息,支持搜索、分页等功能。
    current:string*, latitude:string*, longitude:string*, search_id:string*, search_text:string*, size:string*
  • get_medical_promotion_link — 获取医药的推广链接 根据指定条件获取医药的推广链接。
    link_type:integer*, sku_id:string*

Overview

What is Agentsyun优惠券?

Agentsyun优惠券是一个基于MCP协议的优惠券服务,提供多品类优惠券查询、筛选和推广链接生成功能。它支持外卖、美食、休闲娱乐、酒店民宿、门票度假、医药六个类目,旨在帮助开发者或应用集成优惠券能力并获取佣金收益。

How to use Agentsyun优惠券?

通过MCP客户端配置使用。推荐使用stdio传输方式,在本地的MCP客户端配置文件中添加如下JSON:

{
  "mcpServers": {
    "agentsyun-coupon": {
      "command": "uvx",
      "args": ["agentsyun-coupon-mcp-server"],
      "env": {
        "APP_KEY": "开放平台申请的APP_KEY",
        "APP_SECRET": "开放平台申请的APP_SECRET"
      }
    }
  }
}

也可选择SSE或Streamable HTTP传输方式,需将代码拉取到本地并设置环境变量后运行相应命令。所有调用前需前往Agentsyun开放平台(https://mcp.agentsyun.com/)获取APP_KEY和APP_SECRET。

Key features of Agentsyun优惠券

  • 支持6大类优惠券列表查询:外卖、美食、休闲娱乐、酒店民宿、门票度假、医药。
  • 提供优惠券推广链接生成,支持H5长/短链接、deeplink、微信小程序路径、团口令、小程序码。
  • 每个列表查询工具支持关键词搜索和分页。
  • 推广链接生成工具需指定券的skuId和链接类型。
  • 开发者可通过MCP通道获取优惠券客户的消费佣金。
  • 支持美团渠道优惠券。

Use cases of Agentsyun优惠券

  • 智能助手根据用户位置和需求,自动检索附近的外卖、美食优惠券。
  • 旅游规划场景中,查询酒店民宿或门票度假优惠券并生成推广链接。
  • 本地生活应用中,集成优惠券列表展示与领券跳转功能。
  • 返利机器人或社群推广工具,通过链接生成功能分享优惠券。

Frequently asked questions

1 需要哪些环境变量?

需要配置APP_KEY和APP_SECRET两个环境变量,在开放平台申请。

2 支持哪几种传输方式?

支持stdio(本地调用)、SSE(远程服务调用)和Streamable HTTP(远程服务调用)三种方式。

3 如何获取认证信息?

前往Agentsyun开放平台(https://mcp.agentsyun.com/)注册账号,获取APP_KEY和APP_SECRET。

4 运行环境有什么要求?

Python版本需 >= 3.12,并需要安装uv管理工具(stdio方式用uvx执行)。

5 优惠券覆盖哪些类目?

覆盖外卖商品券、美食优惠券、休闲娱乐券、酒店民宿券、门票度假券、医药券共六类。

Comments

No comments yet

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

Sign In

Feedback 💬