Raywake MCP
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., "@Raywake MCP find image models for product photography and compare their starting prices"
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.
Raywake MCP
500+ AI image, video and audio models in Claude, ChatGPT, Cursor and any MCP client.
An open-source TypeScript MCP server for Raywake. Use the hosted connector at https://mcp.raywake.com/v1 with nothing to install, or run this package locally over stdio with npx (Node.js 20 or later).
Get an API key
Create a key at raywake.si/api-keys. Enable models:read, generate, jobs:read, and wallet:read for all tools (upload_file needs generate, list_media needs jobs:read). Add USD balance at raywake.si/billing when you want to generate. Browsing, uploads, quotes and job checks are free.
Replace YOUR_RAYWAKE_API_KEY in the configurations below. Keep your key private and keep configuration files containing it out of version control.
Related MCP server: media-gen-mcp
Claude Code
claude mcp add raywake -e RAYWAKE_API_KEY=YOUR_RAYWAKE_API_KEY -- npx -y @raywake/mcpCursor
Add to ~/.cursor/mcp.json (or your project's .cursor/mcp.json), then enable Raywake in MCP settings:
{
"mcpServers": {
"raywake": {
"command": "npx",
"args": ["-y", "@raywake/mcp"],
"env": { "RAYWAKE_API_KEY": "YOUR_RAYWAKE_API_KEY" }
}
}
}Claude Desktop
Open Settings > Developer > Edit Config and add to claude_desktop_config.json. Restart Claude Desktop after saving.
{
"mcpServers": {
"raywake": {
"command": "npx",
"args": ["-y", "@raywake/mcp"],
"env": { "RAYWAKE_API_KEY": "YOUR_RAYWAKE_API_KEY" }
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json, then refresh MCP servers:
{
"mcpServers": {
"raywake": {
"command": "npx",
"args": ["-y", "@raywake/mcp"],
"env": { "RAYWAKE_API_KEY": "YOUR_RAYWAKE_API_KEY" }
}
}
}VS Code
Add to .vscode/mcp.json. VS Code prompts for your key and stores the input securely:
{
"inputs": [
{
"type": "promptString",
"id": "raywake-api-key",
"description": "Raywake API key",
"password": true
}
],
"servers": {
"raywake": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@raywake/mcp"],
"env": { "RAYWAKE_API_KEY": "${input:raywake-api-key}" }
}
}
}These JSON examples are complete minimal configurations. Merge the raywake entry into an existing configuration to retain your other servers. On Windows, if the client cannot start npx, use "command": "cmd" and "args": ["/c", "npx", "-y", "@raywake/mcp"].
Remote (no install)
Raywake also hosts the same tools over Streamable HTTP:
https://mcp.raywake.com/v1Claude.ai / Claude Desktop: Settings > Connectors > Add custom connector, paste the URL, then sign in with your Raywake account.
ChatGPT: Settings > Connectors > Create (developer mode), paste the URL, then sign in with your Raywake account.
Claude Code:
claude mcp add --transport http raywake https://mcp.raywake.com/v1, then run/mcpto sign in. To use an API key instead: add--header "Authorization: Bearer YOUR_RAYWAKE_API_KEY".
OAuth connections set a per-generation spending limit at sign-in and expire after 30 days; you can disconnect them at any time in Raywake settings.
Tools
Tool | Cost | Purpose |
| Free | Search by |
| Free | List available categories |
| Free | Read the exact input schema and indicative starting price in USD |
| Free | Price an exact |
| Paid | Submit the approved exact |
| Free | Read |
| Free | List account history; optional |
| Free | Read available, reserved and debt balances in USD |
| Free | Upload one local image, video or audio file by |
| Free | List your uploaded files, newest first, with fresh links; optional |
| Free | Read the short workflow, spending and file rules |
search_models maps query to the API's search, and page to limit/offset. Because the API has no modality parameter, modality matches category/tags locally before pagination. Some models may match multiple modalities. get_model preserves the gateway's openapi schema and derives a starting price from its retail price guide when necessary. Starting prices are per the returned unit, such as image or second; they are not a quote for a complete run. An unavailable starting price is returned as null.
Example prompts
"Find image models for product photography and compare their starting prices in USD."
"Show the schema for this model, prepare my input and get a quote. Ask me before spending anything."
"Animate ~/Pictures/product.png into a short video. Show me the price before generating."
"Quote a short video using this public HTTPS image URL. Show me the price before generating."
"I approve this quoted price and input. Generate it, then check the existing job until it finishes."
"Show my recent jobs and retrieve the newest result."
"What is my available USD balance?"
What costs money
Only generate can spend your Raywake balance. Search, schemas, uploads, quotes, wallet reads and job polling are free. The assistant must follow:
Search for a model and read its schema with
get_model.Call
quotewith the complete input.Show you the USD price, expiry and whether it is a usage-based maximum reservation, and get your approval.
Call
generatewith that exact model, input and quote ID.Continue with
get_job; polling never starts another generation.
The quote's settles_on_usage flag indicates a maximum reservation: actual billed usage is charged and unused balance is returned. For an expired quote or changed input, obtain a new quote and approval. If balance is insufficient, top up.
Approval is a rule communicated to the assistant through descriptions and the built-in playbook; the server cannot independently verify a conversation's human approval. Your MCP client's confirmation settings should require approval for the paid generate tool. Quote ownership, expiry and exact input binding are enforced by Raywake's gateway, with additional matching checks for quotes known to this process.
Waiting and safe retries
generate waits for up to 45 seconds including submission, then returns the known job_id, latest status and its generated idempotency_key. If polling fails, it retains the job reference. Continue using get_job with wait_seconds up to 45. Terminal states are succeeded, failed, needs_review, submission_unknown, and needs_reconciliation. Review and reconciliation states require attention; do not submit a replacement run automatically.
Save the idempotency_key, including from an error result. If the submission response is lost, retry generate with the same key, model, input and quote ID. The gateway returns the existing job for an exact retry, including after quote expiry. Never use a new key to recover an uncertain submission. Within a running server, repeating the same generation request also reuses its saved key. After restarting, supply the saved key; the gateway remains the authority for recovery of quotes no longer in local memory. Keys and quote fingerprints are held only in memory. If the entire tool response and process are lost, use list_jobs to find the existing job before doing anything that may spend again.
Media inputs
To use a file from your computer, ask the assistant to use it; it calls upload_file with the file's path. In one call the tool checks the file, uploads the unchanged bytes to your private Raywake files and returns an owned url. The assistant puts that url into the model's image, video or audio input and then quotes. The file is never resized, re-encoded or embedded as base64, and it is never sent anywhere but Raywake.
Type | Limit |
JPEG, PNG, WebP | 25 MB |
MP4, MOV | 200 MB |
WebM | 100 MB |
MP3, WAV | 50 MB |
The type is detected from the file's own bytes, not just its extension. Per account, at most 3 uploads can be unfinished at once and 250 MB can be stored. Files are kept for 30 days; a returned link stays valid for 7 days, and list_media returns fresh links. Large files are streamed from disk, not loaded into memory.
Which files can be read. By default upload_file reads only files inside your home folder and the folder the server was started in (ignored when that is the filesystem root or a folder above your home). Symlinks are resolved before the check. Files in hidden folders such as ~/.ssh, ~/.aws or ~/.config, and anything that is not one of the types above, are refused before the file is opened. Set RAYWAKE_UPLOAD_ROOTS to replace the allowed folders. Errors tell the assistant what to do next: file not found, folder not allowed, wrong type, too large, upload limit reached, upload failed (retry), or an API key without the generate permission.
A public HTTPS link can still go into a model input directly. Importing a web link into your Raywake files and reusing an earlier result as an uploaded file are available only through the hosted connector signed in with your Raywake account: the API rejects those two operations for API keys, so this package has no tools for them. Output links may be temporary; call get_job again to retrieve current links.
Configuration
Environment variable | Required | Default |
| Yes | None; sent as a Bearer token |
| No |
|
| No | Your home folder and the working folder. Absolute folders separated by |
The base override must use HTTPS, except HTTP on localhost for local mocks. It must not contain credentials, a query or a fragment. Only use an override you trust: it receives your API key. Redirects are rejected. The server reserves stdout for MCP and never logs the key or raw upstream error bodies.
Privacy
Prompts and inputs go to Raywake and the selected model provider to fulfil your request. Your MCP client also handles the conversation and tool results. Do not include secrets in model inputs. This local package does not add analytics or write prompts, keys, quotes or results to disk. upload_file reads only the file you ask it to upload, and only from the allowed folders. Client logging and the services' retention policies apply separately.
Development
npm install
npm run build
npm test
npm run smokenpm test builds the CLI, uses Vitest with a mocked fetch and dummy credentials, and checks real stdio tool discovery without API access. The separate npm run smoke SDK test starts its own HTTP server on 127.0.0.1 with a dummy key, launches the compiled CLI, lists all eleven tools and exercises discovery, file upload to a local stand-in for the signed upload link, quote, generation and job retrieval. Neither command calls api.raywake.com. The HTTP smoke requires permission to bind a local port; restricted sandboxes may reject it with EPERM.
To connect an MCP client to this unpublished checkout, replace the npx configuration with "command": "node" and "args": ["/absolute/path/to/raywake-mcp/dist/index.js"]; keep the same environment configuration. For a terminal launch after building:
RAYWAKE_API_KEY=YOUR_RAYWAKE_API_KEY node dist/index.jsserver.json is the metadata published to the official MCP Registry as si.raywake/mcp. Release and registry publication are separate manual steps. The npm package's mcpName matches si.raywake/mcp; version fields must stay in sync.
License
MIT, copyright Raywake.
Available Tools
9 toolsgenerateAIdempotentInspect
PAID: the only tool that spends the user's Raywake balance. Call ONLY after the user approves the quoted USD price, with quote_id from quote for exactly the same model+input. Waits up to 45 seconds. Save the returned idempotency_key even on errors; reuse it with the exact request to recover a lost response. Continue existing jobs with free get_job, never a new generation.
Inputs: input (required), model (required), quote_id (required), idempotency_key.
get_accountARead-onlyIdempotentInspect
Free. Read available, reserved and debt wallet balances in USD. To add balance, top up at https://raywake.si/billing.
Inputs: no named parameters.
get_jobARead-onlyIdempotentInspect
Free. Read an existing job and its outputs, optionally waiting up to 45 seconds. Does not start or bill a new generation. Review states are terminal; do not resubmit.
Inputs: job_id (required), wait_seconds.
get_modelARead-onlyIdempotentInspect
Free. Read a model input schema and indicative starting price in USD. Never invent inputs. Use public HTTPS URLs for media; local file upload is unavailable.
Inputs: model (required).
get_playbookARead-onlyIdempotentInspect
Free. Read the short Raywake workflow: search, schema, free quote, user price approval, paid generate, free job polling. Explains USD prices and public media URLs.
Inputs: no named parameters.
list_categoriesARead-onlyIdempotentInspect
Free. List the available model categories for search_models.
Inputs: no named parameters.
list_jobsARead-onlyIdempotentInspect
Free. List recent jobs for this account, newest first. Recover an existing job_id and continue with get_job.
Inputs: limit, offset, status.
quoteAInspect
Free. Get a time-limited USD price for exact model+input without spending balance. Show the price, expiry and any usage-based maximum reservation to the user and obtain approval before generate.
Inputs: input (required), model (required).
search_modelsBRead-onlyIdempotentInspect
Free. Search Raywake AI models; returns indicative starting prices in USD. Use get_model before quote. Modality filters category/tags locally before pagination.
Inputs: page, query, category, modality.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a fairly distinct role, and the free-vs-paid split (quote vs generate) is clearly signposted. Minor overlap exists between list_categories/search_models and search_models/get_model, since search already returns pricing and categories are also filters, but descriptions help differentiate them.
Most names follow a predictable verb_noun pattern (list_categories, search_models, get_model, get_job, list_jobs, get_account, get_playbook). The single-word quote and generate are sensible but break the pattern slightly.
Nine tools is well-scoped for an AI model generation service, covering discovery, pricing, generation, job polling, and account state without redundancy. Each tool appears to earn its place.
The core lifecycle (browse → schema → quote → approve → generate → poll → list) and wallet reading are covered, plus a playbook. Minor gaps: no job cancellation/abort tool, and balance top-up is delegated to an external URL.
Related MCP Connectors
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Generate images, video, audio and short films with 140+ AI models from any MCP client.
AI video, image and audio generation with 140+ AI models from any MCP agent
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI photo generation, editing, and video creation from MCP-compatible clients like Claude Desktop, Cursor, and Windsurf.8MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI clients like Claude and ChatGPT to generate images and videos, animate images, create lip-synced videos, list TTS voices, and manage media via remote MCP tools.-
- AlicenseNot gradedqualityBmaintenanceEnables any MCP client to search and submit tasks across 350+ multimodal image, video, audio, and 3D models, run ComfyUI workflows and AI apps, upload/download files, and chat with LLMs. It supports stdio MCP integration and optional scope trimming for image, video, or audio only.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients such as Claude and Cursor to list available AI models, generate video, image, and text outputs, and check video job status through a single prepaid API key.MIT