# Xap

> Xap is an open-source MCP server. Agent settlement protocol — discover, negotiate, settle, and verify with XAP. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/agentra-commerce/xap-sdk/tree/HEAD/npm
- **MCP Registry name:** io.github.omoshola-o/xap
- **Listing updated:** 2026-11-13

## About

Agent settlement protocol — discover, negotiate, settle, and verify with XAP.

## Install

### Claude Code (Terminal)

```sh
claude mcp add xap --env XAP_API_KEY='<XAP_API_KEY>' -- npx -y @agenticamem/xap-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "xap": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticamem/xap-mcp"
      ],
      "env": {
        "XAP_API_KEY": "<XAP_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "xap": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticamem/xap-mcp"
      ],
      "env": {
        "XAP_API_KEY": "<XAP_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "xap": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agenticamem/xap-mcp"
      ],
      "env": {
        "XAP_API_KEY": "<XAP_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "xap": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticamem/xap-mcp"
      ],
      "env": {
        "XAP_API_KEY": "<XAP_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "xap": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticamem/xap-mcp"
      ],
      "env": {
        "XAP_API_KEY": "<XAP_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Xap free?

Yes. Xap is open source, so you can use and self-host it for free.

### How do I add Xap to Claude Code?

Run this command in your terminal: claude mcp add xap --env XAP_API_KEY='<XAP_API_KEY>' -- npx -y @agenticamem/xap-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/xap
