XAPS MCP Server
v0.1.2Pre-execution audit for autonomous agents.
Values you need
| Variable | What it is | |
|---|---|---|
XAPS_AGENT_KEY | required secret | Agent billing key for the XAPS Tollbooth API |
XAPS_API_URL | optional | XAPS API base URL Default: https://api.xaps.network |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add xaps -e 'XAPS_AGENT_KEY=<XAPS_AGENT_KEY>' -- uvx --from xaps-sdk==0.1.2 xaps-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"xaps": {
"args": [
"--from",
"xaps-sdk==0.1.2",
"xaps-mcp"
],
"command": "uvx",
"env": {
"XAPS_AGENT_KEY": "<XAPS_AGENT_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"xaps": {
"args": [
"--from",
"xaps-sdk==0.1.2",
"xaps-mcp"
],
"command": "uvx",
"env": {
"XAPS_AGENT_KEY": "<XAPS_AGENT_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "XAPS_AGENT_KEY",
"id": "xaps-agent-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"xaps": {
"args": [
"--from",
"xaps-sdk==0.1.2",
"xaps-mcp"
],
"command": "uvx",
"env": {
"XAPS_AGENT_KEY": "${input:xaps-agent-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.xaps]
command = "uvx"
args = ["--from", "xaps-sdk==0.1.2", "xaps-mcp"]
env = { "XAPS_AGENT_KEY" = "<XAPS_AGENT_KEY>" }For AI agents
- Ask the user for: XAPS_AGENT_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: xaps_audit, xaps_health, xaps_verify_receipt.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json