Connect with MCP

Remote server

URL: https://seedance-2.app/api/mcp

The server uses Streamable HTTP with JSON responses and no persistent transport session. It negotiates supported MCP protocol versions including 2025-06-18. Use a client that supports a remote MCP URL and OAuth 2.1, or a client that can send an API key as a Bearer header.

OAuth connection

  1. Add the remote server URL in your client's MCP connection settings.
  2. Choose OAuth or automatic authentication.
  3. Sign in to Seedance and inspect the application's name, redirect destination and requested permissions.
  4. Explicitly allow access. The client returns to its registered redirect URI and exchanges a single-use S256 PKCE code.
  5. Start with list_models or get_credit_balance.

Discovery metadata is available at /.well-known/oauth-protected-resource/api/mcp and /.well-known/oauth-authorization-server. Public clients can register at /api/oauth/register. Access tokens last one hour; refresh tokens rotate. Revocation invalidates the token family. An OAuth grant is bound to this MCP resource and does not become an unrestricted browser session.

Tools

ToolPermissionCost behavior
list_modelsmodels:readReads model contracts
quote_generationmodels:readValidates inputs; no reservation
create_generationgenerations:createRequires an explicit credit cap and idempotency key; uses your account credits
get_generationtasks:readReads/refreshes your task only
get_credit_balancecredits:readReads site credits

Tell the client what you want to create. Have it obtain a quote before generation and use that quote as maxCostCredits. It should preserve the idempotency key for a retry and poll the accepted task rather than create another copy.

API key clients

Clients without OAuth can send Authorization: Bearer YOUR_API_KEY. Create the key in Settings → API Keys. Keys grant access to the owner's generation account and credit balance; revoke unused keys from the same settings page.