TurboMax AI Start creating

How to connect Claude, Cursor and VS Code to the TurboMax MCP server

MCP · · 3 min read

Step-by-step setup for the TurboMax AI MCP server: create an API key, add the remote server to Claude Code, Cursor, VS Code or any MCP client, and run your first image or video generation.

This guide gets an MCP client talking to TurboMax in a few minutes. You need a TurboMax account and, for anything beyond browsing, an API key.

1. Create a key

Sign in, open MCP in the sidebar and choose Create key.

  • Pick Read only if you only want to browse models, check the wallet or follow jobs. It is free.
  • Pick Can generate if the client should create media or chat. This spends credits from your wallet and requires an account that has made a paid top-up.
  • Choose an expiry: 30 days, 90 days or one year.

The key (it starts with tmx_) is displayed once. Copy it somewhere safe; TurboMax stores only a hash and cannot show it again. If it leaks, revoke it from the same page and the key stops working immediately.

2. Add the server to your client

Claude Code

claude mcp add --transport http turbomax https://turbomaxai.com/mcp \
  --header "Authorization: Bearer tmx_YOUR_KEY"

Cursor, VS Code, Windsurf and other JSON-configured clients

Add this to the client's MCP configuration (the file name differs by client):

{
  "mcpServers": {
    "turbomax": {
      "type": "http",
      "url": "https://turbomaxai.com/mcp",
      "headers": { "Authorization": "Bearer tmx_YOUR_KEY" }
    }
  }
}

Some clients call the field serverUrl or omit type; use whichever your client documents for a remote Streamable HTTP server.

Clients that only run local processes

Use a bridge that runs locally and forwards to the remote server. With mcp-remote:

{
  "mcpServers": {
    "turbomax": {
      "command": "npx",
      "args": ["mcp-remote", "https://turbomaxai.com/mcp", "--header", "Authorization:${AUTH_HEADER}"],
      "env": { "AUTH_HEADER": "Bearer tmx_YOUR_KEY" }
    }
  }
}

Plain HTTP, no client at all

Any program can call the endpoint directly:

curl -s https://turbomaxai.com/mcp \
  -H "Authorization: Bearer tmx_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_wallet","arguments":{}}}'

3. Check it works

Ask your assistant to list the TurboMax image models. That uses list_models, which needs no key, so it also confirms the connection itself. Then ask for your wallet balance, which uses get_wallet and confirms the key.

4. Make something

A good first request, in plain language:

Using TurboMax, find the cheapest text-to-image model, tell me what one image costs, then generate "a lighthouse on a cliff at dusk" with a limit of 20 credits.

A well-behaved client will call list_models, estimate_cost, then generate_media with maxCredits, then get_task until the job is completed, and hand you the resultUrl. Result links are time-limited, so download the file promptly.

Common errors

What you seeMeaningFix
"needs a TurboMax API key"No key, or the key is invalid, expired or revokedCreate or replace the key
api_key_scopeThe key is read-only but the action spends creditsCreate a key with the generate scope
payment_requiredThe account has never made a paid top-upTop up the wallet
insufficient_creditsBalance is below the job's costTop up; nothing was charged
cost_exceeds_maxThe job costs more than your maxCreditsRaise the ceiling or pick a cheaper model; nothing was charged
prompt_rejectedThe prompt breaks the acceptable-use policyRephrase; nothing was charged

For what the server offers and how it is secured, read the MCP server overview.

Frequently asked questions

How do I add the TurboMax MCP server to Claude Code?

Run: claude mcp add --transport http turbomax https://turbomaxai.com/mcp --header \"Authorization: Bearer tmx_YOUR_KEY\". Create the key first on the MCP page of the TurboMax app. Without a key you can still connect and use the discovery tools.

What is the MCP server URL for TurboMax AI?

https://turbomaxai.com/mcp. It speaks Streamable HTTP and accepts POST requests carrying JSON-RPC 2.0 messages. Opening it in a browser redirects to the setup page.

Why does my MCP client say the TurboMax tool needs an API key?

Tools that read a wallet or spend credits need an Authorization: Bearer header with a tmx_ key. The discovery tools work without one. If a key is set and still refused, check that it has not expired or been revoked.

Why was my generate request refused with payment_required?

Spending through an API key needs an account that has completed at least one paid top-up that was not refunded. Add credits from the TurboMax wallet, then retry. Read-only keys never need this.

My client only supports local MCP servers. Can I still use TurboMax?

Yes. A remote-to-stdio bridge such as mcp-remote can run locally and forward to https://turbomaxai.com/mcp, passing the Authorization header you give it.

Try it with $5

Prepaid credits, no Monthly subscription, no card on file. Failed generations are refunded automatically and unused credits never expire.

Start creating