mcpField
R
Raywake

Raywake

Remote
raywake.siMedia & Design0Updated 3d ago

About Raywake

Raywake is an open-source TypeScript MCP server for searching and using AI image, video and audio models. It is for users of MCP clients who want model schemas, USD quotes and a user-approved generation flow.

Key features

  1. 01Search image, video and audio models
  2. 02Inspect model input schemas and prices
  3. 03Get USD quotes for exact inputs
  4. 04Generate after quote approval
  5. 05Check jobs and retrieve outputs
  6. 06Read USD balance and job history

Use cases

  1. 01Compare models and indicative starting prices
  2. 02Check a generation cost before submitting
  3. 03Track a generation job and retrieve results
  4. 04Review recent jobs and available balance

MCP support

Exposes tools for model discovery, schemas, quotes, generation, job tracking and account balances. The same tools are available through a hosted Streamable HTTP endpoint or a local stdio package.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://mcp.raywake.com/v1
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Packages
npm@raywake/mcp0.1.0

Tools

Details

From the project README

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. Add USD balance at raywake.si/billing when you want to generate. Browsing, 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.

Claude Code

claude mcp add raywake -e RAYWAKE_API_KEY=YOUR_RAYWAKE_API_KEY -- npx -y @raywake/mcp

Cursor

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/v1
  • Claude.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 /mcp to 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

ToolCostPurpose
search_modelsFreeSearch by query, category, modality (image, video, audio) and page (starts at 1; 20 results per page)
list_categoriesFreeList available categories
get_modelFreeRead the exact input schema and indicative starting price in USD
quoteFreePrice an exact model and input; returns quote_id, price_usd, expires_at
generatePaidSubmit the approved exact model, input, quote_id; optional idempotency_key for recovery
get_jobFreeRead job_id, outputs and status; optional wait_seconds from 0 to 45
list_jobsFreeList account history; optional limit (1–500), offset, status
get_accountFreeRead available, reserved and debt balances in USD
get_playbookFreeRead the short workflow and spending 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."
  • "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, quotes, wallet reads and job polling are free. The assistant must follow:

  1. Search for a model and read its schema with get_model.
  2. Call quote with the complete input.
  3. Show you the USD price, expiry and whether it is a usage-based maximum reservation, and get your approval.
  4. Call generate with that exact model, input and quote ID.
  5. 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

There is no upload tool: media-asset upload is not available to API keys. Models that accept images, videos or audio by URL need publicly accessible HTTPS URLs in the fields specified by get_model. Host local files publicly first. Local paths, file://, private URLs and data: URLs cannot be used as uploaded media. Output links may be temporary; call get_job again to retrieve current links.

Configuration

Environment variableRequiredDefault
RAYWAKE_API_KEYYesNone; sent as a Bearer token
RAYWAKE_API_BASENohttps://api.raywake.com

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. Client logging and the services' retention policies apply separately.

Development

npm install
npm run build
npm test
npm run smoke

npm 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 nine tools and exercises discovery, 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.js

server.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.

The small TypeScript/npm/stdio layout is inspired by Wiro-MCP (MIT). Raywake uses its own Bearer authentication, quote-before-generation workflow and gateway contract. No Wiro source code is copied.

License

MIT, copyright Raywake.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.