Skip to main content
Glama
README.md
# 2dai-mcp-server

[![npm](https://img.shields.io/npm/v/2dai-mcp-server)](https://www.npmjs.com/package/2dai-mcp-server)

MCP server for [2DAI](https://2dai.io) — lets Claude, Cursor, VS Code, Codex, Gemini CLI, Cline, Devin Desktop and
other MCP apps generate images and video, upload references, browse the public feed, organise your cloud drive,
read your TIXI chats and run your Studio workflows **on your own 2DAI account**. 37 tools.

- **Hosted** at `https://mcp.2dai.io`: add the address and your key to your AI app. Nothing to install.
- **Local**: `npx -y 2dai-mcp-server` runs it on your machine over stdio (Node 18+).
- Authenticates with a 2DAI API key (create one at **2dai.io → Dashboard → Integrations → API keys**).
- Finished images come back as inline previews so the model can see what it made and iterate.

Full guide: the [wiki](https://github.com/2DAICommunity/2dai-mcp-server/wiki).

## Hosted — `https://mcp.2dai.io`

Any app that speaks remote MCP (Streamable HTTP) and can send an `Authorization` or `x-api-key` header can use the
hosted server.

- **Address:** `https://mcp.2dai.io`. `https://mcp.2dai.io/mcp` and the old `https://mcp.2dai.io:800/mcp` keep
  working.
- **Key:** `Authorization: Bearer 2dai_sk_...` or `x-api-key: 2dai_sk_...` on every request. The server never stores
  or logs it, and each request is its own session.
- Opening the address in a browser shows a short JSON card: name, version, how to connect, docs link.

Pick your app below and replace `2dai_sk_...` with your key.

### Claude Code

```bash
claude mcp add --transport http -s user 2dai https://mcp.2dai.io --header "Authorization: Bearer 2dai_sk_..."
```

`-s user` adds it to all your projects.

### Claude (claude.ai, Desktop, mobile) — custom connector

1. **Customize › Connectors › Add › Add custom connector.**
2. Name `2DAI`, URL `https://mcp.2dai.io`.
3. Authentication: **No sign-in**.
4. **Request headers:** name `authorization`, value `Bearer 2dai_sk_...` (or name `x-api-key`, value `2dai_sk_...`).
5. **Add.**

The Request headers section is in beta for some organizations. If you don't see it, the connector cannot send your
key: use Claude Desktop (bridge or local, below) or Claude Code. On Team / Enterprise, the Owner adds the connector
and every member shares its key, so they all spend on that 2DAI account. The Free plan allows one custom connector.
To change the key, remove the connector and add it again.

### Claude Desktop — bridge

Claude Desktop skips `url` entries in `claude_desktop_config.json`. Use the `mcp-remote` bridge (started by `npx`,
Node 18+), or the [local server](#local--npx--y-2dai-mcp-server):

```json
{
  "mcpServers": {
    "2dai": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.2dai.io",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": { "AUTH_HEADER": "Bearer 2dai_sk_..." }
    }
  }
}
```

Save the file and restart Claude Desktop.

### Cursor · Grok Build

`~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project), with no `type` field:

```json
{
  "mcpServers": {
    "2dai": {
      "url": "https://mcp.2dai.io",
      "headers": { "Authorization": "Bearer 2dai_sk_..." }
    }
  }
}
```

The Grok Build CLI reads the same file, or:
`grok mcp add --transport http 2dai https://mcp.2dai.io --header "Authorization: Bearer 2dai_sk_..."`.

### VS Code + GitHub Copilot

`~/.copilot/mcp-config.json`, the same file as GitHub Copilot CLI (`.vscode/mcp.json` is the deprecated format):

```json
{
  "mcpServers": {
    "2dai": {
      "type": "http",
      "url": "https://mcp.2dai.io",
      "headers": { "Authorization": "Bearer 2dai_sk_..." },
      "tools": ["*"]
    }
  }
}
```

On Copilot Business / Enterprise, an admin must turn on the « MCP servers in Copilot » policy.

### Codex (CLI, IDE extension, ChatGPT desktop app)

`~/.codex/config.toml`, shared by all three:

```toml
[mcp_servers.2dai]
url = "https://mcp.2dai.io"
bearer_token_env_var = "TWODAI_API_KEY"
```

Then set `TWODAI_API_KEY=2dai_sk_...` in the environment Codex runs in. Without the variable, use
`http_headers = { "Authorization" = "Bearer 2dai_sk_..." }` instead of `bearer_token_env_var`.

### Gemini CLI

```bash
gemini mcp add -s user --transport http --header "Authorization: Bearer 2dai_sk_..." 2dai https://mcp.2dai.io
```

Or in `~/.gemini/settings.json`:

```json
{
  "mcpServers": {
    "2dai": {
      "httpUrl": "https://mcp.2dai.io",
      "headers": { "Authorization": "Bearer 2dai_sk_..." }
    }
  }
}
```

Use `httpUrl`, not `url`: `url` means SSE, which this server does not speak.

### Cline

`cline_mcp_settings.json` (Cline › MCP Servers › Configure):

```json
{
  "mcpServers": {
    "2dai": {
      "type": "streamableHttp",
      "url": "https://mcp.2dai.io",
      "headers": { "Authorization": "Bearer 2dai_sk_..." },
      "disabled": false
    }
  }
}
```

Keep `"type": "streamableHttp"`: without it, Cline uses SSE.

### Devin Desktop (formerly Windsurf)

Devin Desktop's `mcp_config.json` (Customize › MCPs; `~/.config/devin/mcp_config.json`, on Windows
`%APPDATA%\devin\mcp_config.json`):

```json
{
  "mcpServers": {
    "2dai": {
      "url": "https://mcp.2dai.io",
      "transport": "http",
      "headers": { "Authorization": "Bearer 2dai_sk_..." }
    }
  }
}
```

### n8n

For an AI Agent, add the **MCP Client Tool** node: endpoint `https://mcp.2dai.io`, Authentication **Bearer** (the
token is your key) or **Header** (`Authorization` = `Bearer 2dai_sk_...`). To call one tool directly, use the
**MCP Client** node (Server Transport: Streamable HTTP) with the same authentication.

### More apps

Zed, JetBrains (Junie, and Copilot in JetBrains / Xcode / Eclipse), Kiro, Kilo Code, OpenCode, Continue, Warp, Amp,
Factory Droid, Android Studio, LM Studio, Raycast, Open WebUI, LibreChat, AnythingLLM, Microsoft Copilot Studio, and
the OpenAI, Claude and xAI APIs: the exact setups are in
[Getting Started](https://github.com/2DAICommunity/2dai-mcp-server/wiki/Getting-Started#more-apps).

**Not working today:** ChatGPT web and mobile, and the Gemini app. They only sign in with OAuth, which this server
does not offer. The ChatGPT desktop app works through Codex (above).

### No filesystem on the hosted server

The process runs in our container, so a `savePath` would write to *our* disk and an upload `path` would read from
it — both are refused with a clear message (`TWODAI_FILE_ACCESS=none` is the hosted default). Instead,
`download_creation` returns an inline preview (images) plus `downloadUrl`, the full-resolution file on the API: GET it
with `Authorization: Bearer <your key>` (public creations need none). `upload_image` / `upload_audio` take `base64`.
`GET /health` reports `fileAccess: "none"`.

## Local — `npx -y 2dai-mcp-server`

Runs on your machine over stdio (Node 18+). The key goes in the `TWODAI_API_KEY` environment variable — never in a
tool argument. The local server can read and save files inside the folder it runs in (`TWODAI_FILE_ACCESS=cwd`, the
default).

**Claude Code**

```bash
claude mcp add 2dai --env TWODAI_API_KEY=2dai_sk_... -- npx -y 2dai-mcp-server
```

**Claude Desktop, Cursor, Cline, Devin Desktop** and other stdio apps (JSON config)

```json
{
  "mcpServers": {
    "2dai": {
      "command": "npx",
      "args": ["-y", "2dai-mcp-server"],
      "env": { "TWODAI_API_KEY": "2dai_sk_..." }
    }
  }
}
```

Both ways expose the same tools. Hosted: nothing to install, the key in a header, files through `downloadUrl` and
`base64`. Local: full control of the process, files on your disk, and the [settings](#configuration-env) below.

## Gen8 on the default channels

`generate_image` and `generate_video` run the Gen8 engines on their default channel; `get_account` names the engine
behind each channel and what it takes (`platform.engines`, today **Gen8.1**):

- **Images**: up to **6** `refCreationIds` kept natively, legible text in the picture, long literal prompts honoured.
- **Video**: clips **with sound**, from a first frame plus up to 6 `refCreationIds` (characters, props and places kept
  consistent), an optional `aspectRatio` and an optional **audio reference** (`upload_audio` an MP3, then pass its id
  as `audioCreationId`, `audioUse: "music"` for a soundtrack or `"voice"` for a voice sample). Lengths are exact
  seconds — 1, 5, 8, 10, 12, 15, 17 or 20, opened by tier; video opens at Explorer.
- Presets and lengths depend on the tier: `get_account` lists what the account may submit and the best pick open to
  it (`recommendation`), so read it instead of probing.

`next` (`imageModel` / `videoModel`) is kept for the next engine. The next channel closed on 2026-11-11: it answers
`VIDEO_MODEL_UNAVAILABLE` / `IMAGE_MODEL_UNAVAILABLE`, uncharged, until an engine opens it. Leave both parameters
unset, and reconnect the server in your host after updating (a running session keeps the old tool descriptions).

## Reference tools on the Gen8 image engine

`generate_with_refs` and `generate_in_artistic_style` now render on the Gen8 image engine, which reads every
reference natively: `character-ref` takes 1–6 shots of one character (face photos lock the exact same face, the
prompt drives outfit, pose and scene), `style-transfer` 1–6 style sources, `smart-edit` the image to edit plus up to
5 support refs, the artistic style up to 6 subject images. The former `face-ref` tool was merged into
`character-ref` and is refused with `INVALID_TOOL`. Same preset ids and tier gates; prices follow the Gen8 image
ladder plus a surcharge per reference (the ticket's `costUsd` is the truth).

## Tools

37 tools. The scope column is what the API key needs; `chats` and `studio` (like `finance`) are opt-in areas a key
only has when you ticked them at mint time.

| Tool | What it does | Scope | Spends credit |
|---|---|---|---|
| `get_account` | Account status: credit, tier, key label/scopes/spend cap | read | no |
| `generate_image` | Text-to-image (style/quality default to auto; `enhance: true` runs the TIXI prompt enhancer, off by default); up to 6 `refCreationIds` kept natively, legible text; `aspectRatio` sets the shape (phone wallpaper = `9:19.5`, story = `9:16`, desktop = `16:9`, default `1:1`) | generate | **yes** |
| `generate_with_refs` | Image from references on the Gen8 image engine: `character-ref` (1–6 shots of one character, face photos lock the face), `style-transfer` (1–6 style sources), `smart-edit` (edit refs[0] per the prompt, up to 5 support refs) | generate | **yes** |
| `generate_video` | Animate a still creation into a short clip with sound (first frame + up to 6 references, optional ratio, optionally scored by an `upload_audio` reference); `enhance: true` lets TIXI write the brief on a `raw` style — every other style already runs TIXI | generate | **yes** |
| `generate_similar` | Re-run an existing creation ("more like this one") | generate | **yes** |
| `generate_in_artistic_style` | Artist Painter: paint the prompt (and up to 6 subject refs) as a new work in a curated artistic style (`artisticStyleId` from `list_artistic_styles`, or `auto`) | generate | **yes** |
| `generate_wallpaper` | Expand a creation into a landscape wallpaper dimension (`standard` 4:3, `photo` 3:2, `widescreen` 16:9, `ultrawide` 21:9; a phone wallpaper is a `9:19.5` `generate_image`); own engine, quality fixed at Ultra, price follows the dimension | generate | **yes** |
| `check_generation` | Poll a queued generation by `queueId`, or up to 25 with `queueIds` | read | no |
| `cancel_generation` | Cancel a still-waiting generation (charge refunded); explains itself when it is too late | generate | no |
| `upload_image` | Upload a local image / base64 as a reference (hosted: base64 only) | generate | no |
| `upload_audio` | Upload a local MP3 / base64 as the audio reference of a video clip (`audioCreationId` + `audioUse` on `generate_video`) | generate | no |
| `download_creation` | Save the full-resolution asset to disk, or return an inline preview (hosted: inline preview + `downloadUrl`) | read | no |
| `get_creation` | Fetch one creation row by id — same slim shape as `list_creations` rows. Opt-in path for the vision-derived caption when a generation reply gates it (NSFW ≥ Near-nude) | read | no |
| `list_creations` | Page, search, sort and filter the library (folders, folder groups, trash, activity lenses, smart collections, shared folders, random pick; likes, type, aspect ratio, dates, NSFW block). Rows include `nsfwFlagged`/`nsfwRate` so agents can apply their own safeguards | read | no |
| `browse_feed` | Page through the public feed (other creators' published work) | read | no |
| `list_folders` | Page through the account's folders | read | no |
| `list_artistic_styles` | The curated artistic styles available to `generate_in_artistic_style` | read | no |
| `manage_folder` | Folder CRUD + favorites, poster, and sidebar groups (create/rename/delete/move-to-group/list-groups) | manage | no |
| `organise_creation` | Move / trash / restore / like / unlike one creation (all reversible: trash deletes nothing); `batch-trash` / `batch-restore` up to 100; `delete`, the only permanent action, stays one-at-a-time | manage | no |
| `publish_creation` | Publish / unpublish a creation on the public feed | publish | no |
| `get_stats` | One consolidated stats read: counters, streak, storage, 30/90-day generation volume + spend, top refs/styles/keywords | read | no |
| `get_wallet_status` | $2DAI balance, USD credit, effective tier + the four signals it derives from | finance | no |
| `get_lock` | Staking-lock status (none / active / expiring-soon) | finance | no |
| `get_wallet_history` | Transactions, balance chart, credit chart, or credit sources | finance | no |
| `get_token_price` | Cached $2DAI/USD quote with its staleness | read | no |
| `list_chats` | Page through your TIXI chats: search titles and summaries, folder, favourites, mode, trash; NSFW chats flagged (`excludeNsfw` to leave them out) | chats + read | no |
| `get_chat` | Read one chat: a page of messages (texts cut at `maxChars`, 1000 by default), references, draft; prompt cards list the `creationIds` they made — no image is sent | chats + read | no |
| `manage_chat` | Rename, (un)favourite, file in a chat folder, trash / restore (reversible); `delete` (permanent) only from the trash, one per call | chats + manage | no |
| `list_workflows` | Page through your Studio workflows with their last run and their task | studio + read | no |
| `get_workflow` | One workflow as a readable summary (never the raw graph): boxes, the input boxes a run may change, issues such as `FOLDER_GONE`, task, recent runs | studio + read | no |
| `manage_workflow` | Rename, (un)favourite, lock / unlock, file in a Studio folder, trash / restore (reversible); `delete` (permanent) only from the trash, one per call | studio + manage | no |
| `run_workflow` | Quote a run (free, `quoteOnly`), then run it with `maxCostUsd` (required); per-run `inputs`; waits about 45 s, then returns the `runId`; `resumeRunId` re-runs what failed | studio + read (quote), studio + generate (run); `inputs` also need studio + read | **yes** |
| `check_run` | One run (status, steps, outputs), or the recent / live runs | studio + read | no |
| `cancel_run` | Stop a live run after its current step; queued steps refunded | studio + generate | no |
| `list_tasks` | The tasks (scheduled or « new file » runs) with trigger, daily cap, next run, pause reason, and the task limits | studio + read | no |
| `manage_task` | Create (on by default), update the trigger / inputs / daily cap, turn on / off, rename, delete | studio + generate / manage; `inputs` also need studio + read | **yes** (a task runs and spends on its own) |
| `manage_item_folders` | Chat folders (`kind: "chats"`) or Studio folders (`kind: "studio"`): list, create, update, reorder, delete | chats / studio + read / manage | no |

All wallet tools are **read-only** — no tool on this server can move money. The `finance`
scope is opt-in and never part of a key's defaults. Scopes are fixed when a key is minted: to let an agent see
wallet data, mint a key with the `finance` scope.

## TIXI chats and Studio

- **Chats** (`chats` scope): read and organise only. This server never writes a message, never creates or branches a
  chat and never changes its mode or NSFW setting; reading a chat does not mark it as seen on the web. Delete for
  good only from the trash, one chat per call. A chat where TIXI is replying cannot be trashed (`TURN_IN_PROGRESS`).
- **Studio** (`studio` scope): look at, organise, run and schedule your existing workflows. This server never
  creates, duplicates or edits a workflow graph, and has no « Draw now » / « Keep this pick ». Quote first (`run_workflow`
  `quoteOnly: true`, free), then run with the `maxCostUsd` the user agreed to: a quote above it is refused uncharged
  (`COST_ABOVE_MAX`), and during the run a paid step that would pass it is not charged and stops the run, resumable. Every paid step is charged through the key (its spend cap, its Usage). One live run per
  workflow: a second one answers `RUN_IN_PROGRESS` with the live `runId`. A task created through the API is on by
  default and spends on its own schedule within its daily cap, not the key's cap. `FOLDER_GONE` (a box files into a
  deleted Cloud collection) is fixed in the Studio editor.
- **Bot, community and partner keys** (keys with a policy) get 403 `KEY_POLICY_FORBIDDEN` on chats, Studio and the
  wallet tools. Your Terms of Use status never blocks a key here; a task still skips its slots while the account's
  Terms are behind.

## Least privilege

Scopes are picked when you mint a key in the dashboard; only the label and the spend cap can change later. A coding
agent that only generates needs `read + generate`; add `manage` for drive organisation, `publish` only if you want it
posting to the public feed, `finance` only for wallet reads, `chats` only to let it read your TIXI conversations, and
`studio` only to let it reach your workflows (`studio` + `generate` lets it spend through runs and tasks). You can
also set a per-key spend cap — the server reports actionable errors when a cap or scope blocks a call.

## Configuration (env)

For the local server, in its `env` block. The hosted server reads none of them from your app: it uses its own
defaults.

| Variable | Default | Meaning |
|---|---|---|
| `TWODAI_API_KEY` | — (required) | Your 2DAI API key |
| `TWODAI_PREVIEWS` | `1` | Attach downscaled inline previews to finished generations |
| `TWODAI_PREVIEW_MAX_SIDE` | `512` | Longest edge of those previews, in px |
| `TWODAI_WAIT_BUDGET_MS` | `45000` | How long a generation call blocks before degrading to a queueId |
| `TWODAI_IDEMPOTENCY_WINDOW_MS` | `30000` | Window in which an identical re-submit is treated as a retry, not a new charge |
| `TWODAI_FILE_ACCESS` | `cwd` | What `path` / `savePath` may touch: `cwd` (confined to the working directory), `any` (no boundary), `none` (no filesystem — the hosted default; `any` is refused there). `TWODAI_ALLOW_ANY_PATH=1` still means `any` |
| `TWODAI_API_BASE` | `https://api.2dai.io` | API origin override (for self-hosted testing). The old `https://dapp.2dai.io:444` still works |
| `TWODAI_PUBLIC_API_BASE` | `TWODAI_API_BASE`, else `https://api.2dai.io` | Origin `downloadUrl` is built on (hosted / `none` mode) — the API address the caller can reach, not a private one |

## Notes for agents

- **Presets.** Image: `max` is the recommended everyday pick (best balance of detail and price); `ultimate` is the
  highest resolution for final masters; `fast` / `normal` are for drafts. Video: `high` at **5 seconds** is the
  recommended shot; `ultimate` is the highest resolution with the longest wait. Every preset above `normal` (image)
  or `fast` (video) is tier-gated — `get_account` lists what the connected account may submit and the best pick open
  to it (`recommendation`), so never probe presets.
- **Channels and engines.** `get_account` names the engine behind each image and video channel and what it takes
  (`platform.engines`: a `summary` sentence plus, from server 2.9.0, the reference cap `maxRefCreationIds`, sound,
  aspect ratio and frame rate); `next` (`imageModel` / `videoModel`) is the channel kept for the next engine — leave it unset
  unless `get_account` shows a distinct engine there. A closed channel is refused, uncharged.
- **Lengths.** A clip runs at the length asked, in exact seconds: `get_account` lists the lengths the account may
  submit (`videoDurations`, tier lock resolved); any other length is refused with `INVALID_DURATION`, uncharged.
- **Images** keep up to 6 `refCreationIds`
  natively, renders legible text and honours long literal prompts — describe the scene
  plainly rather than in keyword lists. Same quality ids, priced on render time, and every reference adds a
  surcharge. `get_account` reports the presets open to the account (`qualities`, `canUseImageNext` for the `next`
  channel); a submit below a gate is refused with the tier that opens it, uncharged.
- **Video** renders clips **with sound** at 24 fps from a first frame plus
  up to 6 `refCreationIds` (each adds a surcharge), with an optional `aspectRatio` (`auto` keeps the first frame's
  ratio) and an optional audio reference — an MP3 from `upload_audio` as `audioCreationId`, `audioUse: "music"`
  (soundtrack / sound design) or `"voice"` (a voice sample the speaking character follows); it counts as one more
  reference. Lengths and presets depend on the account: `get_account` lists what it may submit. Long clips render for several minutes:
  expect a `queueId` and collect it with `check_generation`.
- **Shots.** With `style: "raw"`, write the clip the way TIXI does: the first frame is
  the opening shot (describe it as it is at 0 s, then the changes in order), about one shot per 1.7–2 s (5 s = 2–3,
  8 s = 4, 10 s = 5, 20 s = 12; under 3 s one continuous shot), one camera idea and about one action per shot, each
  subject anchored by its face, hair, garments and colours, and each sound written next to the action that makes it.
- **Video styles and TIXI.** Every video style except `raw` (and `auto`) runs TIXI on the prompt: the style's
  guidance only exists through that rewrite, so it cannot be switched off. `style: "raw"` sends the prompt verbatim —
  pass `enhance: true` to have TIXI write the clip's brief (shots, pictures and, on an engine with sound, the
  sound) from a short idea; a prompt starting with `tixi ` adds a thinking pass (the word is dropped from what TIXI
  reads). No extra credit either way.
- **Price** — video is priced on render time, which grows faster than the length (8 s ≈ 1.7–2.2×, 10 s ≈ 2.2–3.4×,
  20 s ≈ 6–12× the 5 s price, higher presets at the top of each range), +5 % per reference after
  the first frame, the audio reference included. `auto` draws the
  preset within the account's tier, so pin it for a predictable cost; every submit returns the
  resolved `quality` next to `costUsd`.
- **Batches.** `check_generation` takes `queueIds` (up to 25) to poll a whole batch of shots in one call.
- **Prompts are never cut silently.** Listing rows shorten `prompt` / `description` with an ellipsis and a
  `promptTruncated` flag; `get_creation` returns the full text, so a prompt can be re-read and replayed.
- **References are checked at submit.** An `inputCreationId` / `refCreationIds` entry that is unknown, in the
  trash, deleted, or not visible to the account is refused with `CREATION_NOT_FOUND` and the ids, before any
  charge (restore it with `organise_creation`, or drop it).
- **Prompts** are capped per account tier (1,500 characters as a Guest, 8,000 at Supporter, 20,000 at Founder): `get_account` reports the exact cap as `promptMaxChars` and the tier that raises it as `promptMaxCharsNext`; a longer `prompt` is refused with `PROMPT_TOO_LONG` before any charge, a longer `negativePrompt` is truncated to the cap.
  TIXI enhancement is off by default on `generate_image` (`enhance: true` rewrites a short brief into a full prompt);
  `character-ref`, wallpaper resize and the artistic-style tool always run it.
- **Costs** are charged at submit against the account's USD credit and refunded on failure; `get_account`
  shows the headroom, `get_stats` the 30 / 90-day burn.
- **Moderation refusals carry the reason and the Terms.** A prompt, an upload or a reference the moderation pass
  refuses (`NSFW_REJECTED`, `NSFW_REFS_BLOCKED`) comes back as a tool error with the server's reason (one sentence
  per category, never the prompt), the category when the content is prohibited, the refused reference ids, and the
  Terms of Use link (`https://www.2dai.io/terms`). Nothing is charged. Relay the reason and the link to the user and
  do not resubmit the same content.
- **Links.** `get_account` ends with the Terms of Use, the privacy policy, the website and every 2DAI community
  network, and returns them in `platform.links` (`website`, `terms`, `privacy`, `socials: [{ id, name, description,
  url }]`), read from the API so they never go stale.
- **Content rating is not an error.** Every output carries `nsfwLabel` / `nsfwRate`. From Near-nude (0.8) the
  reply adds `contentRestricted: true`: the generation succeeded and was charged, the creation is kept but masked
  in the owner's drive, cannot be published, and its caption is withheld (`get_creation` returns it). Hand over
  the `viewUrl` for review instead of retrying. Only `NSFW_MAX_EXCEEDED` discards an output, uncharged.
- **Skill.** The package ships [`skills/2dai/SKILL.md`](https://github.com/2DAICommunity/2dai-mcp-server/blob/main/skills/2dai/SKILL.md)
  — a platform guide for agents (quality ladder, costs, the film recipe, brand-consistency recipe, limits). Point
  your agent runtime at it, or read it once per session.

## The 2DAI stack

2DAI runs its own models, and unlike others, we don't resell model access. All our
models originate from the open-source community or our own R&D — we then
disassemble, modify, fine-tune and optimize them to align with our legacy and
**2DAI❤️ART** lines. They also run on our own private cloud network.

`get_account` names the engine behind each channel (`platform.engines`, `modelLabels`); the `next` channels are
kept for the next engine.

`get_account` carries the engine names and the stack sentence (`platform`), and generation replies carry `aiModel`
and, when the server sends it, the engine that rendered the job (`videoEngine` / `imageEngine`), so an agent can
answer "what powers you?" without extra plumbing.

## License

MIT

## Links

- **Website** — [www.2dai.io](https://www.2dai.io)
- **Terms of Use** — [www.2dai.io/terms](https://www.2dai.io/terms) · **Privacy policy** — [www.2dai.io/privacy](https://www.2dai.io/privacy)
- **Telegram** — [t.me/Token2dAI](https://t.me/Token2dAI) · chat, the free /gen bot, support
- **X** — [@2DAICommunity](https://x.com/2DAICommunity) · news, launches, drops
- **Instagram** — [@2dai.io](https://www.instagram.com/2dai.io/) · art and series
- **YouTube** — [@2DAICommunity](https://www.youtube.com/@2DAICommunity) · videos and sagas
- **Reddit** — [r/2DAI](https://www.reddit.com/r/2DAI/)
- **TikTok** — [@2daicommunity](https://www.tiktok.com/@2daicommunity) · short clips
- **$2DAI on Base** — [chart on Dexscreener](https://dexscreener.com/base/0x2b5963f06eb366ecd7c669efde258860cc9b90d4) · stake for tiers & daily credit airdrops
- **SDK** — [2dai-cloud-sdk](https://www.npmjs.com/package/2dai-cloud-sdk) for scripts, servers and apps
- **GitHub** — [2DAICommunity](https://github.com/2DAICommunity)

TDQS

A4.3/5.0

Scored across 21 tools

Disambiguation5/5

Each tool targets a distinct resource and action: generation tools are differentiated by input type (text, refs, video, wallpaper, similar), queue management is separate, and finance tools are read-only. No two tools have overlapping purposes.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (get_, generate_, list_, manage_, organise_, etc.). The naming is uniform and predictable across the entire set.

Tool Count3/5

21 tools is on the heavier side and falls within the 'borderline' range for tool count. However, the broad scope of the 2DAI platform (generation, asset management, folder management, finance) justifies the number, though consolidation could be considered.

Completeness5/5

The tool surface covers the full lifecycle: generation in multiple forms, queue polling/cancellation, upload/download, listing with filters, folder CRUD, organisation (move, trash, like, delete), and finance read-only. There are no obvious gaps for the stated purpose.

Maintenance

ActivityActive
ResponsivenessNo recent community issues