Repository navigation
Releases
v1.0
hltv-mcp v1.0
让 AI 直接查询 HLTV.org 的 Counter-Strike 赛事数据
Let AI query HLTV.org for Counter-Strike match data
📦 hltv-mcp-termux-offline.tar.gz
Android / Termux 上的零编译安装包。解压后一条命令装完,全程不在手机上编译任何东西。
A zero-compilation offline install bundle for Android / Termux. One command after extracting — nothing is ever built on the phone.
tar xzf hltv-mcp-termux-offline.tar.gz
cd hltv-mcp-termux-offline
bash install.sh包内已含全部 29 个 wheel(含 Android ARM64 版 pydantic_core 与构建后端 setuptools),安装时以 --no-index 强制只读本地文件,完全不访问 PyPI。
Contains all 29 wheels (including the Android ARM64 build of pydantic_core and the setuptools build backend); installation runs with --no-index, so pip reads only local files and never touches PyPI.
| 项 / Item | 值 / Value |
|---|---|
| 目标平台 / Target | Android ARM64 (aarch64), Termux |
| Python | 3.14.x (cp314) |
| 体积 / Size | ~5.0 MB |
| 需编译的包 / Packages needing compilation | 0 |
校验 / Verify:
3a7f99ecf5b12b5c7cb04cac474385ce71b2d0a12b16570d5d321d9df6cef6b0 hltv-mcp-termux-offline.tar.gz
sha256sum -c SHA256SUMS # 校验 wheels 目录
sha256sum hltv-mcp-termux-offline.tar.gz构建采用可复现方式(固定时间戳、属主与排序),同一输入两次构建产出字节一致;构建脚本在仓库 termux/build-bundle.sh。
Reproducible build (fixed timestamps, ownership and ordering) — identical input yields byte-identical output. The build script lives at termux/build-bundle.sh.
⚠️ 本次修订 / This revision
首版离线包的安装脚本缺少一步,在干净环境必然失败(实机测试发现,见 079f7d1)。本资产已替换,校验值以上方为准。
The first published bundle had an installer bug that made it fail on any clean environment (found by on-device testing, see 079f7d1). This asset has been replaced; use the checksum above.
修复 / Fixes:
pip install -e .需要构建后端setuptools,而 Python 3.12+ 的 venv 不再自带它,安装脚本现在会先从本地 wheel 装上。
pip install -e .needs thesetuptoolsbuild backend, which Python 3.12+ no longer includes in a fresh venv — the installer now installs it from the local wheelhouse first.- 报错文案不再指向尚未发布的 PyPI 包 / error messages no longer point at a not-yet-published PyPI package
scripts/health.py缺可选依赖时给出可读提示而非 traceback /scripts/health.pynow explains the missing optional dependency instead of dumping a tracebackinstall.sh对pkg update的镜像抖动容错,失败自动刷新索引重试 /install.shtolerates flaky Termux mirror probing and retries- 生成的 MCP 配置默认带
HLTV_CHALLENGE_WAIT=120/ the generated MCP config now setsHLTV_CHALLENGE_WAIT=120
完整说明见 README · See the README.
⚠️ 注意 / Caveats
- 安装脚本未在真机 Termux 上实测过(本轮修复的验证在 x86 Linux 上完成,严格复现了 setuptools 缺失的条件)。
The install script has not been run on a real Termux device (this revision was verified on x86 Linux, faithfully reproducing the missing-setuptools condition). - wheel 绑定 Termux 的 Python 版本,主版本升级后需重新构建。
Wheels are bound to Termux's Python version; rebuild after a major upgrade. - 仅适用于 Android ARM64。 / ARM64 only.