PGYER MCP Server

PGYER MCP Server

pgyer-mcp-server•bypgyer

A Model Context Protocol server (launched via the PGYER CLI since 2.0) that lets AI clients upload Android, iOS, and HarmonyOS installers to PGYER and manage apps and versions.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Uploads .apk, .ipa, or .hap installers to PGYER, waits for processing, and returns the download page address, QR code, and version number, with support for install method, password, release notes, install validity, and channel short links.
  • •Lists apps and historical versions, and looks up app details by appKey or short link, optionally for a specific version.
  • •Sets or clears a version's latest-version mark and updates app settings such as short link, install method and password, install validity, download page language, version number source, auto sync, and copyright display, with dryRun support.
  • •Provides no tools to delete apps or versions and does not return install passwords.

BEST FOR

  • •Uploading mobile app builds to PGYER directly from AI clients such as Claude, Cursor, VS Code, or Codex.
  • •Checking an upload's processing result by buildKey after a timeout.
  • •Managing released versions and app distribution settings from within an AI conversation.

ABOUT PGYER-MCP-SERVER

PGYER MCP Server is cataloged as an MCP server attributed to pgyer. A Model Context Protocol server (launched via the PGYER CLI since 2.0) that lets AI clients upload Android, iOS, and HarmonyOS installers to PGYER and manage apps and versions. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for PGYER MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7ac4f8aa91b8 · 采集于 2026-11-13 12:59:20 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

PGYER MCP Server

English | 中文

蒲公英(PGYER)的 MCP(Model Context Protocol)服务器。在 Claude、Cursor、VS Code、Codex 等 AI 客户端里直接上传 Android(.apk)、iOS(.ipa)和鸿蒙(.hap)安装包,查询应用与历史版本,修改应用设置。

Claude Screenshot

从 2.0 开始,本包只是一个启动器:服务器本身由蒲公英命令行工具 @pgyer/cli(pgyer mcp)提供,两者的工具和行为完全相同。原有的 npx -y pgyer-mcp-server 配置无需修改。

准备

服务器优先读取环境变量 PGYER_API_KEY;没有设置时,使用 pgyer auth login 保存在本机的凭证。

配置

Claude Code

claude mcp add pgyer --env PGYER_API_KEY=<your_pgyer_api_key> -- npx -y pgyer-mcp-server

Claude Desktop

编辑 claude_desktop_config.json(设置 → 开发者 → 编辑配置):

{
  "mcpServers": {
    "pgyer": {
      "command": "npx",
      "args": ["-y", "pgyer-mcp-server"],
      "env": { "PGYER_API_KEY": "<your_pgyer_api_key>" }
    }
  }
}

Cursor

在 ~/.cursor/mcp.json(全局)或项目内的 .cursor/mcp.json 中添加:

{
  "mcpServers": {
    "pgyer": {
      "command": "npx",
      "args": ["-y", "pgyer-mcp-server"],
      "env": { "PGYER_API_KEY": "<your_pgyer_api_key>" }
    }
  }
}

VS Code

一键添加:

code --add-mcp '{"name":"pgyer","command":"npx","args":["-y","pgyer-mcp-server"],"env":{"PGYER_API_KEY":"<your_pgyer_api_key>"}}'

或在项目的 .vscode/mcp.json 中添加(启动时提示输入 API Key,不会写进文件):

{
  "inputs": [
    { "type": "promptString", "id": "pgyer-api-key", "description": "PGYER API Key", "password": true }
  ],
  "servers": {
    "pgyer": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "pgyer-mcp-server"],
      "env": { "PGYER_API_KEY": "${input:pgyer-api-key}" }
    }
  }
}

Codex

codex mcp add pgyer --env PGYER_API_KEY=<your_pgyer_api_key> -- npx -y pgyer-mcp-server

或编辑 ~/.codex/config.toml。Codex 默认的工具超时是 60 秒,上传较大的安装包时请调大:

[mcp_servers.pgyer]
command = "npx"
args = ["-y", "pgyer-mcp-server"]
env = { PGYER_API_KEY = "<your_pgyer_api_key>" }
tool_timeout_sec = 900

已全局安装 @pgyer/cli 并执行过 pgyer auth login 时,也可以把命令换成 pgyer mcp,并省略 PGYER_API_KEY。

工具

工具作用只读覆盖已有状态
upload_app上传 .apk/.ipa/.hap 并等待蒲公英处理完成,返回下载页地址、二维码、版本号等;支持安装方式、安装密码、更新说明、应用介绍、安装有效期、渠道短链接、海外/国内上传和处理超时;客户端提供 progressToken 时发送上传和处理进度否否
get_upload_status按 buildKey 查询上传的处理结果(upload_app 处理超时后使用),可设置等待时间是否
list_apps分页列出账号下的应用及其最新版本是否
get_app按 appKey 或短链接(也可以是完整的下载页地址)查询应用详情,可指定历史版本是否
list_versions按 appKey 或短链接分页列出历史版本是否
set_latest_version设置或取消某个版本的「最新版本」标记否是
update_app_settings修改短链接、安装方式与密码、安装有效期、下载页语言、版本号来源、自动同步和版权显示;未指定的设置保持不变,支持 dryRun否是
  • 上传只发送你指定的设置,未指定的设置保持应用当前的值
  • 不提供删除应用或版本的工具,也不会返回安装密码
  • 主域名 www.pgyer.com 无法访问时,自动改用 www.xcxwo.com、www.pgyerapp.com
  • API Key 只在 HTTPS 请求正文中发送,不会出现在 URL 里

从 1.x 升级

2.0 的工具名称改为 snake_case 并增加了新工具。如果你的提示词或客户端的工具白名单写了旧名称,请相应修改:

1.x2.0
upload-appupload_app(新增全部上传设置与进度通知)
list-my-appslist_apps
get-app-info-by-shortcutget_app(参数 shortcut)

工具的返回结果也改为整理后的结构化数据,不再原样返回 API 响应。1.x 把 API Key 放在查询上传结果的 URL 中,2.0 已修复。

Docker

docker build -t pgyer-mcp-server .
docker run -i --rm -e PGYER_API_KEY=<your_pgyer_api_key> pgyer-mcp-server

开发与发布

服务器代码在 PGYER/pgyer-cli 的 src/mcp/ 中,问题与改进请提交到该仓库。本仓库只包含启动器、MCP Registry 元数据(server.json)和文档。发布步骤见 RELEASING.md。

许可证

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for PGYER MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/pgyer-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools