Sign In

@offlinecreator/mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@offlinecreator/mcp

OfflineCreator Studio MCP server for Cursor, Claude, Hermes, and other MCP clients

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
530
Maintainers
1
Weekly downloads
 
Created
Source

@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, generate images/video, and wait for results.

Current release: @offlinecreator/mcp@0.1.1

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

VariableRequiredDescription
OFFLINECREATOR_API_KEYYesPersonal API key from Settings
OFFLINECREATOR_API_BASENoAPI origin. Default https://offlinecreatorstudio.com. Localhost allowed; other hosts need OFFLINECREATOR_ALLOW_INSECURE_API_BASE=true.
OFFLINECREATOR_UPLOAD_ROOTNoDirectory that upload_input file paths must stay inside (default: process cwd).
OFFLINECREATOR_ALLOW_INSECURE_API_BASENoSet true only for private/non-prod API hosts.

Security notes

  • API keys stay in env / MCP client config — tools never echo them.
  • upload_input cannot read arbitrary disk paths: paths must stay under the upload root, use image extensions, pass size limits, and match image magic bytes.
  • 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.

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 monorepo development:

{
  "mcpServers": {
    "offlinecreator": {
      "command": "node",
      "args": ["C:/path/to/mcp_tool/packages/mcp/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/mcp

Local stdio:

claude mcp add offlinecreator --env OFFLINECREATOR_API_KEY=oc_live_… -- npx -y @offlinecreator/mcp

Hermes

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

ToolPurpose
list_modelsLaunch catalog + credit costs
get_creditsCurrent balance
generateStart generation (wait: true to poll)
upload_inputAttach image for image-to-video, then submit
get_generationCurrent status
wait_generationPoll until done
download_outputShort-lived signed URL for a completed output
cancel_generationCancel reserved job + refund
list_generationsRecent jobs

Tools are filtered by key scope (models, read, generate). Top-up discovery and Checkout creation are CLI/API features, not MCP tools. They always return a URL for a human browser action; agents never charge a payment method directly.

CLI sugar

npx @offlinecreator/mcp models
npx @offlinecreator/mcp balance
npx @offlinecreator/mcp topups
npx @offlinecreator/mcp topup --id topup-1000
npx @offlinecreator/mcp generate --model flux-schnell --prompt "A clean product still" --wait

Development

npm install
npm run mcp:build
OFFLINECREATOR_API_KEY=oc_test_… OFFLINECREATOR_API_BASE=http://localhost:3000 npm run mcp:start

Privacy note

Studio generations run on disclosed cloud providers (not on-device). LocalForge remains the offline product.

Keywords

mcp

FAQs

Package last updated on 08 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts