# A-Pay Protocol

> A-Pay Protocol is an open-source MCP server. Universal HTTP 402 Micropayment Protocol & Autonomous Economic Settlement Engine for AI Agents. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/neuralaisofficial-lang/a_pay
- **MCP Registry name:** io.github.neuralaisofficial-lang/apay
- **Listing updated:** 2026-11-13

## About

Universal HTTP 402 Micropayment Protocol & Autonomous Economic Settlement Engine for AI Agents

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http apay https://apay-network.vercel.app/api/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://apay-network.vercel.app/api/mcp
```

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

```json
{
  "mcpServers": {
    "apay": {
      "url": "https://apay-network.vercel.app/api/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "apay": {
      "type": "http",
      "url": "https://apay-network.vercel.app/api/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "apay": {
      "serverUrl": "https://apay-network.vercel.app/api/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "apay": {
      "type": "http",
      "url": "https://apay-network.vercel.app/api/mcp"
    }
  }
}
```

## FAQ

### Is A-Pay Protocol free?

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

### How do I add A-Pay Protocol to Claude Code?

Run this command in your terminal: claude mcp add --transport http apay https://apay-network.vercel.app/api/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/a-pay-protocol
