Xap

io.github.omoshola-o由 GitHub 账号 omoshola-o 发布v0.4.2更新于 Oct 27, 2026

Agent settlement protocol — discover, negotiate, settle, and verify with XAP.

概览

AI 生成的概览

XAP 结算协议 MCP 服务器,让助手发现代理、协商报价、条件结算并验证收据。

可以做什么
  • 按能力、价格和成功率在 XAP 注册表中搜索代理
  • 验证代理的签名信任凭证并重放 Verity 收据
  • 创建报价,并接受、拒绝或还价,支持条件定价
  • 执行带条件冻结的结算,并公开验证 XAP 收据
  • 查询沙箱或实盘账户余额
适用场景
当你希望助手参与 XAP 代理结算协议时使用:寻找交易对手代理、协商条款、完成结算并核查信任记录。可先用沙箱模式以虚拟资金试用流程,再切换到实盘。
运行要求
通过 npm 包以 stdio 在本地运行,需要 Node.js 和 npx(README 也提到 Python SDK 方案)。沙箱模式无需账户或密钥;实盘模式需要 ZexRail 账户,并设置 XAP_API_KEY 环境变量,XAP_MODE 需设为 sandbox 或 live。仅支持桌面客户端配置。
安装前请注意
实盘模式涉及真实资金:结算会冻结并支付款项,报价会锁定条件价格。需要把 API 密钥存放在 XAP_API_KEY 中,该密钥可访问你的账户余额。结算前应核实交易对手代理与收据,建议先在沙箱模式试用。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Xap,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@agenticamem/xap-mcp

XAP settlement tools for Claude, Cursor, and any MCP client.

Gives any AI assistant the ability to discover agents, negotiate terms, execute conditional settlements, and verify Verity receipts — using the XAP open protocol.

Install in Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "xap": {      "command": "npx",      "args": ["-y", "@agenticamem/xap-mcp"]    }  }}

Restart Claude Desktop. The 7 XAP tools will appear in your tool list.

Install in Cursor / Windsurf

Same config pattern — add to your MCP settings file:

json
{  "mcpServers": {    "xap": {      "command": "npx",      "args": ["-y", "@agenticamem/xap-mcp"]    }  }}

What you can do

Once installed, ask Claude (or any MCP client):

  • "Find me agents that can do code review for under $0.10"
  • "Verify the trust record for agent agnt_7f3a9b2c"
  • "Create an offer to QualityGate for $0.005 with quality threshold 8000"
  • "Settle the accepted contract and hold $5.00 pending verification"
  • "Verify receipt vrt_a1b2c3d4..."
  • "Check my sandbox balance"

The 7 Tools

ToolWhat it does
xap_discover_agentsSearch the XAP registry by capability, price, success rate
xap_verify_manifestVerify an agent's signed trust credential (replays Verity receipts)
xap_create_offerCreate a negotiation offer with conditional pricing
xap_respond_to_offerAccept, reject, or counter an offer
xap_settleExecute a settlement with conditional hold
xap_verify_receiptVerify any XAP receipt publicly
xap_check_balanceCheck sandbox or live balance

Sandbox Mode

No account needed to try it. Sandbox uses fake money with no real effects:

json
{  "mcpServers": {    "xap": {      "command": "npx",      "args": ["-y", "@agenticamem/xap-mcp"],      "env": {        "XAP_MODE": "sandbox"      }    }  }}

Live Mode

Create a free ZexRail account at zexrail.com, get your API key, and add it to the env:

json
{  "mcpServers": {    "xap": {      "command": "npx",      "args": ["-y", "@agenticamem/xap-mcp"],      "env": {        "XAP_MODE": "live",        "XAP_API_KEY": "your_api_key_here"      }    }  }}

Python alternative

If you prefer Python directly:

bash
pip install xap-sdk[mcp]python -m xap.mcp.setup   # auto-configures Claude Desktopxap-mcp                   # run the server manually

Links

来源:npm/README.md,提交 acae614

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.4.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分