Purpose
dare-mcp-server is an MCP (Model Context Protocol) server for invoking Dare (trydare.com) AI video and image generation capabilities within the Claude environment. Users can request video or image generation in natural language in Claude Code, the Claude desktop app, and Cowork, with costs charged to their existing Dare credits and no need to purchase a new subscription or API key.
Key capabilities
- Video models: Seedance 2.5, Seedance 2.0, Veo 3.1, Kling 3.0 Pro, Hailuo 2.3.
- Image models: Nano Banana 2, GPT Image 2, Seedream 5 Pro.
- Reference assets: Seedance 2.5 supports up to 50 references (30 images, 10 videos, 10 audio), each video 2–30 seconds, with a total of 30 seconds per category; when a video reference is attached, duration and aspect ratio are derived automatically. Seedance 2.0 supports 12 references (9/3/3), totaling 15 seconds, and audio references must be paired with visual references. Veo 3.1 supports up to 3 images, with a fixed duration of 8 seconds. Kling and Hailuo do not support reference assets.
- Cost estimation: quotes can be obtained before generation, and dry_run is supported to inspect request specifications without submitting.
- Uploads: local files and URL uploads are supported (both disabled under HTTP transport), and URL uploads have SSRF protection.
Usage
Requires Node.js 20 or later. Run the setup wizard in a terminal:
npx dare-mcp-server setup
The wizard prompts for where to obtain the Dare token, validates the token and displays the credit balance, saves the token to ~/.dare-mcp/config.json(permissions 0600), and automatically adds configuration for Claude Code and/or the Claude desktop app. After completion, restart Claude; in Claude Code, /mcp should list dare. The alias npx dare-mcp setupcan also be used.
For the desktop app without a terminal: download from the mcpb-0.2.0 release page dare-mcp-server-0.2.0.mcpb, open it, and paste the Dare token as prompted. The server is also listed in the official MCP Registry under the identifier io.github.avi-aggarwal14/dare-mcp-server.
Obtaining the token: log in via Chrome, Edge, Arc, or Brave to https://trydare.com,打开开发者工具,进入 Application → Storage → Cookies → https://clerk.trydare.com,找到名为 __client cookie and copy its value (a long string starting with eyJ). This cookie is valid for about one year.
Credential read order: the environment variable DARE_CLIENT_TOKEN takes precedence, followed by ~/.dare-mcp/config.json.
Other environment variables:
DARE_MAX_CREDITS_PER_CALL: per-call credit cap, default 500, used to prevent the model from initiating large-scale batch generation.DARE_UPLOAD_ROOTS: allowlist of local upload paths; when unset, local path uploads are rejected.DARE_ALLOWED_HOSTS/DARE_ALLOWED_ORIGINS: relaxes the scope of DNS rebinding protection for remote HTTP deployments.
Remote HTTP (optional): provides a stateless streamable-HTTP endpoint,POST /mcp, health check /health. At least a 24-character bearer token must be provided to start.
Billing
Dare is billed at provider cost (USD) × 1.5, converted at 750 credits per 49.99 USD, rounded up to 1, 5, or 10 credits. The server reproduces this formula exactly. Example: a 4-second 480p Seedance 2.5 clip costs 20 credits. Seedance models apply a 0.6 multiplier when video references are attached, and Seedance 2.5 additionally bills by the seconds of the reference clip; image and audio references do not change the price.
Use cases
Suited for creators and developers who already have credits on Dare and want to generate video or images directly within a Claude conversation, especially for scenarios that need reference-material-driven generation and cost estimation before batch generation.
Limitations and risks
- Dare does not expose a public developer API; the server uses the web app's private endpoints, Dare may change the interface at any time without notice, and use may exceed its terms of service.
__clienttoken is equivalent to account-level access, can consume credits, and should be safeguarded like a password.- Generation calls are not automatically retried after authentication failure, because Dare's creation endpoint has no idempotency key, and blind retries may result in duplicate charges.
- Under remote HTTP transport, both local file upload and URL upload are disabled.
- The project is MIT-licensed, is not affiliated with Dare, and is not endorsed by it.
Troubleshooting
DARE_UNAUTHORIZED: Cookie is missing, expired, or logged out; rerun setup.DARE_UNKNOWN_PROCEDURE: Dare changed its internal RPC; update the procedure name insrc/dare.tsagainst the web app's network requests.DARE_INSUFFICIENT_CREDITS: Insufficient credits; the error reports required and available credits.DARE_COST_GUARD: The self-set credit limit was triggered.DARE_REFERENCE_UNKNOWN: The reference storage key cannot be resolved, so cost cannot be estimated.DARE_UPLOAD_FORBIDDEN: The file is not in the allowlist, or the transport is HTTP with local reads disabled.
To uninstall the desktop app configuration: delete the dare entry from claude_desktop_config.json .