# Make fantasy maps from Claude, ChatGPT or Cursor

> The AIImagine MCP server lets Claude, ChatGPT, Codex, Cursor and other assistants write a gazetteer for one of your worlds, draw world, region, city and battle maps from a brief, re-render a saved map as a 4K poster and make location or creature cards. Finished maps open on the website, where you add names, the compass and the grid.

Server URL (Streamable HTTP): `https://aiimagine.ai/mcp`

## Connect your assistant to the atlas

### Claude

Claude (web or desktop): go to Settings, then Connectors, choose Add custom connector, call it AIImagine and paste the server URL. Press Connect and allow access.

```
https://aiimagine.ai/mcp
```

### Claude Code

Paste this command into a terminal. Back in Claude Code, type /mcp and choose the atlas server to approve it.

```
claude mcp add --transport http aiimagine https://aiimagine.ai/mcp
```

### ChatGPT

ChatGPT: in Settings, open Apps & Connectors, then Advanced, and switch developer mode on. Create a connector from the server URL and choose OAuth.

```
https://aiimagine.ai/mcp
```

### Codex

Put the block in ~/.codex/config.toml and approve the atlas with codex mcp login aiimagine.

```
[mcp_servers.aiimagine]
url = "https://aiimagine.ai/mcp"
```

### Cursor

Cursor reads servers from ~/.cursor/mcp.json; you can also use Settings → MCP → Add new server. A Login button then appears next to the server.

```
{
  "mcpServers": {
    "aiimagine": {
      "url": "https://aiimagine.ai/mcp"
    }
  }
}
```

### VS Code

Put the snippet in .vscode/mcp.json inside your project, or use the MCP: Add Server command. The first map request opens the approval page.

```
{
  "servers": {
    "aiimagine": {
      "type": "http",
      "url": "https://aiimagine.ai/mcp"
    }
  }
}
```

### Windsurf

Windsurf keeps servers in ~/.codeium/windsurf/mcp_config.json; save the block there and refresh Cascade's MCP list.

```
{
  "mcpServers": {
    "aiimagine": {
      "serverUrl": "https://aiimagine.ai/mcp"
    }
  }
}
```

A AIImagine tab opens: sign in, or make a free account, then press Allow access. The assistant never sees your password, and no key is copied into it.

## What happens when you approve the atlas

1. The assistant's first call gets a 401 reply, and that reply names the OAuth metadata it should read.
2. From there it registers as a client (by metadata document or dynamic registration) and opens a PKCE approval page.
3. On AIImagine you sign in and allow that single assistant, nothing else, on the consent screen.
4. The token it receives works only for https://aiimagine.ai/mcp; it renews itself and you can withdraw it whenever you like.

## Scripts and batch jobs: API keys

For a script or an agent with no browser, create a key under Settings → API keys and send it as a bearer header in place of OAuth. Keys are included with any paid plan or credit pack.

## What your assistant can do in the atlas

- `list_options`: Map types, styles, scenes, grid limits and the credits for each job.
- `write_gazetteer`: Names and one-line notes for a world's regions, towns and landmarks; 11 credits.
- `make_map`: One 2K map (world, region, city or battle) from a brief, in a style, with no lettering; 73 credits.
- `make_poster`: A 4K poster render of one of your saved maps; 108 credits.
- `make_card`: A location or creature card in the world's style; 37 credits.
- `get_task`: Status and download link for one map, poster or card.
- `list_tasks`: Your latest maps, posters and cards, filterable by status.
- `get_credits`: Remaining credits (the team pool for team members) and plan.

Credits are taken only when a map, poster, card or gazetteer starts and come back automatically if it fails. Every other tool is free. Prices match the pricing page.

## When a map request goes wrong

- It keeps saying 'needs authentication': delete the server from the assistant's list and add it back to start the approval again.
- It reports 'Not enough credits': ask it to run get_credits, add credits on the pricing page and retry. No credits were spent.
- Map still 'processing': ask the assistant to call get_task again in a moment.
- A 403 when using a key means the account has no paid plan or credit pack yet. Approve with OAuth instead, or buy one.

## Atlas connection questions

### Does the MCP server cost extra?

No. Any plan can connect at no charge; each map, poster, card or gazetteer costs the same credits it costs on the website. Your sign-up credits count as well.

### Which models can my assistant use?

The same models as the website: GPT Image 2 for maps and posters, Seedream 5.5 for cards and Gemini for gazetteer names. Ask it to call list_options for live prices.

### What happens if a map fails or my balance is too low?

Credits are held when a job begins and return on their own if it fails. With too few credits the tool tells the assistant before anything runs, so nothing is spent; add credits and ask again.

### Can my assistant upload a sketch or add the names?

No. Sketches are uploaded and checked on the website, and the label layer (names, compass, scale bar, grid) is edited there too. The assistant draws the maps; you letter them in the browser.

### My client keeps asking me to sign in. What do I do?

Delete the server in your assistant and add it back so the approval starts fresh. A 403 while using a key means there is no paid plan or credit pack on the account: approve with OAuth or buy one.

### Where do finished maps go?

They are saved to My maps like anything made on the website, and the assistant gets direct links once they are done.


---

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