Xap

io.github.omoshola-oPublished by GitHub account omoshola-ov0.4.2Updated Oct 27, 2026

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

VerifiedSTDIODesktop onlyFinanceBusiness & CommerceAI & ML

Overview

AI-generated overview

XAP settlement MCP server that lets an assistant discover agents, negotiate offers, settle conditionally and verify receipts.

What you can do
  • Discover agents in the XAP registry by capability, price and success rate
  • Verify an agent's signed trust credential and replay Verity receipts
  • Create, accept, reject or counter negotiation offers with conditional pricing
  • Execute settlements with a conditional hold and verify XAP receipts publicly
  • Check sandbox or live account balance
When to use it
Use it when you want an assistant to take part in the XAP agent settlement protocol: finding counterparty agents, negotiating terms, settling payments and checking trust records. Sandbox mode lets you try the flow with fake money before going live.
Requirements
Runs locally over stdio via the npm package, so Node.js and npx are needed (a Python SDK alternative is also mentioned). Sandbox mode needs no account or key; live mode requires a ZexRail account and the XAP_API_KEY environment variable, with XAP_MODE set to sandbox or live. Desktop client configuration only.
Before you install
Live mode moves real money: settlements place holds and execute payments, and offers commit conditional pricing. It requires an API key stored in XAP_API_KEY, which grants access to your account balance. Verify counterparty agents and receipts before settling, and start in sandbox mode.

Installation

In SourceWeft

  1. Open Xap in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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

Source: npm/README.md at commit acae614

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.4.2LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts