Skip to main content
Glama

AUL Uploader — MCP Server

server_name: aul_uploader

基于 Model Context Protocol 的 MCP 服务器,用于向 AUL 远程游戏库上传游戏、管理配置与封面。双仓库同步:GitHub 为主,GitCode 为镜像。

library

仓库

分支

资源扩展名

desktop

GitHub znm2500/AU-Launcher-Repo / GitCode znm1145/AU-Launcher-Repo

data

.7z

mobile

GitHub znm2500/AUL-Mobile-Repo / GitCode znm1145/AUL-Mobile-Repo

data

.apk

封面命名:{game_id}.webp 安装包命名:{game_id}.{ext}(ext 由 library 决定) 配置文件:config.json(data 分支根目录)


1. 环境与安装

npm install
  • Node.js >= 18

  • 无 build 步骤,node index.js 直接启动

依赖:

用途

@modelcontextprotocol/sdk

MCP stdio / SSE 服务端 SDK

apk-info-parser

本地解析 APK 清单(包名 / 版本)

axios

HTTP 请求 GitHub / GitCode / jsDelivr

sharp

封面缩放并转 WebP


Related MCP server: adb-mcp-server

2. 接入方式

2.1 本地(Stdio)

{
  "mcpServers": {
    "aul_uploader": {
      "command": "node",
      "args": ["C:\\absolute\\path\\to\\index.js"]
    }
  }
}

args[0] 建议写绝对路径,避免工作目录不一致导致找不到文件。

2.2 远程(HTTP / SSE)

# 监听所有网卡
node index.js --serve 3001

# 绑定指定 IP
node index.js --serve 3001 --host 192.168.1.20

启动后输出:

=== AUL Uploader MCP Server (SSE / HTTP) running ===
  Health check : http://0.0.0.0:3001/health
  SSE endpoint : http://0.0.0.0:3001/sse
  Message POST : http://0.0.0.0:3001/message

路径

方法

作用

/health

GET

健康检查,返回工具数与活跃会话数

/sse

GET

SSE 下行通道

/message

POST

客户端上行 JSON-RPC

客户端配置:

{
  "mcpServers": {
    "aul_uploader_remote": {
      "transport": "sse",
      "url": "http://<host>:3001/sse"
    }
  }
}

安全提醒:SSE 本身无鉴权,跨公网部署时请在前面套 HTTPS 反代并加鉴权(Basic Auth / Bearer Token / IP 白名单三选一)。

2.3 启动方式总览

# 默认:Stdio 子进程
node index.js

# HTTP/SSE 服务端
node index.js --serve 3001 [--host <ip>]

# 单次 CLI 调试
node index.js --cli <tool> '<json_args>'
node index.js --cli <tool> @args.json

优先级:--cli > --serve > 默认 Stdio。


3. 工具总览

#

工具

说明

需要 Token

1

check_tokens

验证 GitHub / GitCode Token 是否有效

token_gh + token_gt

2

get_config

读取远程 config.json,返回 games 列表与双仓库 sha

token_gh + token_gt

3

upload_cover_image

上传/更新封面(自动缩放转 WebP,双仓库同步)

token_gh + token_gt

4

release_game_asset

发布安装包到 Release(v{version} 需预先存在)

token_gh + token_gt

5

add_game_entry

向 config.json 添加游戏条目并推送双仓库

token_gh + token_gt

6

full_upload_game

一键完整上传:验证 -> 配置 -> 条目 -> 封面 -> Release

token_gh + token_gt

7

get_apk_id

解析 APK 包名生成 game_id

否(纯本地)

8

get_cover_image

下载远程封面(CDN 优先,失败回退 GitHub API)

否(通常)

9

delete_repo_file

删除 data 分支中的文件(双仓库同步)

token_gh + token_gt

10

delete_release_asset

删除 Release 中的资源文件

token_gh + token_gt


4. 工具详解

4.1 check_tokens

验证两个平台的 Token 对仓库的访问权限。

参数

字段

类型

必填

token_gh

string

token_gt

string

返回

{ "ok": true, "message": "Token 验证通过" }

