XAPS MCP Server
io.github.APMC1/xaps·v0.1.2·2 starsPre-execution audit for autonomous agents. Independent receipt before irreversible actions.
2 stars22 downloads/wk
Reviews
Write oneNobody has reviewed XAPS MCP Server yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
XAPS MCP Server tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 9 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How XAPS MCP Server compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 65% of 48,255 servers
- GitHub stars
- 2
- more than 75% of 28,688 servers
- Downloads a week
- 22
- more than 8% of 12,191 servers with a package
Install XAPS MCP Server in Claude Code, Cursor or VS Code
claude mcp add xaps -- uvx xaps-sdk
What the publisher says
From the XAPS MCP Server repository's README, as published. We do not edit it. Read it on GitHub
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.
<!-- mcp-name: io.github.APMC1/xaps -->
Install
pip install xaps-sdkOr install from this repository:
pip install "xaps-sdk @ git+https://github.com/APMC1/xaps-sdk.git@v0.1.3"Quick Start
from xaps import XapsClient, XapsRejectedError
client = XapsClient(api_key="your_agent_key")
receipt = client.audit(
action="execute_smart_contract",
contract_address="0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
amount=1000.0,
)
audit = receipt["audit"]
if audit["status"] == "REJECTED":
raise XapsRejectedError(audit["beta_attack"], receipt=receipt)
print(f"Approved: {audit['alpha_defense']}")
print(f"Balance remaining: ${receipt['remaining_balance']:.2f}")Async
from xaps import XapsClient
async with XapsClient(api_key="your_agent_key") as client:
receipt = await client.audit_async(
action="execute_smart_contract",
contract_address="0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
amount=1000.0,
)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-mcp console command):
pip install xaps-sdk- Set your agent key in the environment (recommended — avoid storing secrets in config files):
export XAPS_AGENT_KEY="your_agent_key"- Add to Claude Desktop config (macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json):
{
"mcpServers": {
"xaps-audit": {
"command": "xaps-mcp"
}
}
}For local dev from a git clone, use python /path/to/xapsmcpserver.py with XAPSMCPDEV=1 instead.
Full example: examples/mcpclaudedesktop_config.json
- In your agent prompt:
Before any sendtransaction, approve, or deposit call: invoke xapsaudit with action, contract_address, and amount.
Agent rule templates: examples/.agentrc
Configuration
# Or pass explicitly
client = XapsClient(api_key="...", base_url="https://api.xaps.network")API Reference
XapsClient(apikey=None, baseurl=..., timeout=10.0)
Create a client. Raises ValueError if no API key is provided.
client.audit(action, contractaddress, amount, payloadoverride=None)
Synchronous audit. Returns receipt dict:
{
"xaps_receipt": true,
"agent_key": "...",
"remaining_balance": 9.99,
"audit": {
"status": "APPROVED",
"alpha_defense": "...",
"beta_attack": "..."
}
}await client.audit_async(...)
Async variant for agents running on asyncio.
Sink adoption magnet — auditthenquery / 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.
from xaps import XapsClient
with XapsClient() as client:
# One shot: fast/swarm audit for query_oracle, then sink
result = client.audit_then_query(
"github repo anthropics/anthropic-sdk-python",
oracle_url="http://localhost:8766", # or XAPS_ORACLE_URL
)
print(result["sink"]["data"])Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
XAPS MCP Server: common questions
- Is XAPS MCP Server safe?
- Mostly: it is graded B (83/100). Read the XAPS MCP Server safety report
- How do I install XAPS MCP Server?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does XAPS MCP Server need an API key?
- Yes. The registry entry asks for
XAPS_AGENT_KEY. - Is XAPS MCP Server maintained?
- The last commit was 48 days ago (2026-09-17). The latest release is v0.1.2.
- How does XAPS MCP Server compare with other MCP servers?
- safety score 83/100 (higher than 65% of 48,255 servers); github stars 2 (more than 75% of 28,688 servers); downloads a week 22 (more than 8% of 12,191 servers with a package). Full comparison.