dare-mcp-server
Generate AI videos and images on your own Dare account from inside Claude — billed to your existing Dare credits.
Generate video from text prompts across Seedance 2.5/2.0, Veo 3.1, Kling 3.0 Pro, Hailuo 2.3 (spends credits; supports
dry_runpreview)Generate images via Nano Banana 2, GPT Image 2, Seedream 5 Pro (spends credits; supports
dry_run)Estimate credit cost locally before committing, using Dare's pricing table
Check your credit balance
List models with supported durations, qualities, aspect ratios and reference limits
Attach reference media by uploading images, video clips or audio (local file, URL, or base64)
Poll generations for status, credits charged, and final output URL
Cancel in-flight generations to stop credit consumption
Browse your library of generations and uploads with cursor pagination
Delete generations and uploads (destructive, no refunds)
List your Dare projects for filing generations under a project id
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dare-mcp-server Create a cinematic 10-second video of a neon Tokyo street in rain, 16:9"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dare-mcp-server
Generate video and images from inside Claude, billed to your own Dare credits.
Ask Claude for a shot and it makes one — Seedance 2.5, Seedance 2.0, Veo 3.1, Kling 3.0 Pro, Hailuo 2.3 for video, Nano Banana 2, GPT Image 2 and Seedream 5 Pro for stills. No new subscription, no API key to buy: it spends the Dare credits you already have.
> make me a 10 second 720p cinematic shot of rain on a neon Tokyo street, 16:9
Estimated 110 credits (you have 4,280). Generating…
Done: https://storage.trydare.com/…/rain-tokyo.mp4Works with Claude Code, the Claude desktop app, and Cowork.
Dare does not publish a developer API. This server talks to the same private endpoint the Dare web app uses, signed in as you with your own browser session. It works today — every tool here has been exercised against Dare's live servers, including a generation run to completion — but Dare can change that contract without notice, and using it may sit outside Dare's terms of service. Your account, your credits, your call.
Install
You need Node.js 20 or newer. Check with node --version; if that
errors, install the LTS build from nodejs.org (on a Mac, brew install node also works).
Then run one command in your terminal:
npx dare-mcp-server setupThat is the whole install. The wizard:
shows you where to find your Dare token (four clicks in your browser),
checks it against Dare and prints your credit balance,
saves it to
~/.dare-mcp/config.jsonwith owner-only permissions,adds Dare to Claude Code and/or the Claude desktop app for you.
Restart Claude when it finishes. In Claude Code, /mcp should now list dare.
npx dare-mcp setup works too — dare-mcp is a
short alias that forwards to the same package.
Claude desktop app, no terminal: download dare-mcp-server-0.2.0.mcpb from the
mcpb-0.2.0 release, open it,
and paste your Dare token when asked. It is also listed on the
official MCP Registry
as io.github.avi-aggarwal14/dare-mcp-server.
The server signs in as you, using the long-lived Clerk __client cookie from your browser.
It mints a fresh 60-second session token for every call, exactly as the Dare web app does.
Sign in at https://trydare.com in Chrome, Edge, Arc or Brave.
Open DevTools — Cmd+Option+I on macOS, F12 on Windows and Linux.
Go to the Application tab → Storage → Cookies →
https://clerk.trydare.com. (In Firefox and Safari the tab is called Storage instead.)Find the row named
__clientand copy its Value — a long string startingeyJ. Copy the value, not the name.Paste it into the wizard. Your terminal will not echo it back.
The cookie is valid for about a year, so this is a one-time step unless you sign out of Dare.
Treat it like a password. It grants full access to your Dare account and can spend your
credits. The wizard keeps it in one file with 0600 permissions and deliberately does not
write it into your Claude config, so your Claude settings stay safe to sync or share.
Claude Code
claude mcp add dare --scope user -- npx -y dare-mcp-serverClaude desktop app — edit the config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"dare": {
"command": "npx",
"args": ["-y", "dare-mcp-server"]
}
}
}Then quit and reopen the app.
Both of these read your token from ~/.dare-mcp/config.json. If you would rather pass it as an
environment variable (CI, containers, a shared machine), set DARE_CLIENT_TOKEN instead — it
takes precedence over the stored file. See Configuration.
git clone https://github.com/avi-aggarwal14/dare-mcp-server.git
cd dare-mcp-server
npm install # builds automatically
npm run setup # same wizardPoint Claude at node /absolute/path/to/dare-mcp-server/dist/cli.js instead of npx.
Related MCP server: cowork-media-mcp
Check it works
npx dare-mcp-server checkMints a token, reads your balance, lists a few library items. Run it any time the tools start failing — it is the fastest way to tell a stale cookie from a Dare outage.
First things to try
Once Claude has restarted, just ask in plain English:
> how many Dare credits do I have?
> what video models can I use, and what do they cost?
> make a 5 second clip of a paper boat going down a rain gutter, cinematic, 16:9
> use ~/shots/hero.png as a reference and animate the character walking toward camera
> what's in my Dare library from this week?Claude will quote you a credit estimate before spending anything, and you can always ask it to do a dry run first.
Tools
Tool | Spends credits | What it does |
| no | Models with durations, qualities, aspect ratios, reference limits |
| no | Local credit estimate before you commit |
| no | Current balance |
| yes | Text-to-video, Seedance 2.5 by default; optional reference media. |
| yes | Stills via Nano Banana 2, GPT Image 2, Seedream 5 Pro. Supports |
| no | Poll status, get the output URL |
| no | Paginated library listing |
| no | Stop an in-flight job |
| no | Delete from the library (destructive) |
| no | Upload a reference image/clip/audio, returns a |
| no | Previously uploaded references |
| no | Delete an uploaded reference (destructive) |
| no | Your Dare projects |
CLI
Command | What it does |
| Interactive first-run wizard |
| Verify credentials, print credit balance |
| Start the MCP server on stdio (Claude runs this for you) |
| Optional HTTP transport for self-hosting |
| Everything above |
Configuration
Credentials are read in this order, first hit wins:
DARE_CLIENT_TOKENin the environment~/.dare-mcp/config.json(written bysetup)
The stored file is plain JSON, so you can edit it directly:
{
"clientToken": "eyJ...",
"maxCreditsPerCall": 500,
"uploadRoots": ["/Users/you/Movies", "/Users/you/Pictures"]
}Everything else is environment variables:
Variable | Default | Purpose |
| from stored config | The |
|
| Where the stored config lives. |
|
| Refuse any single generation estimated above this many credits. |
| — (blocked) | Comma-separated directories |
|
| Allow uploading from a public URL. Private and link-local addresses are always refused. |
|
| Largest upload accepted. |
| — | A ready-made 60s session JWT. Testing only. |
| auto | Pin a specific |
|
| Per-request timeout. |
|
| Dare RPC base. |
|
| Clerk Frontend API base. |
DARE_MAX_CREDITS_PER_CALL is a client-side circuit breaker against a model talking itself
into a 10-variation 30-second batch (3,200 credits). The default of 500 allows any single
Seedance 2.5 clip while blocking runaway batches; raise it deliberately when you want a batch.
The estimate is conservative in the one place it cannot be exact: a video reference whose
length Dare cannot report is priced at 30 seconds, which is Dare's own assumption. The guard fails closed: if a
reference clip's duration cannot be read, the generation is refused rather than submitted on
a guessed estimate.
DARE_UPLOAD_ROOTS is an allowlist, not a convenience. Without it, dare_upload_media
refuses local paths entirely — otherwise a prompt-injected model could ask the server to
upload your shell environment or Claude config, both of which contain DARE_CLIENT_TOKEN.
Point it at the folders that actually hold your source footage.
Credit costs
Dare prices every job as provider cost in dollars, times 1.5, converted at 750 credits per $49.99, rounded up to the nearest 1, 5 or 10 credits. The server reproduces that formula exactly; it was checked against real charges (a 4s 480p Seedance 2.5 clip billed 20 credits, as predicted). Typical figures:
Job | Credits |
Seedance 2.5, 4s, 480p | 20 |
Seedance 2.5, 8s, 720p | 90 |
Seedance 2.5, 10s, 720p | 110 |
Seedance 2.5, 30s, 480p | 150 |
Seedance 2.5, 30s, 720p | 320 |
Seedance 2.0 Fast, 5s, 480p | 15 |
Seedance 2.0, 15s, 4K | 530 |
Veo 3.1, 8s, 1080p | 80 |
Kling 3.0 Pro, 5s | 20 |
Hailuo 2.3 Pro (fixed 6s) | 15 |
Nano Banana 2 image, 2K | 4 |
GPT Image 2, 1:1 | 5 |
Attaching a video reference applies a 0.6x multiplier on Seedance models, and on Seedance 2.5 the reference clip's own seconds are billed on top. Image and audio references do not change the price.
Always sanity-check with dare_estimate_cost before a batch.
Reference-driven generation
1. dare_upload_media { file_path: "/Users/you/shots/hero.png" }
-> storage_key: "uploads/abc123..."
2. dare_generate_video {
prompt: "the character from the reference walks toward camera through fog",
reference_storage_keys: ["uploads/abc123..."],
duration_seconds: 8
}Seedance 2.5 takes up to 50 references (30 image, 10 video, 10 audio), each clip 2–30s, 30 combined seconds per kind. With a video reference attached it derives duration and aspect ratio automatically. Seedance 2.0 models take 12 (9/3/3), 15s combined, and need a visual reference alongside any audio one. Veo 3.1 takes up to 3 images and is then fixed at 8 seconds. Kling and Hailuo take no references at all.
Remote HTTP (optional)
A stateless streamable-HTTP entrypoint is included for hosting the server behind a URL:
DARE_CLIENT_TOKEN='eyJ...' \
DARE_MCP_BEARER_TOKEN="$(openssl rand -hex 32)" \
PORT=3000 npx dare-mcp-server httpPOST /mcp, health check at /health. The server refuses to start without a bearer token
of at least 24 characters, since these tools spend real money. DNS-rebinding protection is on by
default and scoped to localhost; widen it with DARE_ALLOWED_HOSTS / DARE_ALLOWED_ORIGINS when
deploying behind a domain. Local file uploads and URL uploads are both disabled on this transport
regardless of configuration.
Troubleshooting
DARE_UNAUTHORIZED — the __client cookie is missing, stale, or you signed out of Dare in
that browser. Run npx dare-mcp-server setup again with a fresh value.
DARE_UNKNOWN_PROCEDURE — Dare changed their internal RPC. The procedure names live in
src/dare.ts; compare against a fresh capture from the web app's network tab.
DARE_INSUFFICIENT_CREDITS — the error reports credits required versus available.
DARE_COST_GUARD — your own DARE_MAX_CREDITS_PER_CALL limit fired. Working as intended.
DARE_REFERENCE_UNKNOWN — a reference storage key could not be resolved, so the cost could
not be estimated. Check the key came from dare_upload_media or dare_list_uploads.
DARE_UPLOAD_FORBIDDEN — the file is outside DARE_UPLOAD_ROOTS, or you are on the HTTP
transport where local reads are disabled.
Security notes
The
__clienttoken is account-level access. Anything that can read it can spend your credits.setuptherefore stores it in~/.dare-mcp/config.jsonat0600rather than in your Claude config, which is often synced, backed up or committed.dare_generate_*calls are never retried automatically after an auth failure. Dare's create endpoint has no idempotency key, so a blind retry could bill you twice.Uploading from a URL resolves the host first, refuses loopback, private, link-local, CGNAT, multicast and IPv4-mapped/6to4/NAT64 forms of those, pins the connection to the vetted address so DNS rebinding cannot race the check, and re-checks every redirect hop.
How it works
Claude Code / desktop / Cowork
│ MCP (stdio)
▼
dare-mcp-server
│ 1. POST clerk.trydare.com/v1/client/sessions/{id}/tokens (__client cookie)
│ -> 60s session JWT, cached 45s
│ 2. POST api.trydare.com/rpc/{procedure} (Bearer JWT)
│ oRPC envelope: { json, meta }
▼
Dare backendUploads are three steps: storage.generateUploadUrl -> PUT to signed storage -> uploads.create.
Procedures used
Procedure | Input |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| no input |
spec carries only the keys the chosen model declares, exactly as Dare's composer builds it:
Seedance models send { tool, prompt, model, audioEnabled, aspectRatio, duration, quality, context? },
Kling omits quality, Hailuo sends { tool, prompt, model } and nothing else, GPT Image 2 has no
quality. duration is a string like "8s", context is { mediaStorageKeys, webLinkIds }, and
every attached asset is also referenced in the prompt as @<storageKey>. Use dry_run: true on
either generate tool to see the spec for any combination without submitting.
Errors are mapped so an agent can act on them: a missing record is DARE_NOT_FOUND, a renamed
procedure DARE_UNKNOWN_PROCEDURE, a schema mismatch DARE_BAD_REQUEST with the field-level
issues included.
Generation statuses seen in the wild: queued and processing while running, succeeded
or failed at the end. The finished file is at generation.outputAsset.storageUrl. Anything
unrecognised is treated as still-running, so a renamed in-progress state is never mistaken
for a finished one.
Uninstall
claude mcp remove dare --scope user # Claude Code
rm -rf ~/.dare-mcp # your stored tokenFor the desktop app, delete the "dare" entry from claude_desktop_config.json. Nothing else
is installed — npx does not leave the package behind.
Contributing
Issues and pull requests are welcome, especially:
Dare changed a procedure name or spec shape and something broke
pricing drifted from the table above
a model was added or removed from Dare's composer
git clone https://github.com/avi-aggarwal14/dare-mcp-server.git
cd dare-mcp-server
npm install
npm run build
npm run check # needs a real token
npm run inspect # MCP Inspector against a local buildSee CONTRIBUTING.md. Please never paste a __client token into an issue,
a log, or a test fixture — it is a live credential.
Author
Built by Avi Aggarwal in London. I also run hypjam, a UGC agency for startups.
Licence
MIT. Not affiliated with, endorsed by, or supported by Dare. "Dare", "Seedance", "Veo", "Kling" and "Hailuo" belong to their respective owners.
Available Tools
13 toolsdare_cancel_generationCancel a Dare generationAIdempotent
Cancel an in-flight generation. Use when a job was started by mistake, to stop it consuming credits.
Inputs: generation_id (required).
dare_delete_generationDelete a Dare generationADestructiveIdempotent
Permanently delete a generation and its output from the Dare library. Destructive and irreversible — confirm with the user first. Does not refund credits.
Inputs: generation_id (required).
dare_delete_uploadDelete a Dare uploadADestructiveIdempotent
Permanently delete an uploaded reference asset from the Dare library. Destructive and irreversible — confirm with the user first. Generations that already used it are unaffected.
Inputs: upload_id (required).
dare_estimate_costEstimate Dare credit costARead-onlyIdempotent
Estimate the credit cost of a generation before running it, using Dare's own pricing table. Purely local arithmetic: no network request, no credits spent. Use this to check affordability, compare quality tiers, or size a batch.
Inputs: model (required), kind, count, quality, +6 more.
dare_generate_imageGenerate an image on DareA
Generate a still image on Dare with Nano Banana 2, GPT Image 2 or Seedream 5 Pro. SPENDS CREDITS. Useful for producing a reference frame to feed into dare_generate_video.
Inputs: prompt (required), count, model, dry_run, +5 more.
dare_generate_videoGenerate a video on DareA
Generate a video from a text prompt on Dare, defaulting to Seedance 2.5. SPENDS CREDITS from the signed-in Dare account (a 10s 720p Seedance 2.5 clip is ~110 credits; call dare_estimate_cost first). Returns generation ids immediately. Rendering is slow — Seedance 2.5 jobs commonly take 5–15 minutes — so leave wait_seconds at 0 and poll with dare_get_generation, or set it only if your client tolerates long tool calls. Attach reference images, clips or audio by uploading them first with dare_upload_media and passing the storage keys.
Inputs: prompt (required), count, model, dry_run, +7 more.
dare_get_credit_balanceGet Dare credit balanceARead-onlyIdempotent
Fetch the signed-in Dare account's current credit balance. Read-only. Use before a large batch to confirm there is enough headroom.
Inputs: response_format.
dare_get_generationGet a Dare generationARead-onlyIdempotent
Fetch one generation by id: its status (queued, processing, succeeded, failed), credits charged, and — once finished — the output asset URL. Read-only. Poll this after dare_generate_video; video jobs commonly take 5–15 minutes. Use wait_seconds to block for up to that long per call, sized to what your client's tool timeout allows (e.g. 45 for desktop apps, 300+ for Claude Code), and call again until status is terminal.
Inputs: generation_id (required), wait_seconds, response_format.
dare_list_generationsList Dare library itemsARead-onlyIdempotent
List recent items in the Dare library — generations and uploads, newest first — with cursor pagination. Read-only. Use it to find an earlier video's id or an upload's storage key.
Inputs: limit, cursor, response_format.
dare_list_modelsList Dare modelsARead-onlyIdempotent
List the video and image models available on Dare with their supported durations, aspect ratios, quality tiers and reference limits. Call this before generating so parameters are valid for the chosen model, and dare_estimate_cost for prices. Makes no network request and spends no credits.
Inputs: kind, response_format.
dare_list_projectsList Dare projectsARead-onlyIdempotent
List the account's Dare projects, for filing generations under a project id. Read-only.
Inputs: response_format.
dare_list_uploadsList Dare uploadsARead-onlyIdempotent
List previously uploaded reference media with their storage keys. Read-only, cursor-paginated.
Inputs: limit, cursor, response_format.
dare_upload_mediaUpload reference media to DareA
Upload an image, video or audio file to Dare and return its storage key, for use as a reference in dare_generate_video or dare_generate_image. Accepts a local file path, a public URL, or base64 bytes. Spends no credits.
Inputs: url, name, base64, file_path, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool targets a distinct resource and action: models, costs, balance, video generation, image generation, generation lifecycle, media uploads, and projects. Even generation and upload operations are clearly separated by resource type, leaving no realistic ambiguity.
All tools follow the same dare_<verb>_<noun> pattern with consistent verb choices like list, get, create/generate, cancel, delete, and upload. The naming is uniform and predictable across the entire tool set.
13 tools is well-scoped for a media generation API: it covers model discovery, cost estimation, account balance, generation creation/status/listing/cancellation/deletion, media uploads, and project listing. Each tool earns its place without the set feeling bloated or thin.
The tool surface covers the full generation workflow: estimate cost, check balance, generate, poll status, list, cancel, and delete. Uploads and projects are also covered for their supporting roles. No critical gap prevents an agent from completing a realistic task.
Maintenance
Related MCP Connectors
Images, video, voiceovers, music and editing inside Claude and ChatGPT, priced in credits.
Generate images and video from Claude with one API key.
Generate and edit images and create short videos inside Claude. Prepaid credits, no subscription.
Make AI images, video, voiceovers and music, and edit video, from your assistant. Paid in credits.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables Claude Code to generate, edit, blend, and create variations of images using BytePlus SeeDream AI models, with streaming and Firebase sync.6MIT
- FlicenseNot gradedqualityDmaintenanceLets Claude Cowork/Desktop generate images via Gemini Flash Image and videos via Google Veo through plain language requests.-
- AlicenseAqualityCmaintenanceEnables Claude to generate ByteDance Seedance videos and Seedream images through a BytePlus key, pricing every request in dollars before it is sent. It adds budget limits, ask-first approvals and whole-key spend tracking so costly generations cannot happen without consent.9MIT
- AlicenseAqualityCmaintenanceEnables Claude Code and Codex to generate, extend, and manage Veo videos and Nano Banana images from natural-language prompts, with local output storage and asset tracking. It also supports image-to-video consistency workflows, model discovery, and a storyboard prompt for step-by-step rendering.6MIT