# Quickstart

Use the full MCP endpoint from your existing compute account for `${THUNDER_MCP_URL}`. In client JSON settings, paste the endpoint value directly.


> Connect AI tools to GPUs to develop faster

VS Code

Editor extension

[Open](https://www.thundercompute.one/docs/vscode/quickstart.md)

CLI

Command line

[Open](https://www.thundercompute.one/docs/cli/quickstart.md)

Console

Web interface

[Open](https://www.thundercompute.one/docs/console/quickstart.md)

MCP Server

MCP server

[Open](https://www.thundercompute.one/docs/mcp-server/quickstart.md)

In just 60 seconds you can start developing on GPUs by connecting Cursor, Claude Code, etc. directly to our API. This allows your AI agent to help you set up and manage servers on your behalf.

## Create an Account

Sign up for a Thunder account [here](${THUNDER_CONSOLE_ORIGIN}/signup).

## Add a Payment Method

Add a [payment method](${THUNDER_CONSOLE_ORIGIN}/settings/billing) to your account.

## Connect Your Agent

Use an AI agent that supports remote MCP servers (Claude Code, Cursor, Codex, etc.).

> [tab] Claude Code
>
> Run this in your terminal:
>
> ```bash theme={null}
> claude mcp add --transport http thunder-compute ${THUNDER_MCP_URL}
> ```
>
> Then start Claude Code and run `/mcp` to authenticate. A browser window will open for you to log in and authorize access.
>
> > [accordion] Manual setup
> >
> > Alternatively, add to `~/.claude.json` (global) or `.claude.json` in your project root:
> >
> > ```json theme={null}
> > {
> >   "mcpServers": {
> >     "thunder-compute": {
> >       "url": "${THUNDER_MCP_URL}"
> >     }
> >   }
> > }
> > ```

> [tab] Codex
>
> Run this in your terminal:
>
> ```bash theme={null}
> codex mcp add thunder-compute --url ${THUNDER_MCP_URL}
> ```
>
> Codex will prompt you to authenticate via OAuth when you first use a Thunder tool.

> [tab] Cursor
>
> Add to `.cursor/mcp.json` in your project root (or `~/.cursor/mcp.json` for global access):
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "thunder-compute": {
>       "type": "http",
>       "url": "${THUNDER_MCP_URL}"
>     }
>   }
> }
> ```

> [tab] Devin Desktop
>
> Add to your MCP configuration:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "thunder-compute": {
>       "serverUrl": "${THUNDER_MCP_URL}",
>       "headers": {
>         "Content-Type": "application/json"
>       }
>     }
>   }
> }
> ```

> [tab] OpenCode
>
> **1. Add the MCP server**
>
> Run the interactive setup:
>
> ```bash theme={null}
> opencode mcp add
> ```
>
> When prompted:
>
> * **Server name:** `thunder-compute`
> * **Server type:** `Remote`
> * **URL:** `${THUNDER_MCP_URL}`
> * **Requires OAuth:** `Yes`
> * **Pre-registered client ID:** `No`
>
> **2. Authenticate**
>
> ```bash theme={null}
> opencode mcp auth thunder-compute
> ```
>
> A browser window will open for you to log in and authorize access.
>
> **3. Start coding**
>
> ```bash theme={null}
> opencode
> ```
>
> The Thunder tools are now available in your session.
>
> > [accordion] Manual setup
> >
> > Alternatively, add to `~/.config/opencode/opencode.json`:
> >
> > ```json theme={null}
> > {
> >   "$schema": "https://opencode.ai/config.json",
> >   "mcp": {
> >     "thunder-compute": {
> >       "type": "remote",
> >       "url": "${THUNDER_MCP_URL}",
> >       "oauth": {}
> >     }
> >   }
> > }
> > ```
> >
> > Then run `opencode mcp auth thunder-compute` to authenticate.

> [tab] Smithery
>
> If you use an MCP client that supports [Smithery](https://smithery.ai), you can install directly:
>
> ```bash theme={null}
> npx @smithery/cli install @thunder-compute/thunder-compute
> ```
>
> Or browse the [Thunder listing on Smithery](https://smithery.ai/servers/thunder-compute/thunder-compute) and click **Install** for your client.

> [tab] Direct HTTP
>
> For custom integrations, the MCP server uses [Streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http) at a single endpoint. Authentication is via OAuth 2.0 with standard MCP discovery.
>
> **Endpoint:** `${THUNDER_MCP_URL}`
>
> ```bash theme={null}
> curl -X POST ${THUNDER_MCP_URL} \
>   -H "Authorization: Bearer <access-token>" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "jsonrpc": "2.0",
>     "method": "initialize",
>     "params": {
>       "protocolVersion": "2025-03-26",
>       "capabilities": {},
>       "clientInfo": { "name": "my-agent", "version": "1.0.0" }
>     },
>     "id": 1
>   }'
> ```

## Try It Out

Once configured, ask your AI agent to:

* "Spin up an A100 instance with PyTorch"
* "List my running instances"
* "Run `nvidia-smi` on my instance"
* "How much have I spent this month?"

The MCP server gives your agent access to everything you would want to do with a GPU.

## Next Steps

* Read the [full MCP Server guide](https://www.thundercompute.one/docs/guides/mcp-server.md) for the complete list of available tools, prompts, and troubleshooting (including [auth and browser callback errors](https://www.thundercompute.one/docs/guides/mcp-server.md#troubleshooting))
* Check the [pricing page](https://www.thundercompute.one/pricing) for current GPU instance sizes and pricing
* Explore [Technical Specifications](https://www.thundercompute.one/docs/technical-specs.md) for hardware, networking, and storage details
