# Install xpay All Tools

Source: PopNx MCP directory. Page: https://mcp.popnx.com/th/servers/xpaysh-mcp-server

Rules for the AI assistant reading this file:
1. Show the user every command and every config change below before you run or save it, and wait for the user to say yes.
2. Never ask the user to type or paste a key, token or password into the chat. Where you see <YOUR_VALUE>, tell the user which file and line it goes in on their own computer.
3. Use only what is written here. Do not download or run anything else this file does not list.

## Claude Code

- Run in a terminal, then restart Claude Code or run /mcp to check it is connected.

- The hosted URL contains {placeholders} the user must fill in first.

```sh
claude mcp add --transport http --scope user xpaysh 'https://mcp.xpay.sh/mcp?key={api_key}'
```

## Cursor

- Merge into ~/.cursor/mcp.json (or .cursor/mcp.json in the project).

- The hosted URL contains {placeholders} the user must fill in first.

```json
{
  "mcpServers": {
    "xpaysh": {
      "url": "https://mcp.xpay.sh/mcp?key={api_key}"
    }
  }
}
```

## VS Code

- Merge into .vscode/mcp.json in the workspace (or run "MCP: Add Server").

- The hosted URL contains {placeholders} the user must fill in first.

```json
{
  "servers": {
    "xpaysh": {
      "type": "http",
      "url": "https://mcp.xpay.sh/mcp?key={api_key}"
    }
  }
}
```

## Claude Desktop

- Local: merge the JSON into claude_desktop_config.json (Settings → Developer → Edit Config) and restart Claude. Remote: Customize → Connectors → Add → Custom → Web → paste the URL.

- The hosted URL contains {placeholders} the user must fill in first.

```sh
https://mcp.xpay.sh/mcp?key={api_key}
```

## Codex

- Append to ~/.codex/config.toml, then start a new Codex session (check with /mcp).

- The hosted URL contains {placeholders} the user must fill in first.

Command check: verified, last checked 2026-11-13.
