# Buyforme MCP

> Buyforme MCP is an open-source MCP server. BuyForMe: pay any x402 URL (USD or EUR) with ArisPay delegated custody. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/arispay-inc/arispay-x402/tree/HEAD/packages/buyforme-mcp
- **MCP Registry name:** io.github.stevemilton/buyforme-mcp
- **Listing updated:** 2026-11-13

## About

BuyForMe: pay any x402 URL (USD or EUR) with ArisPay delegated custody. Alias of payagent-mcp.

## Install

### Claude Code (Terminal)

```sh
claude mcp add buyforme-mcp --env ARISPAY_API_KEY='<ARISPAY_API_KEY>' --env PAYAGENT_PRIVATE_KEY='<PAYAGENT_PRIVATE_KEY>' -- npx -y buyforme-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "buyforme-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "buyforme-mcp"
      ],
      "env": {
        "ARISPAY_API_KEY": "<ARISPAY_API_KEY>",
        "PAYAGENT_PRIVATE_KEY": "<PAYAGENT_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "buyforme-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "buyforme-mcp"
      ],
      "env": {
        "ARISPAY_API_KEY": "<ARISPAY_API_KEY>",
        "PAYAGENT_PRIVATE_KEY": "<PAYAGENT_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "buyforme-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "buyforme-mcp"
      ],
      "env": {
        "ARISPAY_API_KEY": "<ARISPAY_API_KEY>",
        "PAYAGENT_PRIVATE_KEY": "<PAYAGENT_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "buyforme-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "buyforme-mcp"
      ],
      "env": {
        "ARISPAY_API_KEY": "<ARISPAY_API_KEY>",
        "PAYAGENT_PRIVATE_KEY": "<PAYAGENT_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "buyforme-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "buyforme-mcp"
      ],
      "env": {
        "ARISPAY_API_KEY": "<ARISPAY_API_KEY>",
        "PAYAGENT_PRIVATE_KEY": "<PAYAGENT_PRIVATE_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Buyforme MCP free?

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

### How do I add Buyforme MCP to Claude Code?

Run this command in your terminal: claude mcp add buyforme-mcp --env ARISPAY_API_KEY='<ARISPAY_API_KEY>' --env PAYAGENT_PRIVATE_KEY='<PAYAGENT_PRIVATE_KEY>' -- npx -y buyforme-mcp

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