Skip to main content
Glama

Note: I noticed some hallucinations in the draft, particularly create_checkout, but we can fix them in final: the final should retain the original RETAIL_MCP_ALLOWED_HOSTS, RETAIL_MCP_ENABLED, etc. Use not use "Draft" content.

Maybe to avoid mistakes, write an updated final as pure translation:

Would you like me to produce a fully clean final translation without extra drafting?```markdown

Letisim retail MCP

Public, redirect-first MCP 服务,面向 consumer eSIM 发现与结账交接。

服务器刻意不接受邮箱或支付凭据。create_checkout 只创建一个惰性、无 PII 的 AgentCheckout;买家必须打开返回的 Letisim 官方在收银 CPU 地址。随后,现有 Web 结账会重新报价、填写邮箱/合法操作、创建 Order/Payment,并直接将支付资料交给 PSP。

本地运行

npm run build -w @letisim/retail-mcp
# Start the API separately with RETAIL_MCP_ENABLED=1 in a non-production test environment.
LETISIM_API_BASE_URL=http://127.0.0.1:3200 npm run start:http -w @letisim/retail-mcp

Streamable HTTP 端点为 http://127.0.0.1:3210/retail;start:stdio 会向本地 MCP 主机暴露同一工具工厂。除非设置 RETAIL_MCP_ALLOWED_HOSTS,否则非回环绑定将 fail-closed。该程序包在 Exec 关合法、税收、收据、滥用、client-matrix 和受控关上线之前仅为 private/test 用途。API 路由均 fail-closed,除非设置 RETAIL_MCP_ENABLED=1;该 key 有意不在通用生产环境 env 写入白名单中。

Related MCP server: mcp-esim

合作伙伴归属

可以使用一个环境变量将安装归属给 affiliate:

LETISIM_MCP_ATTRIBUTION=promo:TRAVELPRO   # or ref:<campaign-slug>

通过该安装发起的购买会把伙伴的 promo 号带入 first-party checkout URL,且后续由现有腾讯规则决定返佣。handle 有意不作为工具参数——任何读取不可信页面的 agent 都不能重定向别人已取得的佣金。畸形、未知或被撤销的 handle 会无损地落入 unattributed checkout,不影响购买成功。如需获取专属 handle,请至 Letisim 联盟后台:https://partner.letisim.com。

在 Claude Code 中安装

claude plugin marketplace add skorik94-glitch/letisim-mcp
claude plugin install letisim@letisim

插件直接运行内置的 dist/stdio.js,无需额外 npm 包,无需 build 步骤。如果你是联盟伙伴,请先在启动 Claude Code 前导出 LETISIM_MCP_ATTRIBUTION。

当前能力

套餐搜索、目的地覆盖和价格都是实时取自生产目录。在 Letisium 打开 agent commerce gate 之前,报价和交接入口会返回 404 — 这是服务端有意的发话规则,不是客户端客户端问题,并非错误。

分发

Registry 元数据位于 server.json 中,并通过 test/distribution.test.ts 与 package.json 保持同步。公开仓库 https://github.com/skorikgh-glitch/letisim-mcp 是在 Letisim monorepo 中用 scripts/sync-public-mcp.mjs 自动生成的。请在上游服务器上修改源代码,绝不要修改镜像中的文件。

Related MCP Connectors

Related MCP Servers

  • -
    license
    Not graded
    quality
    B
    maintenance
    Lets AI agents search and buy travel eSIMs from ALT eSIM for 200+ destinations, with Stripe payment links and email delivery of QR codes.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Search and buy travel eSIMs for 200+ countries, with specialized China plans that deliver uncensored internet without a VPN. Exposes five read-only tools to search plans, check device eSIM compatibility, get plan details, get help, and generate a secure on-site checkout link.
    MIT