Xaps MCP server
{
"mcpServers": {
"apmc1-xaps": {
"command": "uvx",
"args": [
"xaps-sdk"
],
"env": {
"XAPS_AGENT_KEY": "<xaps_agent_key>",
"XAPS_API_URL": "https://...",
"XAPS_ORACLE_URL": "https://..."
}
}
}
}{
"mcpServers": {
"apmc1-xaps": {
"command": "uvx",
"args": [
"xaps-sdk"
],
"env": {
"XAPS_AGENT_KEY": "<xaps_agent_key>",
"XAPS_API_URL": "https://...",
"XAPS_ORACLE_URL": "https://..."
}
}
}
}{
"mcpServers": {
"apmc1-xaps": {
"command": "uvx",
"args": [
"xaps-sdk"
],
"env": {
"XAPS_AGENT_KEY": "<xaps_agent_key>",
"XAPS_API_URL": "https://...",
"XAPS_ORACLE_URL": "https://..."
}
}
}
}{
"servers": {
"apmc1-xaps": {
"command": "uvx",
"args": [
"xaps-sdk"
],
"env": {
"XAPS_AGENT_KEY": "${input:xaps_agent_key}",
"XAPS_API_URL": "${input:xaps_api_url}",
"XAPS_ORACLE_URL": "${input:xaps_oracle_url}"
}
}
},
"inputs": [
{
"id": "xaps_agent_key",
"type": "promptString",
"description": "Xaps agent key",
"password": true
},
{
"id": "xaps_api_url",
"type": "promptString",
"description": "Xaps api url",
"password": true
},
{
"id": "xaps_oracle_url",
"type": "promptString",
"description": "Xaps oracle url",
"password": true
}
]
}{
"mcpServers": {
"apmc1-xaps": {
"command": "uvx",
"args": [
"xaps-sdk"
],
"env": {
"XAPS_AGENT_KEY": "<xaps_agent_key>",
"XAPS_API_URL": "https://...",
"XAPS_ORACLE_URL": "https://..."
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall uvx xaps-sdkversion 0.1.2
What it does
Xaps provides pre-execution audit for autonomous agents before financial or smart contract actions. An agent calls Xaps with action details, receives an independent dual-agent review of intent and logic, and gets a receipt indicating approval or rejection before proceeding. It is for developers building autonomous AI agents that interact with blockchain or financial systems.
- Before executing a smart contract, call xaps_audit with the contract address and amount to get independent verification of the action's safety.
- Block unsafe or suspicious transactions by raising XapsRejectedError when an audit returns REJECTED status, preventing irreversible financial actions.
- Query structured data (GitHub, HTTP) through a subsidized sink after receiving a Tollbooth audit receipt, bundling security verification with data access.
Tools this server exposes
| Tool | Does |
|---|---|
| xaps_audit | Audit a high-stakes action (smart contract execution, transfer, deposit) and receive approval or rejection with reasoning before proceeding. |
| xaps_audit_then_query | Perform a single audit then query the subsidized Sink for structured data (GitHub, HTTP) in one operation. |
| xaps_sink_query | Query the Sink for structured external data using an existing Tollbooth receipt. |
| xaps_sink_health | Check the health status of the Sink service. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.