Purpose
taodock-mcp is an MCP (Model Context Protocol) server that connects Taodock's image and video generation capabilities to MCP clients that support local stdio, such as Claude Desktop, Cursor, VS Code, Gemini CLI, and LobeHub Desktop. With a single Taodock API Key, clients can discover models authorized for the account and complete image generation, asynchronous video task startup, status queries, and finished-product downloads.
Main capabilities
- Use a Taodock API Key to discover image and video models authorized for the account.
- Generate images.
- Start asynchronous video generation tasks and check task status.
- Download completed media files to the local machine.
- Run over local stdio transport without exposing remote HTTP or SSE endpoints.
Usage
Prerequisites: Node.js 20.11 or later; a Taodock account and API Key; an MCP client that can start a local stdio server.
- Create an account at taodock.com/sign-up, check the wallet, then create a Key containing the required models at taodock.com/keys.
- Use the same server definition in MCP clients that support mcpServers JSON. The materials recommend pinning the package version to ensure reproducible startup, and removing @0.2.0 only when intentionally using the latest version every time.
- Configuration locations for each client:
- Claude Desktop: on macOS, ~/Library/Application Support/Claude/claude_desktop_config.json; on Windows, %APPDATA%\Claude\claude_desktop_config.json. Restart Claude Desktop after saving. You can also install the signed release artifact taodock-mcp-0.2.0.mcpb from GitHub Releases.
- Cursor: You can install the Taodock plugin from the Cursor Marketplace (once listed) and enter the API Key in the plugin configuration; the plugin uses stdio starts a fixed-version npm package locally and does not store the Key in the repository. For manual configuration, the path is Settings → Tools & Integrations → MCP Tools → New MCP Server; project configuration .cursor/mcp.json and user configuration ~/.cursor/mcp.json are also supported.
- LobeHub Desktop: Install Taodock AI Image & Video from the LobeHub MCP Marketplace. This requires LobeHub Desktop, Node.js 20.11+, and a Taodock API Key entered in the connector authentication settings. For manual configuration, use the Quick Start definition; the Key should be placed in the LobeHub connector authentication settings, not in project files.
- VS Code: Create .vscode/mcp.json in the workspace, or use the user-level MCP configuration.
- Gemini CLI: Add a local MCP server.
- Do not configure an untrusted base URL; the server rejects plaintext HTTP and URLs containing embedded credentials.
- Image-specific fields go in parameters, and video-specific fields go in request; the selected model and prompt cannot be overridden by these objects. For supported fields, consult the Taodock model guide.
- View usage and costs in the Taodock usage logs.
Running from source: For local client development, replace the npx command with the absolute path to Node and dist/index.js; run npm run mcpb to validate and build the Claude Desktop extension.
Security and Privacy
- The API Key is sent only as a Bearer credential to the configured HTTPS API endpoint.
- Generated image URLs must use HTTPS, redirects are rejected, responses must be images, and downloads are limited to 25 MiB.
- Generated media remains in TAODOCK_OUTPUT_DIR until the user deletes it.
- The MCP host may retain prompts, tool results, file paths, or logs according to its settings.
- For detailed privacy boundaries, see PRIVACY.md and the Taodock privacy policy.
- Report vulnerabilities privately through the repository's GitHub Security Advisory page; do not include API Keys in public issues.
Use Cases
Suitable for users who already work in Claude Desktop, Cursor, VS Code, Gemini CLI, or LobeHub Desktop and want to call Taodock image and video models directly and locally through MCP.
Limitations and Troubleshooting
- Only local stdio is supported; no remote HTTP or SSE endpoints are provided.
- Image and video generation consumes Taodock quota, and generated files are written to the local machine.
- 401: Replace a missing, expired, disabled, or invalid Key in API Keys.
- model_not_found: Verify the Key's group and model permissions, and check the model catalog.
- 403 / insufficient_user_quota: Check the Key quota and wallet.
- Empty image or video list: Confirm that the model is enabled for the Key and supports the required endpoint.
- Server exits immediately: Use Node.js 20.11 or later, and check the MCP client's stderr logs.
- Generated files not found: Set TAODOCK_OUTPUT_DIR to an absolute path.
Documentation:https://docs.taodock.com;支持:https://github.com/taodock-api/taodock-mcp/issues。