4.2 get_config

读取远程 config.json,返回 games 列表摘要以及双仓库的 blob sha(供 add_game_entry 使用)。

参数

字段

类型

必填

默认

token_gh

string

token_gt

string

library

"desktop" / "mobile"

"desktop"

返回

{
  "sha_gh": "abc123...",
  "sha_gt": "def456...",
  "game_count": 42,
  "games": [
    {
      "id": "game_id",
      "name_zh": "游戏名",
      "name_en": "Game Name",
      "engine": "Unity",
      "version": "0.0.1",
      "hot_score": 100
    }
  ],
  "raw_config": { "...": "完整的 config 对象" }
}

raw_config 就是完整的 config 对象,add_game_entry 需要把它原样传回去。


4.3 upload_cover_image

上传或更新封面图片到 data 分支。自动缩放(最大 640x480,保持比例,不放大)并转为 WebP(质量 80)。双仓库同步,完成后清除 jsDelivr 缓存。

参数

字段

类型

必填

说明

token_gh

string

GitHub Token

token_gt

string

GitCode Token

library

enum

desktop / mobile

image_path

string

本地图片绝对路径(webp/png/jpg 等)

game_id

string

游戏 ID,只允许字母数字下划线

返回

{
  "ok": true,
  "file": "game_id.webp",
  "library": "desktop"
}

4.4 release_game_asset

发布安装包到 GitHub / GitCode Release。对应 tag v{version} 必须预先存在。上传前会删除同名旧资产。

参数

字段

类型

必填

默认

说明

token_gh

string

GitHub Token

token_gt

string

GitCode Token

library

enum

"desktop"

决定扩展名 desktop=.7z, mobile=.apk

version

enum

"0.0.1" / "0.0.2"

game_id

string

文件命名为 {game_id}.{ext}

file_path

string

本地安装包绝对路径

upload_target

enum

"both"

"github" / "gitcode" / "both"

返回

{
  "ok": true,
  "version": "0.0.1",
  "target": "both",
  "file": "game_id.7z"
}

4.5 add_game_entry

向 config.json 的 games 数组中追加一个条目并推送回双仓库。自动写入 publish_time(如未提供)。

参数

字段

类型

必填

说明

token_gh

string

GitHub Token

token_gt

string

GitCode Token

library

enum

desktop / mobile

sha_gh

string

