XAPS MCP Server

v0.1.2
io.github.APMC1/xaps Checked 2 days ago Published 5 months ago

Pre-execution audit for autonomous agents.

Values you need

VariableWhat it is
XAPS_AGENT_KEYrequired secret Agent billing key for the XAPS Tollbooth API
XAPS_API_URLoptional 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-mcp
Add 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

  1. Ask the user for: XAPS_AGENT_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: xaps_audit, xaps_health, xaps_verify_receipt.
  5. 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