2DAI logo

2DAI

Generate images and video, manage references, and organise a 2DAI cloud drive through MCP.

Install 2DAI

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "2dai-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "2dai-mcp-server"
      ],
      "env": {
        "TWODAI_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

2DAI MCP server connects AI clients to a user’s 2DAI account for image and video generation, reference uploads, media downloads, and cloud-drive organisation. It supports local stdio execution with npx and a hosted Streamable HTTP endpoint, using a 2DAI API key for authentication. Generation tools can return inline previews or queue IDs for later polling, while read-only tools cover account details, creations, public-feed browsing, statistics, and wallet information. Reach for 2DAI when an agent needs to create media and manage the resulting assets within the same 2DAI workspace.

Use cases

  • Generate images from text prompts
  • Animate finished creations into short videos
  • Create character-consistent scenes from references
  • Organise generated media into cloud-drive folders
  • Browse, download, and publish creations

Key features

  • Gen8 and Gen8.1 image generation
  • Gen8.1 video with optional audio references
  • Reference uploads and image editing
  • Queued generation polling and cancellation
  • Cloud-drive folders, search, and publishing
  • Read-only account, usage, and wallet tools

Tools25

What 2DAI lets your agent do. Expand a tool for its parameters.

Verified live~9.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

5/5 checks healthy over the last 16d

What it can do

From the 25 tools this server returned when we ran it; 25 declare their own safety hints.

Can delete or modify data · 2Writes files · 1Handles credentials · 5Makes network requests · 25Read-only tools · 22
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age89 days
Maintainers1

Observed 2026-11-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · 2dai-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads2.3kPackage downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Tools exposed25Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How 2DAI works

What 2DAI does

2DAI exposes image, video, cloud-drive, and account operations through MCP. Agents can turn text into images, animate existing creations, create variations, expand images into landscape wallpapers, apply curated artistic styles, and use existing creations as character, style, or editing references. Gen8.1 image generation supports up to six references when the account is eligible, while Gen8.1 video can include sound, additional visual references, an aspect ratio, and an uploaded MP3 used as music or a voice sample.

The server also provides tools for finding and managing assets. Agents can search, filter, sort, and paginate creations; inspect folders and folder groups; browse the public feed; download media; publish eligible creations; and move, like, trash, restore, or permanently delete items. Account and usage tools expose credit, tier access, generation statistics, storage, and cached token pricing. Wallet and staking tools are read-only and require the optional finance scope.

How it works

Every operation runs against the authenticated 2DAI account. Generation calls spend account credit, and their responses include the resolved quality and cost when applicable. Short operations may return a finished creation, but video and longer jobs commonly return a queue ID. Use check_generation to poll one job or a batch of up to 25 jobs; cancel_generation can stop a job only while it remains waiting, with the charge refunded.

Before generating, get_account reports the account’s tier, available presets, duration access, and whether Gen8.1 images or video are available. This avoids submitting tier-locked options. Reference IDs can come from earlier generations, uploaded media, or library results. Uploads and downloads can use local paths in the stdio process or base64 data with the hosted service.

Setup and configuration

Create a 2DAI API key in the 2DAI dashboard under Integrations and API keys. For local execution, configure an MCP client to run npx -y 2dai-mcp-server with TWODAI_API_KEY in the environment. Claude Desktop, Cursor, Cline, Windsurf, and Claude Code are shown with compatible configurations.

The hosted alternative is available at https://mcp.2dai.io:800/mcp using Streamable HTTP and a Bearer token containing the same API key. It needs no Node runtime or local process. The hosted service has no filesystem access: use base64 for uploads, and use the returned download URL when retrieving full-resolution files. Local path access is restricted to the working directory unless TWODAI_FILE_ACCESS=any is set.

Tools and capabilities

  • Generate images from prompts, with optional aspect ratios, quality presets, models, and references.
  • Create character-consistent images, style transfers, smart edits, artistic-style paintings, and similar generations.
  • Animate still creations into videos, including Gen8.1 clips with sound and optional audio references.
  • Upload images, video files, or MP3 audio; download previews or full-resolution creations.
  • Search and organise folders, groups, creations, likes, trash, shared content, and public publishing.
  • Inspect account access, statistics, wallet history, staking locks, and cached $2DAI pricing.

Generation and media-upload tools apply account permissions, credit rules, file-size limits, and content moderation. The finance scope is opt-in, and no wallet tool can move funds.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about 2DAI

2DAI is an MCP server that connects AI clients to a user’s 2DAI account. Its main tools generate images and video, upload and download media, manage creations and folders, browse the public feed, and inspect account or usage data. It authenticates with a 2DAI API key and supports local stdio or hosted Streamable HTTP.

Run it with `npx -y 2dai-mcp-server` and set `TWODAI_API_KEY` in the MCP client environment. Create the key in the 2DAI dashboard under Integrations and API keys. A hosted Streamable HTTP endpoint is also available if you do not want to run a local Node process.

Yes, 2DAI works with Cursor. Add a server entry that runs `npx -y 2dai-mcp-server` with `TWODAI_API_KEY`, or configure Cursor to use the hosted endpoint at `https://mcp.2dai.io:800/mcp` with a Bearer token.

Call `check_generation` with the `queueId` returned by `generate_video`. Video jobs commonly take one to several minutes and may remain queued while processing. The tool returns the completed creation when it is ready and can check up to 25 queue IDs in one call.

Yes, Gen8.1 video can use an uploaded MP3 as an audio reference. Upload the file with `upload_audio`, then pass its returned creation ID to `generate_video` as `audioCreationId` and choose `audioUse` as `music` or `voice`. MP3 files are limited to five minutes.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG Preview2DAI AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/2dai-mcp-server?style=directory)](https://allmcps.com/mcp/2dai-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/2dai-mcp-server"><img src="https://allmcps.com/api/badge/2dai-mcp-server?style=directory" alt="2DAI on AllMCPs" /></a>