config 在 GitHub 的 sha(来自 get_config

sha_gt

string

config 在 GitCode 的 sha(来自 get_config

config

object

完整 config 对象(来自 get_configraw_config

game

object

游戏数据,结构见下

game 对象:

字段

类型

必填

说明

id

string

唯一 ID,只允许字母数字下划线

name

object

{ zh, en }

author

object

{ zh, en }

engine

string

引擎名,如 Unity / GMS2

version

enum

"0.0.1" / "0.0.2"

hot_score

integer

>=0,默认 0

publish_time

string

ISO 时间,默认当前时间

返回

{
  "ok": true,
  "added_entry": {
    "id": "game_id",
    "name": { "zh": "...", "en": "..." },
    "author": { "zh": "...", "en": "..." },
    "engine": "Unity",
    "version": "0.0.1",
    "hot_score": 0,
    "publish_time": "2026-09-04T00:00:00.000Z"
  }
}

校验规则

  • id 只能包含字母、数字、下划线

  • name.zhname.en 必填

  • author.zhauthor.en 必填

  • version 只能是 0.0.10.0.2

  • hot_score 必须是 >=0 的整数

  • id 不能与已有条目重复


4.6 full_upload_game

一键完整上传,按顺序执行:验证 Token -> 获取配置 -> 添加游戏条目 -> 上传封面 -> 发布 Release。

参数

字段

类型

必填

默认

说明

token_gh

string

GitHub Token

token_gt

string

GitCode Token

library

enum

"desktop"

desktop / mobile

image_path

string

本地封面图片绝对路径

file_path

string

本地安装包绝对路径

game

object

add_game_entry 的 game 结构

upload_target

enum

"both"

Release 上传目标

返回

{
  "ok": true,
  "steps": [
    "1. Token 验证通过",
    "2. 获取配置成功 (当前游戏 N 个)",
    "3. 添加游戏条目成功: game_id",
    "4. 封面上传成功: game_id.webp",
    "5. Release 发布成功: game_id.7z @ v0.0.1"
  ],
  "game_id": "game_id"
}

4.7 get_apk_id

纯本地解析 APK,提取包名并将 . 替换为 _,生成符合 AUL 规则的 game_id。

参数

字段

类型

必填

说明

apk_path

string

本地 APK 绝对路径

返回

{
  "ok": true,
  "package_name": "com.example.mygame",
  "game_id": "com_example_mygame",
  "version_name": "1.0.0",
  "version_code": 100
}

4.8 get_cover_image

从远程下载封面 {game_id}.webp。优先走 jsDelivr CDN(无需 Token,速度快),失败时回退到 GitHub Contents API。

参数

字段

类型

必填

默认

说明

library

enum

"desktop"

desktop / mobile

game_id

string

游戏 ID

output_path

string

系统临时目录

保存到本地的绝对路径

use_cdn

boolean

true

是否优先走 CDN

token_gh

string

仅 CDN 失败回退 GitHub API 时需要

返回

{
  "ok": true,
  "game_id": "game_id",
  "library": "desktop",
  "source": "jsdelivr",
  "source_url": "https://cdn.jsdelivr.net/gh/znm2500/AU-Launcher-Repo@data/game_id.webp",
  "saved_path": "D:\\covers\\game_id.webp",
  "size_bytes": 87342
}

4.9 delete_repo_file

从 data 分支删除指定文件,双仓库同步。

参数

字段

类型

必填

说明

token_gh

string

GitHub Token

token_gt

string

GitCode Token

library

enum

desktop / mobile

file_name

string

要删除的文件名,如 game_id.webp

返回

{
  "ok": true,
  "deleted_file": "game_id.webp",
  "library": "desktop"
}

4.10 delete_release_asset

从指定 Release(tag 为 v{version})中删除资源文件。

参数

字段

类型

必填

默认

说明

token_gh

string

GitHub Token

token_gt

string

GitCode Token

library

enum

"desktop"

desktop / mobile

version

enum

"0.0.1" / "0.0.2"

file_name

string

资源文件名,如 game_id.7z

upload_target

enum

"both"

"github" / "gitcode" / "both"

返回

{
  "ok": true,
  "version": "0.0.1",
  "file": "game_id.7z",
  "target": "both"
}

5. 常见工作流

5.1 桌面端上传新游戏

full_upload_game(
  library = "desktop",
  game = { id, name:{zh,en}, author:{zh,en}, engine, version },
  image_path = "D:/pics/cover.png",
  file_path = "D:/games/game.7z",
  token_gh = ...,
  token_gt = ...
)

5.2 移动端上传新 APK

1. get_apk_id(apk_path = "D:/apk/app.apk")
   -> 拿到 { game_id, version_name }

2. full_upload_game(
     library = "mobile",
     game = { id: game_id, name:{...}, author:{...}, engine, version },
     file_path = apk_path,
     image_path = ...
   )

5.3 复用远程已有封面

1. get_cover_image(library, game_id, output_path = "D:/temp/cover.webp")
   -> { saved_path }

2. full_upload_game(image_path = saved_path, ...)

5.4 分步上传(需要中间结果时)

1. check_tokens
2. get_config -> 拿到 { sha_gh, sha_gt, raw_config }
3. add_game_entry(config = raw_config, sha_gh, sha_gt, game = ...)
4. upload_cover_image(image_path, game_id)
5. release_game_asset(version, game_id, file_path)

5.5 只读操作(免 Token)

操作

工具

查游戏列表

get_config(需 token)

下载封面

get_cover_image(通常免 token)

生成 game_id

get_apk_id(纯本地)


6. 同步工具描述到 TRAE

tools/*.jsonSERVER_METADATA.json 需拷贝到 TRAE solo agent lite 目录,TRAE 才能在 UI 侧展示工具:

源:
  SERVER_METADATA.json
  tools/*.json

目标:
  %USERPROFILE%\.trae-cn\mcps\s_AUL-Repo-Manager-<hash>\solo_agent_lite\aul_uploader\
    ├─ SERVER_METADATA.json
    └─ tools\*.json

PowerShell 一键同步:

$src = "c:\Users\Weaver\Documents\GitHub\aul-uploader-mcp"
$dst = "$env:USERPROFILE\.trae-cn\mcps\s_AUL-Repo-Manager-<hash>\solo_agent_lite\aul_uploader"
New-Item -ItemType Directory -Force -Path (Join-Path $dst "tools") | Out-Null
Copy-Item -Force (Join-Path $src "SERVER_METADATA.json") $dst
Get-ChildItem (Join-Path $src "tools") -Filter *.json | ForEach-Object {
  Copy-Item -Force $_.FullName (Join-Path $dst "tools")
}

7. 错误排查

症状

常见原因

解决

node.exe not found

配置里写死了错误的 node 路径

改成 "command": "node" 让 PATH 解析

Token 验证失败

Token 过期或无仓库权限

重新生成 Token,确保有 repo 读写权限

config 更新 409

sha 过期,仓库有新提交

重新调用 get_config 获取最新 sha

封面上传后 CDN 不刷新

jsDelivr 有缓存

等待,代码已自动调用 purge 接口

Release 上传失败

tag v{version} 不存在

先在仓库创建对应 Release

GitCode 上传失败

GitCode API 限流或 token 权限不足

检查 token 权限,稍后重试

Available Tools

8 tools
add_game_entryA

向 config.json 中添加一个游戏条目并推送回双仓库。会自动写入 publish_time。

ParametersJSON Schema
NameRequiredDescriptionDefault
gameYes游戏数据
configYes当前完整的 config 对象(通过 get_config 获取)
sha_ghYes当前 config 在 GitHub 的 sha(通过 get_config 获取)
sha_gtYes当前 config 在 GitCode 的 sha(通过 get_config 获取)
libraryYes目标游戏库desktop
token_ghYesGitHub Token
token_gtYesGitCode Token

TDQS

A3.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the behavioral burden. It discloses that this tool mutates config.json, pushes to two repositories, and automatically writes publish_time, which goes beyond the obvious 'add' side effects. It does not cover error cases or failure behavior, but the key mutation facts are clearly declared.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence that names the operation, the target, the side effect, and the special publish_time behavior. Every phrase carries useful signal with no filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with 7 required parameters, one nested object, no output schema, and no annotations, the description covers the core behavior but leaves gaps: no return value description, no duplicate/conflict handling, and no indication of what a successful invocation returns. The schema supplies paramter details, but the description alone is not fully self-sufficient for invoking this tool safely in a complex flow.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 100% parameter description coverage, so the schema already documents tokens, shas, config, library, and the game object. The description adds no new parameter-level meaning; mentioning publish_time mirrors the schema's default-current-time semantics rather than extending them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action and target: adding a game entry to config.json and pushing it back to both repositories. It also mentions the automatic publish_time write, which clarifies the tool's specific responsibility. It does not explicitly compare itself to siblings like full_upload_game, but the config-focused operation is still distinguishable from upload/asset tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives such as full_upload_game or release_game_asset. The description implies the use case (adding a game entry), but it does not state prerequisites, exclusions, or how this tool fits into the larger workflow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

check_tokensA

验证 GitHub 和 GitCode 的访问 Token 是否有效。这是所有上传操作的前置检查。

ParametersJSON Schema
NameRequiredDescriptionDefault
token_ghYesGitHub Personal Access Token
token_gtYesGitCode Access Token

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It states the core behavior (validating tokens) and that it is a pre-check, but it does not disclose return semantics, failure behavior, or whether it makes external network calls. Not contradictory, but minimal beyond the obvious.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the primary purpose and adds the key usage context. There is zero filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple with only two documented parameters, but there is no output schema and the description does not specify what the tool returns (e.g., boolean, status, error). An agent knows what it validates and when to call it, but not how to interpret the result, which is a notable gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%: both token_gh and token_gt are already fully described in the schema. The description adds no additional meaning or syntax details for the parameters, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb '验证' (validate) with clear resources: GitHub and GitCode access tokens. It also describes the tool as a pre-check for all upload operations, which clearly sets it apart from the sibling tools that perform uploads, config, or asset management.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool: before all upload operations ('所有上传操作的前置检查'). It does not name alternatives or give when-not conditions, but no sibling tool performs token validation, so the usage context is clear without exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

full_upload_gameA

一键完整上传游戏:1)验证Token 2)获取配置 3)添加游戏条目 4)上传封面 5)发布Release。最常用的完整流程。

ParametersJSON Schema
NameRequiredDescriptionDefault
gameYes游戏元数据
libraryYes目标游戏库desktop
token_ghYesGitHub Token
token_gtYesGitCode Token
file_pathYes本地游戏安装包绝对路径(.7z/.apk)
image_pathYes本地封面图片绝对路径
upload_targetNoboth

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the responsibility for behavioral disclosure, and it explicitly lists the five side-effecting steps: verifying tokens, getting config, adding a game entry, uploading a cover, and publishing a release. This makes clear that the tool performs mutating publishing actions. It does not mention partial-failure behavior, but the numbered pipeline is strong evidence of what the tool will do.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One lead sentence plus a five-step numbered list is compact and front-loaded with the core purpose and the action sequence. The phrase '最常用的完整流程' is slightly promotional but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Inputs and the high-level process are well covered, and the tool is callable from the provided information alone. However, there is no output schema and the description never states what the call returns (e.g., release URLs, success status) or how to handle partial failures in a multi-step flow—these are meaningful gaps for an orchestration tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is high at 86%, so the schema already documents most parameters, setting the baseline at 3. The description only maps high-level steps to concepts like tokens and cover upload, and adds nothing about upload_target, file_path, image_path, or nested game fields beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with '一键完整上传游戏' and enumerates the five concrete steps, making it clear this is a composite upload workflow rather than a single sibling tool. It doesn't explicitly contrast itself with siblings, but the numbered step list and '完整流程' signal its scope well.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'最常用的完整流程' implies this is the default when the user wants the whole pipeline from token verification to release publishing. It gives no explicit when-not-to-use guidance and does not name the granular sibling tools as alternatives, so usage context is implied rather than fully stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_apk_idA

解析 APK 文件的包名(package name),并将包名中的点号 '.' 替换为下划线 '_',生成符合 AUL 规则的游戏 ID。用于移动端(library=mobile)游戏上传前的 ID 自动生成。

ParametersJSON Schema
NameRequiredDescriptionDefault
apk_pathYes本地 APK 文件的绝对路径

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the behavioral burden. It discloses the read/parse nature of the operation, the dot-to-underscore transformation, and the AUL rule compliance of the generated ID. It does not discuss error conditions or non-APK inputs, but the core behavior is clearly and honestly described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences: the first states the operation and transformation, the second gives the exact usage context. Every clause earns its place, and the most important behavioral info is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter tool with no output schema, the description adequately explains the input, the processing, the output format, and the intended usage point in the upload flow. It could be slightly more complete by noting error/failure behavior, but nothing essential is missing for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%: the single parameter apk_path is already described as the absolute path to a local APK file. The description reinforces this by saying '本地 APK 文件', but adds no new parameter-level detail beyond what the schema already provides, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('解析' / parse), a specific resource (APK package name), and the exact output transformation (dots replaced with underscores to produce an AUL-compliant game ID). This cleanly distinguishes it from sibling tools like upload_cover_image or release_game_asset, which operate on different resources and outputs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when the tool is used: before mobile (library=mobile) game upload for automatic ID generation. It provides clear context but does not explicitly mention when not to use it or name alternatives, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_configA

获取指定游戏库(桌面/移动)的配置文件 config.json,返回 games 列表以及配置 sha。

ParametersJSON Schema
NameRequiredDescriptionDefault
libraryYes目标游戏库:desktop=电脑端(.7z),mobile=手机端(.apk)desktop
token_ghYesGitHub Token
token_gtYesGitCode Token

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the behavioral disclosure burden. It clearly indicates a read-style retrieval operation ('获取') and states what will be returned. It does not explicitly say it is side-effect-free or describe token failure behavior, but for a simple getter this is reasonably transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, front-loaded with the action and resource, and it explicitly names the key outputs. There is no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple, fully parameter-documented getter, the description is nearly complete: it identifies the target config file, the library dimension, and the returned fields. Since there is no output schema, a brief note on token requirements or error behavior would add completeness, but the required token parameters already signal those prerequisites.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already documents all three parameters at 100% coverage, including the library enum and token meanings. The description adds no meaningful parameter-level detail beyond restating the desktop/mobile distinction, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('获取'), resource ('config.json'), scope ('指定游戏库(桌面/移动)'), and return contents ('games 列表以及配置 sha'). This makes it clearly distinguishable from sibling tools like get_cover_image or get_apk_id without requiring schema inspection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The intended use is implied: call this when you need the config.json or games list for a desktop or mobile library. However, there is no explicit when-to-use guidance, exclusions, or any mention of alternatives among the sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_cover_imageA

从远程游戏库下载指定游戏的封面图片({game_id}.webp)。优先走 jsDelivr CDN,失败时回退到 GitHub Contents API。写入本地文件后返回路径与大小。

ParametersJSON Schema
NameRequiredDescriptionDefault
game_idYes游戏 ID(与封面文件名 {game_id}.webp 对应)
libraryYes目标游戏库desktop
use_cdnNo是否优先使用 jsDelivr CDN 下载(更快,无需 Token)
token_ghNoGitHub Token,仅在 CDN 失败回退到 GitHub API 时才需要;一般可留空。
output_pathNo可选,保存到的本地绝对路径。未提供时写入系统临时目录并返回路径。

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full disclosure burden and does meaningful work: it reveals the CDN-first download strategy with fallback to the GitHub Contents API, and the write-to-local-file-then-return behavior. It stops short of stating what happens when both sources fail, but the disclosed flow is substantive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three terse sentences with no filler: purpose, download strategy, and return value each occupy one sentence. The most important fact (what the tool does) is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter tool with no annotations and no output schema, the description covers the core contract: source, fallback order, write destination, and return payload (path and size). The only notable gap is error behavior when both CDN and GitHub API fail, which neither the schema nor the description specifies.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline applies — every parameter (game_id, library, use_cdn, token_gh, output_path) is already described in the schema. The description reinforces the {game_id}.webp naming link to game_id and explains why token_gh is conditional, but adds little beyond what the schema's parameter descriptions already state.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: downloading the cover image for a given game, with the exact file pattern {game_id}.webp. It also names the deliverable (local file plus returned path and size), which cleanly distinguishes it from the sibling upload_cover_image.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool: whenever a cover image needs to be fetched from the remote library. However, it never names an alternative or states when not to use it, so the agent must infer selection from the purpose alone rather than from explicit routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

release_game_assetB

发布游戏安装包到 GitHub/GitCode Release。需要对应的 Release tag(v{version})预先存在。

ParametersJSON Schema
NameRequiredDescriptionDefault
game_idYes游戏 ID,资源文件命名为 {game_id}.{ext}
libraryYes目标游戏库(决定文件扩展名 .7z/.apk)desktop
versionYes游戏版本号,将使用 Release tag v{version}
token_ghYesGitHub Token
token_gtYesGitCode Token
file_pathYes本地安装包的绝对路径(.7z 或 .apk)
upload_targetNo上传目标平台both

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It does disclose the tag precondition, but it never states that the file will be uploaded/attached to the release, whether existing assets are overwritten, what token scopes are required, or what success/failure looks like. For an externally mutating tool this is a significant transparency gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two short sentences with the purpose front-loaded and the critical prerequisite immediately after. There is no redundancy or filler; every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The schema fully documents all seven parameters, so invocation-level information is largely covered. However, with no annotations and no output schema, the description omits expected return behavior, overwrite semantics, token permission expectations, and selection guidance relative to full_upload_game. It is adequate but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds no additional parameter meaning beyond the schema; the tag mapping, default upload target, and extension rules are already documented in the input schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear action and target: publish the game installation package to GitHub/GitCode Release. It also adds the key precondition that the Release tag v{version} must already exist. It does not explicitly distinguish this step from the sibling full_upload_game, so it falls short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives an explicit precondition: the corresponding Release tag must already exist. This implies the tool should not be used when the tag has not been created, and it suggests the tag must be prepared beforehand. However, no alternatives are named, and it does not compare against full_upload_game or other upload-related tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

upload_cover_imageA

上传或更新游戏封面图片到 data 分支。自动缩放(最大 640x480)并转换为 WebP 格式。图片在两个仓库同步。

ParametersJSON Schema
NameRequiredDescriptionDefault
game_idYes游戏唯一 ID(只允许字母数字下划线)
libraryYes目标游戏库desktop
token_ghYesGitHub Token
token_gtYesGitCode Token
image_pathYes本地图片文件的绝对路径(支持 webp/png/jpg 等格式)

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does well by disclosing that images are automatically resized to a 640x480 maximum, converted to WebP, and synchronized across two repositories. This goes beyond a simple 'upload cover' statement and gives the agent concrete expectations about side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with no filler: the first states the action and target, the second lists the transformations, and the third mentions the sync behavior. Every sentence adds distinct value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a moderately simple 5-parameter upload tool, the description covers the core behavior, transformations, target branch, and sync. It does not describe the return value or failure modes, but with no output schema and no annotations, those are notable but not critical gaps given the clarity of the operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description does not add much parameter-level meaning beyond the schema, though the mention of WebP conversion and two-repo sync helps explain why image_path and the two tokens are needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific verb ('上传或更新'), resource ('游戏封面图片'), and target ('data 分支'), distinguishing it from sibling read-only tool get_cover_image and broader tool full_upload_game. It also adds key transformation details that define what the tool uniquely does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool: when uploading or updating a game cover image rather than retrieving it. However, it does not explicitly name alternatives or state when not to use it, such as when a full game release is needed (full_upload_game) or when only reading the cover is needed (get_cover_image).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 8 tool updatesv1.0.0
    • First observedadd_game_entry
    • First observedcheck_tokens
    • First observedfull_upload_game
    • First observedget_apk_id
    • First observedget_config
    • First observedget_cover_image
    • First observedrelease_game_asset
    • First observedupload_cover_image

TDQS

A3.8/5.0

Scored across 8 tools

Disambiguation4/5

Each tool covers a distinct resource or action: token validation, config fetching, cover upload/download, release asset publishing, entry addition, APK ID generation, and the composite full upload flow. The only mild ambiguity is that full_upload_game overlaps with the individual upload steps, but its description clearly positions it as the complete one-click alternative.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern like check_tokens, get_config, add_game_entry, upload_cover_image, and get_apk_id. The main deviation is full_upload_game, which does not start with the verb, but the overall naming is still predictable and readable.

Tool Count5/5

With 8 tools, the set is well scoped for an upload pipeline: it covers authentication, config retrieval, APK parsing, cover image handling, asset release, entry creation, and a composite workflow. Each tool earns its place without the set feeling bloated or too sparse.

Completeness4/5

The core upload lifecycle is fully supported: token validation, config fetching, adding entries, uploading covers, publishing release assets, and the full end-to-end flow. Minor gaps exist, such as the lack of update/delete operations for game entries and no release tag creation, but these are mostly outside the primary uploader scope and can be worked around.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables MCP-compatible agents to control an Android device over the network via ADB, providing tools for shell commands, screen capture, UI inspection, file operations, and input simulation.
    5 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that wraps Android ADB functionality into AI assistant tools, enabling device management, shell execution, file operations, app management, media capture, and log analysis via natural language.
    9 npm
    2
    MIT