OfflineCreator Studio MCP
OfficialThis MCP server lets you browse Studio models, check credits, run image/video generations, upload source images, poll results, download outputs, cancel reserved jobs, and review recent generations.
List available Studio models, workflows, and credit costs (
list_models).Check the current credit balance (
get_credits).Start text-to-image or text-to-video generations with model, prompt, aspect ratio, and optional wait up to 120s (
generate).Upload a local file-path or base64 source image for a reserved image-to-video generation (
upload_input).Fetch generation status; completed outputs provide short-lived signed URLs (
get_generation).Poll until completion/failure or a 5–300s timeout (
wait_generation).Get a short-lived signed download URL for completed output (
download_output).Cancel a reserved generation before provider submission and refund credits (
cancel_generation).List recent generations with an optional limit up to 100 (
list_generations).
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., "@OfflineCreator Studio MCP Generate an image of a serene lake at sunset"
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.
@offlinecreator/mcp
MCP server + thin CLI for OfflineCreator Studio.
Gives Cursor, Claude Desktop, Claude Code, Hermes, Windsurf, and other MCP clients tools to list models, check credits, run image/video/audio/3D workflows, upload typed assets, and retrieve every result.
Version: 0.1.5. This is the upcoming npm release. Treat @offlinecreator/mcp@0.1.5 as unpublished until it is live on npm. The previous published release is @offlinecreator/mcp@0.1.4 (2026-09-27).
New in 0.1.5: request deadlines (120 s per ordinary call, 10 min per upload; a timed-out paid request is reported as REQUEST_TIMEOUT with outcomeUnknown: true, so check list_generations and get_credits before retrying), wait_generation/wait_outcome treat a slow poll as "not finished yet" and end with timedOut: true instead of an error, upload bodies are no longer copied in memory, a stricter upload jail (realpath containment, file identity compared with 64-bit ids, regular files only), and upload_input refuses GIF up front.
New in 0.1.4: cancel_outcome,
client_reference on outcome intents (order the same brief again as a new
order), wait_outcome that reads run.outcome_status (cancelled and
partially completed orders end the wait; a draining cancel keeps it going), and
A2A CancelTask answering TaskNotCancelable once a job reached its provider,
maxCredits on generate (Studio refuses a costlier quote without charging),
structuredContent and a resource_link on completed outputs (for clients on
MCP 2025-06-18 or later), and an immediate return from generate on remote
transports. The hosted remote servers serve the published release's tools and
version (PUBLISHED_MCP_RELEASE in src/server.ts); when a later release is
prepared but not yet published, they keep hiding its new tools until it is.
The older 0.1.3 stdio package drops maxCredits, so upgrade for the ceiling.
Recommended remote MCP: https://mcp.offlinecreatorstudio.com/mcp (Streamable HTTP + OAuth 2.1)
API-key fallback: local stdio or https://offlinecreatorstudio.com/mcp
Setup
Add the recommended URL to your MCP client, then complete Studio browser sign-in and consent. No API key is stored in the client configuration.
For local stdio or legacy remote fallback, create a scoped key in Settings
and copy the secret once (oc_live_… or oc_test_…).
Environment
Variable | Required | Description |
| Yes | Personal API key from Settings |
| No | API origin. Default |
| No | Directory that |
| No | Set |
| No | Optional EVM wallet private key for stdio MCP / CLI. Pays x402 USDC challenges for top-ups and pay-as-you-go generations. Never paste into chat. |
| No | Optional per-payment spend cap in USD (default |
Related MCP server: KieAI MCP
Security notes
API keys stay in env / MCP client config — tools never echo them.
upload_inputcannot read arbitrary disk paths: paths must stay under the upload root (symlinks and junctions are resolved first, so a link that points outside the root is refused), use PNG, JPEG, or WebP extensions, pass size limits, and match image magic bytes. GIF is refused with a convert-to-PNG/JPEG/WebP message because Studio does not accept it as an input image.upload_assetuses the same root boundary, a media/mesh extension allowlist, a local magic-byte check of the file content, server-side slot validation, and a 250 MB ceiling. A.binhas no signature, so it is only checked for not being plain text.The jail does not detect hard links or bind mounts: keep only files you are happy to upload under the upload root.
The client only calls
/api/v1/*on a trusted API origin (HTTPS except localhost).Generations still use Studio moderation, credit reserve/refund, and ownership checks.
x402 is payment, not identity: API-key auth still runs first. Wallet keys stay in the agent environment; the hosted OAuth Worker never holds them.
stdio upload_input and upload_asset take filePath under the upload root. Remote connections send imageBase64 instead. Cursor tool-bridge size limits still apply to inline images. See security notes.
Product overview for dual-rail payments: x402 agent payments.
Install by client
Cursor
Recommended remote OAuth:
{
"mcpServers": {
"offlinecreator": {
"url": "https://mcp.offlinecreatorstudio.com/mcp"
}
}
}API-key stdio fallback:
{
"mcpServers": {
"offlinecreator": {
"command": "npx",
"args": ["-y", "@offlinecreator/mcp"],
"env": {
"OFFLINECREATOR_API_KEY": "oc_live_…"
}
}
}
}Never put the key in the URL or use ?api_key=.
Local checkout of this repository:
{
"mcpServers": {
"offlinecreator": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"OFFLINECREATOR_API_KEY": "oc_test_…",
"OFFLINECREATOR_API_BASE": "http://localhost:3000"
}
}
}
}Claude Desktop
Add https://mcp.offlinecreatorstudio.com/mcp in Settings → Connectors →
Add custom connector. Use the stdio JSON above in
%APPDATA%\Claude\claude_desktop_config.json as the API-key fallback.
Claude Code
Remote OAuth:
claude mcp add offlinecreator --transport http https://mcp.offlinecreatorstudio.com/mcpLocal stdio:
claude mcp add offlinecreator --env OFFLINECREATOR_API_KEY=oc_live_… -- npx -y @offlinecreator/mcpHermes
Add to ~/.hermes/config.yaml, then run /reload-mcp:
mcp_servers:
offlinecreator:
url: "https://mcp.offlinecreatorstudio.com/mcp"Windsurf
Add to %USERPROFILE%\.codeium\windsurf\mcp_config.json:
{
"mcpServers": {
"offlinecreator": {
"serverUrl": "https://mcp.offlinecreatorstudio.com/mcp"
}
}
}VS Code / Copilot
VS Code uses servers rather than mcpServers. Add to .vscode/mcp.json or
the MCP user configuration:
{
"servers": {
"offlinecreator": {
"type": "http",
"url": "https://mcp.offlinecreatorstudio.com/mcp"
}
}
}Legacy remote API-key fallback
Clients that support fixed headers can still use:
{
"mcpServers": {
"offlinecreator": {
"url": "https://offlinecreatorstudio.com/mcp",
"headers": {
"Authorization": "Bearer ${env:OFFLINECREATOR_API_KEY}"
}
}
}
}Never put a key in the URL or use ?api_key=.
Tools
Tool | Purpose |
| Launch catalog + credit costs |
| Lock a provider-routed quote before generation |
| Intent → route → quote → local workflow DAG → evaluate. Preview only; does not start live catalog jobs. |
| Payable outcome quote against the studio credit ledger ( |
| Run the workflow. API keys call the generation service and project settlement eligibility from reservations. Never settled. With outcome holds on for the account, the order's full price is held once, steps draw from it, a failed step's refund returns to the hold (a retry costs nothing extra) and the rest returns to the balance when the order finishes, is cancelled or sits idle for 30 minutes (6 hours at most). The same brief from the same account is the same order; send |
| Acknowledge a completed outcome against existing generation reservations. Does not debit credits again. Unauthenticated production returns |
| Fetch the stored receipt and live run for an attestation hash. |
| Poll the stored run until the order finishes (completed, failed, cancelled or partially completed); a cancel that is still draining keeps the wait going. Does not start catalog work. Download from |
| Cancel an outcome order: steps not yet at a provider stop and their credits return; running jobs finish and are charged only if they succeed. 200 when done, 202 while jobs finish ( |
| Rate-card capabilities. |
| Re-hash a routing attestation. Unauthenticated production returns |
| Current balance |
| Start generation. Optional |
| Attach image for image-to-video, then submit |
| Attach an ordered image, video, audio, mesh, or draft-cache input; optionally submit |
| Current status |
| Poll until done |
| Short-lived signed URL for a completed output |
| Cancel a reserved job before submission + refund; repeating is safe, and a submitted or finished job answers 409 with a reason |
| Recent jobs |
Completed outputs from generate, upload_input, upload_asset,
get_generation, wait_generation, and download_output also return MCP
structuredContent and a resource_link (uri, name, mimeType) to the
signed output, after the unchanged text JSON, when the request speaks protocol
revision 2025-06-18 or later. Older revisions (including a 2025-era HTTP request
without MCP-Protocol-Version, which counts as 2025-03-26) get the text JSON
only, since neither field exists before 2025-06-18.
Tools are filtered by key scope (models, read, generate). Top-up
discovery and Checkout creation are CLI/API features, not MCP tools.
Two payment rails:
Humans / Stripe: CLI
topups/topup --id … --stripe(or Studio pricing Buy) return a Checkout URL for a human browser action. Agents must not complete card checkout inside the MCP client.Agents / x402 (optional): With
X402_EVM_PRIVATE_KEYset,topupandgeneratecan settle USDC when the API returns HTTP 402 with aPAYMENT-REQUIREDheader. Legacy JSONINSUFFICIENT_CREDITS402s (noPAYMENT-REQUIRED) still mean “fund via Stripe.” See x402 agent payments.
CLI sugar
npx @offlinecreator/mcp models
npx @offlinecreator/mcp balance
npx @offlinecreator/mcp topups
npx @offlinecreator/mcp topup --id topup-1000 # x402 when wallet set; else Stripe URL
npx @offlinecreator/mcp topup --id topup-1000 --stripe # force Stripe Checkout URL
npx @offlinecreator/mcp quote --model seedance-2-5-text --options '{"duration":5,"resolution":"720p"}'
npx @offlinecreator/mcp plan-outcome --north-star
npx @offlinecreator/mcp execute-outcome --ecommerce --x402 --wait
npx @offlinecreator/mcp generate --model flux-schnell --prompt "A clean product still" --waitPass the quote response's lockedQuoteToken as quoteToken to generate.
Studio manages provider selection and permits only bounded failover that does
not increase the reserved customer charge.
Development
This repository is the public npm and MCP Registry mirror. Validate it with:
npm ci
npm run validateLocal stdio against a private API:
npm run build
OFFLINECREATOR_API_KEY=oc_test_… OFFLINECREATOR_API_BASE=http://localhost:3000 npm startPrivacy note
Studio generations run on disclosed cloud providers (not on-device). LocalForge remains the offline product.
Policy and legal
Anthropic's current Software Directory Policy does not accept software whose primary service is AI-generated images, video, or audio. OfflineCreator Studio is therefore not eligible for the public Claude Connectors Directory at this time. Claude custom connectors remain supported through the remote MCP URL.
Licensed under the MIT License.
Available Tools
9 toolscancel_generationCancel generationADestructiveInspect
Cancel a reserved generation before provider submit and refund credits.
Inputs: generationId (required).
download_outputDownload output URLARead-onlyInspect
Return a short-lived signed download URL for a completed generation (does not stream bytes into the model context).
Inputs: generationId (required).
generateGenerateAInspect
Start a Studio generation. Text-to-image and text-to-video queue immediately. For image-to-video, call upload_input after reserve. Set wait:true to poll until completed/failed.
Inputs: prompt (required), modelId (required), wait, aspectRatio.
get_creditsGet creditsARead-onlyInspect
Return the current Studio credit balance for this API key.
Inputs: no named parameters.
get_generationGet generationBRead-onlyInspect
Fetch status. When completed, outputUrl is a short-lived signed download link.
Inputs: generationId (required).
list_generationsList generationsCRead-onlyInspect
List recent generations for this account.
Inputs: limit.
list_modelsList modelsARead-onlyInspect
List OfflineCreator Studio launch models with credit costs and workflows.
Inputs: no named parameters.
upload_inputUpload input imageAInspect
Upload a source image for a reserved image-to-video generation, then start processing. Local filePath must stay inside the upload root.
Inputs: generationId (required), wait, filePath, aspectRatio, +2 more.
wait_generationWait for generationARead-onlyInspect
Poll until completed/failed or timeout. Completed responses include a signed outputUrl.
Inputs: generationId (required), timeoutSeconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools map to distinct actions, but get_generation, wait_generation, and download_output all touch the same output-retrieval step and could be confused (status fetch vs. poll vs. signed URL). Descriptions do clarify the intended use of each, keeping ambiguity low overall.
All tools use snake_case verb-first naming (list_generations, cancel_generation, get_credits, upload_input). The lone 'generate' drops the noun object but still fits the dominant verb-first convention.
Nine tools is a well-scoped set for a generation service, with each tool covering a distinct step in the create/poll/retrieve/cancel lifecycle. Nothing feels redundant or padded.
The surface covers the full generation lifecycle: models, credits, generate, upload, status, poll, cancel, and download. Minor gaps like deleting/cleaning up old generations or re-running a failed job are absent but agents can work around them.
Maintenance
Related MCP Connectors
Generate images, video, audio and short films with 140+ AI models from any MCP client.
Stivio MCP server - AI image-to-video generator via MCP.
MCP server for Pixapi: check live credit pricing and balance, then generate images and video.
MCP server for Wan AI video generation
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server for generating images and videos using Google Gemini and VEO models, with support for multiple AI models and credential modes.165 PyPI1Apache 2.0
- AlicenseAqualityDmaintenanceMCP server for AI-powered media generation: images, videos, audio, and upscaling using 99 AI models.6MIT
- AlicenseAqualityBmaintenanceMCP server for Pixmax API enabling generation of images, video, text, audio, and 3D across dozens of models like Midjourney, Kling, and ElevenLabs.10MIT
- AlicenseAqualityDmaintenanceMCP server for generating and editing images and videos via DashScope/OpenAI-compatible APIs, with tools for text-to-image, image editing, text/video generation, and automatic local download.5MIT