# AgentPay

> AgentPay is a paid MCP server for finance and payments. Pay-per-call gateway that lets agents use third-party APIs from one prepaid wallet. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API
- **Website:** https://myuiaf.com/agentpay
- **MCP Registry name:** com.myuiaf/agentpay
- **Categories:** finance and payments, developer tools
- **Listing updated:** 2026-11-14

## About

AgentPay sits between an agent and a paid API. The agent sends its request to agentpay.myuiaf.com with its own key and an Idempotency-Key; AgentPay reserves the price, adds the destination API's key on the way out, and charges only if the API answers with a 2xx inside the route's time limit. Errors, timeouts and unreachable APIs cost nothing, and a call that runs past its limit is cut off with a 504.

Destination API keys are stored encrypted with AES-256-GCM and never reach the agent, and the agent's own key is not forwarded. Retrying a completed call with the same Idempotency-Key returns the original response without a second charge for 24 hours. GET /v1/routes lists available routes with their prices, and each call is logged with status, response code and duration.

Flat routes cost $0.01 per successful call; pass-through routes cost the API's own price plus 5%, rounded up to the cent. The wallet is shared with Freshness Validator and AgentCache. Routes are added by hand, and API owners can ask to be listed.

## Features

- **Charged on success only:** Price is reserved first and charged only for a 2xx within the time limit.
- **Safe retries:** Same Idempotency-Key returns the original response with no second charge for 24 hours.
- **Keys held server-side:** Destination API keys are encrypted and added to requests outside the agent.
- **Route price list:** Each route's price and time limit are listed before use.
- **Call log:** Every call is recorded with status, response code and timing.
- **Spending ceiling:** Spend cannot exceed the prepaid balance.

## Good for

- Give a travel-planning agent a budget for weather and map APIs
- Stop a looping agent from running up API bills
- Keep third-party API keys out of an agent's configuration
- Pay for occasional APIs without a subscription each

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http agentpay https://agentpay.myuiaf.com/mcp
```

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

```sh
https://agentpay.myuiaf.com/mcp
```

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

```json
{
  "mcpServers": {
    "agentpay": {
      "url": "https://agentpay.myuiaf.com/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "agentpay": {
      "type": "http",
      "url": "https://agentpay.myuiaf.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agentpay": {
      "serverUrl": "https://agentpay.myuiaf.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agentpay": {
      "type": "http",
      "url": "https://agentpay.myuiaf.com/mcp"
    }
  }
}
```

## FAQ

### When am I charged?

Only when the API answers 2xx within the route's time limit.

### What does a call cost?

Flat routes are $0.01; pass-through routes are the API's price plus 5%, rounded up to the cent.

### Can I list my own API?

Yes; routes are added individually and API owners can contact the vendor.

### What are the rate limits?

60 requests per minute on Early Testing, up to 1,000 on Enterprise.

### Is AgentPay free?

No. AgentPay is a paid product.

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

Run this command in your terminal: claude mcp add --transport http agentpay https://agentpay.myuiaf.com/mcp

### What are the best alternatives to AgentPay?

The closest alternatives to AgentPay are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

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