# Stable Diffusion images from Claude, ChatGPT or Cursor

> With the TurboDiffusion MCP server, your assistant turns a prompt into a Stable Diffusion 3.5 final on your credits. Studio prices, checks and refunds apply unchanged; live drafts stay in the studio.

Server URL (Streamable HTTP): `https://turbodiffusion.net/mcp`

## Connect your assistant

### Claude

Go to Settings → Connectors → Add custom connector in claude.ai or Claude Desktop, call it TurboDiffusion, paste the URL, then press Connect and approve.

```
https://turbodiffusion.net/mcp
```

### Claude Code

Paste this into a terminal. Inside Claude Code, type /mcp and choose this server to sign in.

```
claude mcp add --transport http turbodiffusion https://turbodiffusion.net/mcp
```

### ChatGPT

Developer mode lives under Settings → Apps & Connectors → Advanced in ChatGPT. Switch it on, create a connector with this URL and pick OAuth.

```
https://turbodiffusion.net/mcp
```

### Codex

Put the block in ~/.codex/config.toml and sign in with codex mcp login turbodiffusion.

```
[mcp_servers.turbodiffusion]
url = "https://turbodiffusion.net/mcp"
```

### Cursor

Put the server in ~/.cursor/mcp.json, or use Settings → MCP → Add new server, and press the Login button Cursor shows next to it.

```
{
  "mcpServers": {
    "turbodiffusion": {
      "url": "https://turbodiffusion.net/mcp"
    }
  }
}
```

### VS Code

Keep this as .vscode/mcp.json in the workspace, or use the MCP: Add Server command. The first tool call asks you to sign in.

```
{
  "servers": {
    "turbodiffusion": {
      "type": "http",
      "url": "https://turbodiffusion.net/mcp"
    }
  }
}
```

### Windsurf

Paste it into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in the Cascade panel.

```
{
  "mcpServers": {
    "turbodiffusion": {
      "serverUrl": "https://turbodiffusion.net/mcp"
    }
  }
}
```

TurboDiffusion opens in a browser tab. Log in or create a free account and press Allow access. Your password stays with us; no key is ever handed to the assistant.

## Approving access to your images

1. Your assistant calls the server and gets a 401 pointing at our OAuth metadata.
2. It registers itself as a client (metadata document or dynamic registration) and starts a PKCE sign-in.
3. You log in on TurboDiffusion and approve that one assistant on the consent screen.
4. It gets a token valid only for https://turbodiffusion.net/mcp; the token refreshes itself, and Settings lets you revoke it at any time.

## Signing in without an API key

Sign-in is OAuth only, supported by Claude, ChatGPT, Cursor, VS Code, Codex and Windsurf. There are no API keys to create.

## What your assistant can do

- `list_models`: Turbo and Large, the 9 aspect ratios and the credit prices.
- `make_image`: A prompt, with optional negative prompt, seed, CFG and ratio → 1 to 4 finals, with your credits.
- `get_image`: Status and download link of one image.
- `list_images`: Your latest images, newest first.
- `get_credits`: Your credit balance, your plan, and how many finals may render at once.

Credits are taken only when a final starts, and a failed final is refunded automatically.

## Troubleshooting

- Endless "needs authentication" messages: remove the server, add it back and sign in from scratch.
- "Not enough credits": run get_credits, buy credits on the pricing page and retry. A refused call is not charged.
- Image still "processing": a final can take a little while. Ask the assistant to call get_image again.
- 401 with an sk_ key: this server has no keys. Remove that header so the assistant signs in with OAuth.

## Stable Diffusion over MCP: common questions

### Are images over MCP priced differently?

No. Adding the server costs nothing, and each final is charged the same credits the studio would charge: 46 for Turbo, 75 for Large.

### What can my assistant do?

Write or refine a prompt with you, pick Turbo or Large and the settings, quote the cost, render 1 to 4 finals and hand you the links.

### What if a final fails, or I run out of credits mid-chat?

A failed final is refunded on its own, automatically. When the balance cannot cover a final, the tool says so before anything is taken.

### Where are my images stored?

In your private TurboDiffusion account, next to the images you make in the studio, for 30 days. Only you can see them.

### Why do I keep getting asked to sign in?

The stored sign-in expired. Remove the server from the assistant, add it back and sign in fresh.

### How long does a final take, and where do I find it?

A Turbo final is usually quick and a Large final takes a little longer. Every final is listed under My images, and the assistant gets the link once get_image reports success.


---

Source: https://turbodiffusion.net/mcp-server · Site index for AI agents: https://turbodiffusion.net/llms.txt · Full content: https://turbodiffusion.net/llms-full.txt
