
XAPS MCP Server
io.github.APMC1Published by GitHub account APMC1v0.1.2Updated Nov 10, 2026
Pre-execution audit for autonomous agents. Independent receipt before irreversible actions.
Overview
XAPS MCP server lets an assistant request an independent dual-agent audit and receipt before executing high-stakes financial or smart-contract actions.
- What you can do
- Request a pre-execution audit of an action, contract address and amount, returning an APPROVED or REJECTED verdict with reasoning and remaining balance
- Run the same audit asynchronously for asyncio-based agents
- Audit and then query a subsidized Sink for structured GitHub or HTTP data in one call
- Query the Sink directly with an existing receipt and check Sink health
- When to use it
- Use it when an autonomous agent is about to send a transaction, approve a token, deposit funds or otherwise take an irreversible financial action and you want an independent check of intent and logic before it proceeds.
- Requirements
- Runs as a local process installed from the xaps-sdk PyPI package, which exposes the xaps-mcp command; needs Python and a prepaid XAPS agent billing key supplied via the XAPS_AGENT_KEY environment variable; XAPS_API_URL optionally overrides the API base URL; network access to the XAPS API.
Installation
In SourceWeft
- Open XAPS MCP Server in the dashboard and add it to a workspace.
- 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
Xaps SDK
The Cognitive Circuit Breaker for Autonomous Agents
Xaps is an economic security layer for autonomous AI agents. Before executing a smart contract, transfer, or financial action, your agent calls Xaps for an independent dual-agent audit. Standard Web3 tools verify signatures — Xaps verifies intent and logic.
Install
Or install from this repository:
Quick Start
Async
MCP Integration
Use the XAPS MCP server to audit high-stakes actions from Claude Desktop, Cursor, or any MCP host. See docs/mcp-host-integration.md for full setup.
Start Using xaps_audit in 60 Seconds
-
Install (exposes the
xaps-mcpconsole command): -
Set your agent key in the environment (recommended — avoid storing secrets in config files):
-
Add to Claude Desktop config (macOS:
~/Library/Application Support/Claude/claude_desktop_config.json):For local dev from a git clone, use
python /path/to/xaps_mcp_server.pywithXAPS_MCP_DEV=1instead.Full example: examples/mcp_claude_desktop_config.json
-
In your agent prompt:
Before any
send_transaction,approve, ordepositcall: invokexaps_auditwithaction,contract_address, andamount.
Agent rule templates: examples/.agentrc
Configuration
API Reference
XapsClient(api_key=None, base_url=..., timeout=10.0)
Create a client. Raises ValueError if no API key is provided.
client.audit(action, contract_address, amount, payload_override=None)
Synchronous audit. Returns receipt dict:
await client.audit_async(...)
Async variant for agents running on asyncio.
Sink adoption magnet — audit_then_query / query_sink
After a Tollbooth receipt, agents can call the subsidized Sink for real structured data (GitHub / HTTP). That is the integration carrot: rails → utility.
Env: XAPS_ORACLE_URL (sink base), XAPS_API_URL + XAPS_AGENT_KEY (tollbooth).
MCP: xaps_audit_then_query, xaps_sink_query, xaps_sink_health.
Exceptions
Billing
- $0.01 USD per successful audit, deducted from prepaid balance
- Fund your agent key at xaps.network
Development
The sovereign node (
xap-sovereign-node) is private. This public repo contains only the SDK.
Security
Your Xaps Agent Key is a billing identifier, not a cryptographic secret. Do not commit it to version control.
License
MIT — see LICENSE.
Source: README.md at commit 79cc3b2
Tools
0Version history
1- v0.1.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