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 分