# GPTunneL MCP server overview

Source: [GPTunneL MCP server overview](<https://docs.gptunnel.ru/en/mcp/about/>)

<a id="_top"></a>
The **GPTunneL MCP server** connects your account to Claude, ChatGPT, Cursor, VS Code, Codex, and other clients that support the [Model Context Protocol](<https://modelcontextprotocol.io/>). Ask for three versions of a cover image in 16:9 or a workflow that turns a product photo into a five-second video. The agent can choose a model, quote the price, run the generation, and return links to the results.

The agent acts **on your behalf and uses your balance**. Website prices, discounts, and free generations also apply through MCP. Results appear in your gallery or workflows.

<a id="what-an-agent-can-do"></a>
## What an agent can do

Creative Lab: images and video

List models, get an exact quote, generate within a price ceiling, and retrieve results. You can provide photos or videos as inputs.

Workflows

Build a workflow from nodes or start from a template. Run it, check progress, and retry failed nodes.

Apps

Remove a background, colorize a photo, make a sticker, or generate sound effects in one call.

Gallery

Find your generations, organize them into collections, and create or rename collections.

See the full list of [tools](<https://docs.gptunnel.ru/en/mcp/tools/>).

<a id="the-server-address"></a>
## The server address

```plaintext
https://gptunnel.ru/mcp
```

The server uses Streamable HTTP (JSON-RPC 2.0). The client connects to the hosted server by URL, with no server installation required.

Use this address for models, price quotes, and generation. The gallery connector in the Claude directory uses `https://gptunnel.ru/mcp/claude`, which provides `whoami` and gallery tools according to the user’s permissions. See [connector permissions](<https://docs.gptunnel.ru/en/mcp/oauth/#for-client-developers>).

Choose one way to authenticate:

- **OAuth in a browser.** The client opens GPTunneL and you select **Allow**. This works with Claude, ChatGPT, Cursor, and VS Code. See [OAuth](<https://docs.gptunnel.ru/en/mcp/oauth/>).
- **MCP key.** Send the `gtmcp_…` token from your profile in the `Authorization` header. Use it for server-side agents, CI, or clients that cannot open a browser. See [MCP keys](<https://docs.gptunnel.ru/en/mcp/keys/>).

> **Caution: If the MCP tab is missing**
>
> If your [profile](<https://gptunnel.ru/profile/mcp>) has no **MCP** tab, the account lacks access. The server returns `403 Forbidden` and the sign-in screen shows “No access to MCP”.

 <a id="fast-start"></a>
 
<a id="quick-start"></a>
## Quick start

1. Follow the [connection guide](<https://docs.gptunnel.ru/en/mcp/connect/>). For example, in Claude Code:
   
   ```bash
   claude mcp add gptunnel --transport http https://gptunnel.ru/mcp
   ```
2. Sign in to GPTunneL in the browser, review the permissions and spending limit, then select **Allow**.
3. Check the connection with a free request:
   
   > Which video models are available in GPTunneL, and what is the lowest price for a five-second video?
4. Try an action from the [sample prompts](<https://docs.gptunnel.ru/en/mcp/examples/>).

 <a id="деньги-под-контролем"></a>
 
<a id="cost-control"></a>
## Cost control

Check the price and the connection’s spending limits before starting a paid generation. Paying from an organization’s balance requires permission. See [billing and limits](<https://docs.gptunnel.ru/en/mcp/billing/>) for charges, limits, and retries.

<a id="for-ai-agents"></a>
## For AI agents

Call `whoami` and `tools/list` first. The [agent guide](<https://docs.gptunnel.ru/en/mcp/best-practices/>) shows how to sequence calls for generation, uploads, and workflows.

 [Connect a client](<https://docs.gptunnel.ru/en/mcp/connect/>)Claude, ChatGPT, Cursor, VS Code, Codex, or your own agent[Sample prompts](<https://docs.gptunnel.ru/en/mcp/examples/>)Ready-to-use prompts for your agent[Tools](<https://docs.gptunnel.ru/en/mcp/tools/>)Available tools and which ones incur charges[Troubleshooting](<https://docs.gptunnel.ru/en/mcp/troubleshooting/>)Error codes and how to resolve them
