Zach lingxing mcp

From zach22-1999/lingxing-mcp · View interactive version

Zach lingxing mcp is an AI agent skill from the GitHub repository zach22-1999/lingxing-mcp. 负责配置、排查和使用领星 ERP OpenAPI 的 MCP 服务,支持本地 stdio 与团队 HTTP 两种形态。 使用时机:需要把领星接口接成 MCP、检查工具是否可用、或排查 Bearer/鉴权/配置问题。 触发词:/zach-lingxing-mcp

How to use this skill

Skill file

本机直连停用 / 固定出口模式可用:领星 OpenAPI 因 IP 白名单限制,本地环境无法直接访问。

如已部署固定出口网关并将 EIP 加入白名单,可继续使用本 Skill。

未部署前,需要亚马逊经营数据时请优先改用 Amazon SP-API(MCP: amazon-api)。

本公开版 Skill 是自包含的,不依赖任何私有工作区文件或内部协议。

领星 MCP 运维 Skill

核心用途

关键位置

环境变量

常用命令

python3 mcp-servers/lingxing-openapi/server.py
python3 mcp-servers/lingxing-openapi/http_server.py --host 127.0.0.1 --port 8099
python3 skills/zach-lingxing-openapi-client/scripts/smoke_check.py
bash mcp-servers/lingxing-openapi/deploy/deploy_gateway_via_ssh.sh --help
bash mcp-servers/lingxing-openapi/deploy/install_tailscale_via_ssh.sh --help
bash mcp-servers/lingxing-openapi/deploy/install_tailscale_on_ubuntu.sh --help
bash mcp-servers/lingxing-openapi/deploy/open_ssh_tunnel.sh --help
bash mcp-servers/lingxing-openapi/deploy/install_gateway_on_ubuntu.sh --help

工具清单

排错原则

  1. 先跑 lingxing_health_check 看环境变量和 token
  2. 再跑 lingxing_smoke_check 看 SellerLists -> StoreSales -> Orderlists -> promotionListingList
  3. 如果是 403,优先回到领星后台检查授权有效期、接口权限和 IP 白名单
  4. 如果是 HTTP 模式报 missing_or_invalid_bearer,只看 Bearer Token,不要先怀疑领星接口

风险与边界

上游 / 下游

完成后

报告完成状态:DONE / DONE_WITH_CONCERNS / BLOCKED / NEEDS_CONTEXT

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.