MCP access for DramaSub translation

DramaSub exposes a Model Context Protocol (MCP) server so AI agents — Claude, Cursor, VS Code, or your own tooling — can translate subtitle files for you: check your remaining allowance, submit an SRT/VTT/ASS file, and collect the finished English translation.

Endpoint

Transport:  Streamable HTTP (stateless, JSON-RPC 2.0)
URL:        https://www.dramasub.asia/mcp
Protocol:   2025-06-18
Methods:    initialize, ping, tools/list, tools/call
Auth:       Authorization: Bearer <your token> on every call

Get an access token

  1. Sign in at dramasub.asia and open your profile.
  2. Go to the API / MCP access section.
  3. Create a token, give it a name (e.g. my-laptop), and copy it. The full token is shown once — store it somewhere safe.
  4. Use it as a bearer token. Revoke any token from the same page if it leaks.

Client configuration

Add the server to your MCP client (example: Claude Desktop's claude_desktop_config.json or Cursor's MCP settings). Replace YOUR_TOKEN with the token you generated.

{
  "mcpServers": {
    "dramasub": {
      "url": "https://www.dramasub.asia/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}

Tools

allowance

Input: none.

Returns how many free full translations you have left (lifetime 3) plus your available prepaid unit balances, so the agent can decide how to pay for a job.

translate_srt

Input: fileName (must end in .srt/.vtt/.ass), content (the full file text, max 5 MiB / 5,000 cues), optional glossaryTerms (free path only) and confirmQuoteId.

If a prepaid pack covers the file's units, the tool first returns a quote (units needed and a confirmQuoteId) and executes only when the call is repeated with that confirmQuoteId — nothing is ever charged without a confirm step. With no prepaid balance, the file runs on your free allowance (3 lifetime full translations). Returns a jobUid you can poll with job_status.

job_status

Input: jobUid.

Returns the job's processing status. When completed, the translated SRT is returned inline, subject to the same serving rules as downloads: prepaid jobs always serve in full, free jobs serve in full within your first-three window and are cut to a preview afterwards.

Billing model

  • Free: 3 full subtitle-file translations per account, lifetime. After that, served files fall back to a 30-cue preview.
  • Prepaid packs: buy units once at dramasub.asia/pricing/packs; each episode-sized file draws units from your balance — always with an explicit quote-then-confirm step.
  • Wall: when both are exhausted, translation stops until you buy a pack — the tool tells you the packs URL.

Rate limits

No extra rate limits in this version — your allowance itself is the cap. If abuse shows up we may add per-token limits; revoke + reissue a token is the instant kill switch.