# TgPay Merchant API MCP server

Accept crypto payments via the TgPay Merchant API — invoices, subscriptions, webhooks.

## Facts

- Endpoint: https://crypto.tgpaybot.com/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: C (76/100, scanned 2026-09-30) · report https://gateturbo.com/report/47e4d671-0dfd-47c0-8c22-4e5a22c26dd8
- Tools: 20
- Category: Finance & crypto · source: registry
- Last probed: 2026-09-03 · first listed: 2026-08-27
- Directory page: https://gateturbo.com/mcp/tgpay-merchant-api · this document: https://gateturbo.com/mcp/tgpay-merchant-api.md · JSON: https://gateturbo.com/api/directory/servers/tgpay-merchant-api

## Tools (20)

- `get_docs`: Read a TgPay Merchant API integration doc. START HERE before integrating: topics quickstart, invoices, subscriptions, transfers-checks, webh
- `connect`: Start token issuance WITHOUT the Mini App UI: creates a merchant-app request and returns a t.me approve link plus a poll_secret. Show the li
- `connect_status`: Poll a connect request. Returns pending | denied | expired, or — once approved — the app id and the API TOKEN (returned exactly once: save i
- `getMe`: Verify the token: app id, name, webhook config, token scopes.
- `getBalance`: Merchant app balance per asset (available + onhold).
- `getCurrencies`: Supported crypto assets (code/name/decimals) and fiats.
- `getExchangeRates`: Current asset↔fiat display rates.
- `getStats`: App volume/count stats for a period.
- `getInvoices`: List invoices (newest first).
- `getChecks`: List checks.
- `getTransfers`: List app→user transfers.
- `getSubscriptionPlans`: List subscription plans.
- `getSubscriptions`: List subscriptions (subscribers).
- `createInvoice`: Create a one-off payment invoice; the payer opens result.mini_app_invoice_url. See the invoices doc.
- `deleteInvoice`: Delete an unpaid invoice.
- `refundInvoice`: Refund a paid invoice (moves money app→payer; partial refunds accumulate up to the face amount).
- `createCheck`: Create a bearer payout link (moves money to a hold), or a named-list check: `recipients` reserves one seat per person with its own amount — 
- `deleteCheck`: Delete an unclaimed check (refunds the hold).
- `transfer`: Pay a Telegram user from the app balance (instant, irreversible). Address by user_id (must have opened the bot) OR username (unknown → parke
- `transferBatch`: Batch of transfers; items succeed/fail independently. MONEY MOVES.

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect TgPay Merchant API to your gate (https://gateturbo.com/login?next=/discovery?connect=tgpay-merchant-api).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/tgpay-merchant-api/claude · Claude Desktop → https://gateturbo.com/mcp/tgpay-merchant-api/claude-desktop · ChatGPT → https://gateturbo.com/mcp/tgpay-merchant-api/chatgpt · Codex → https://gateturbo.com/mcp/tgpay-merchant-api/codex · Cursor → https://gateturbo.com/mcp/tgpay-merchant-api/cursor · Windsurf → https://gateturbo.com/mcp/tgpay-merchant-api/windsurf · VS Code → https://gateturbo.com/mcp/tgpay-merchant-api/vscode · Gemini CLI → https://gateturbo.com/mcp/tgpay-merchant-api/gemini-cli · OpenClaw → https://gateturbo.com/mcp/tgpay-merchant-api/openclaw · n8n → https://gateturbo.com/mcp/tgpay-merchant-api/n8n · A script or server → https://gateturbo.com/mcp/tgpay-merchant-api/script

### Direct: Claude Code

Add TgPay Merchant API to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http tgpay-merchant-api https://crypto.tgpaybot.com/mcp
```

### Direct: Cursor

Add TgPay Merchant API to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "tgpay-merchant-api": {
      "url": "https://crypto.tgpaybot.com/mcp"
    }
  }
}
```

### Direct: VS Code

Add TgPay Merchant API to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "tgpay-merchant-api": {
      "type": "http",
      "url": "https://crypto.tgpaybot.com/mcp"
    }
  }
}
```

### Direct: Codex

Add TgPay Merchant API to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.tgpay_merchant_api]
url = "https://crypto.tgpaybot.com/mcp"
```

### Direct: Claude

Add TgPay Merchant API as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "TgPay Merchant API" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://crypto.tgpaybot.com/mcp
```

### Direct: ChatGPT

Add TgPay Merchant API as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "TgPay Merchant API" with the URL below.
3. Set authentication to none.

```
https://crypto.tgpaybot.com/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
