# AgentPay MCP server

> Enables AI agents to perform web extraction, domain intelligence, and document processing via pay-per-call APIs and MCP tools.

- Repository: https://github.com/noah-silver/agentpay
- Page: https://hostedmcp.org/servers/noah-silver/agentpay
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.1.0

## Install

### Claude Code

```sh
claude mcp add --transport http agentpay https://agentpay.agentpay-apis.workers.dev/mcp
```

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

```json
{
  "mcpServers": {
    "agentpay": {
      "url": "https://agentpay.agentpay-apis.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "agentpay": {
      "type": "http",
      "url": "https://agentpay.agentpay-apis.workers.dev/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"agentpay","type":"http","url":"https://agentpay.agentpay-apis.workers.dev/mcp"}'
```

### Codex

```sh
codex mcp add agentpay --url https://agentpay.agentpay-apis.workers.dev/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.agentpay]
url = "https://agentpay.agentpay-apis.workers.dev/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http agentpay https://agentpay.agentpay-apis.workers.dev/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "agentpay": {
      "url": "https://agentpay.agentpay-apis.workers.dev/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### Is there a free trial available?

Yes, you can get an API key with $0.05 of free credit by calling the trial endpoint once per network per day.

### What happens if a tool call fails?

Failed calls cost nothing because x402 payments are only settled if the call succeeds.

### Can I use this with Claude Desktop or Cursor?

Yes, the server supports remote MCP over Streamable HTTP which can be configured in Claude Desktop or Cursor using the provided JSON configuration.
