WaveSpeed MCP Server
OfficialYou can discover WaveSpeed models, inspect their schemas, estimate costs, run predictions, upload files, check balance, and retrieve prediction results.
list_models: search the live model catalog by text or modality type.get_model_schema: inspect a model's real input fields, defaults, and requirements before running it.run_model: submit any catalog model with valid inputs, auto-upload@./pathfiles, optionally wait up to 1800 seconds, and get output URLs or a prediction ID.get_price: estimate run cost without charging, using the same inputs asrun_model.get_balance: check account credit balance.upload_file: upload a local file and get a hosted URL, with 24h deduplication.get_prediction: fetch status and outputs for a past or in-flight prediction by ID.
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., "@WaveSpeed MCP Server generate an image of a serene mountain lake at sunrise"
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.
WaveSpeed MCP Server
An MCP server for the WaveSpeed platform: run any model on the live catalog — image, video, audio, 3D — from ChatGPT, Claude, Claude Code, Codex, Cursor, Cline, or any MCP client.
Built on the same design as the open-source @wavespeed/cli:
No hardcoded models for
run_model. The catalog comes from the live API (1h cache); new platform models work the day they ship.One general verb, five shortcuts.
run_modelexecutes anything;get_model_schematells the agent what inputs a model actually accepts, so it reads before it writes.generate_image,edit_image,generate_video,edit_videoandextend_videoskip that: they use the same models as the WaveSpeed /chat page, pick the endpoint for what you give them and fit the request to its live schema.Inputs are never mutated. The one explicit transform is the
@pathmarker — a"@./photo.jpg"value insideinputuploads the file and substitutes its hosted URL. Bare paths are passed through untouched. The shortcut tools (generate_imageetc.) are the exception: they pick the endpoint and fit the request to the model, and report what they changed innotes.Quote before you spend.
get_pricetakes the same input asrun_modeland returns an estimate; the amount actually charged for a run is authoritative.
Tools
Tool | What it does |
| Search the live catalog by text or modality type |
| A model's real input schema (required, properties, defaults), with a link to the model's playground page |
| Submit + wait; rejects input keys the model doesn't accept; |
| Image from a prompt with the /chat image models (default Seedream 5.5); reference images use the model's edit endpoint |
| Edit, restyle or combine existing images with the same models |
| Video from a prompt, a first/last frame or reference images/videos/audio, with the /chat video models (default Wan 3.0); the mode (text, image, reference) is picked from the inputs |
| Edit an existing video, optionally with reference images/audio |
| Continue an existing video with new footage |
| Cost estimate for the inputs you pass (no charge), with a link to the model's playground page |
| Account credit balance, with the top-up link |
| Run history (default last 24h); filter by model, status, time range |
| Itemized charges and refunds (needs a Billing-access key) |
| Spend, request counts and per-model breakdown (default last 7 days; needs a Billing-access key) |
| Delete finished runs from the history (up to 100; needs |
| Local file → hosted URL (24h content-hash dedupe) |
| Status/outputs of any run by id; optional |
The five shortcut tools take wait_seconds like run_model, and estimate_only: true returns the price and the exact request that would run without submitting or charging anything. In their prompts, media is named @image 1, @video 1, @audio 1 (in the order given); it is renamed to what each model expects. Models and defaults follow /chat: an unknown model is rejected, and a named model is never switched.
Some generations take minutes to hours. run_model submits the run and returns the prediction id right away (done: false); the assistant then calls get_prediction with that id and wait_seconds (max 1800) until done is true. The task keeps running server-side, so a dropped connection loses nothing. Pass wait_seconds to run_model to wait for a quick model in the same call. While waiting, both tools send MCP progress notifications that carry the prediction id.
Clients that speak MCP protocol revision 2026-07-28 and declare the tasks extension (for example Claude Code) get a run that is still going back as an MCP task instead: the client follows it on its own and hands the assistant the result when the run ends, so nobody has to keep calling get_prediction. Older clients keep the behavior above.
Related MCP server: wavespeed-mcp-worker
Setup
Remote (nothing to install)
The same server is hosted at:
https://api.wavespeed.ai/mcpClaude (web / Desktop):
The button opens the add-connector dialog with the address filled in (or add a custom connector by hand). Approve the connection on the WaveSpeed page that opens. Approving creates a dedicated API key (named
MCP · <app>) that you can delete on the API Keys page to disconnect.ChatGPT:
The button opens Plugins; select the plus button and choose Add custom MCP server. Set the server URL to that address (keep the
/mcp), choose OAuth, approve the connection on the WaveSpeed page that opens, then install it before starting a chat. Custom MCP servers are available on selected ChatGPT plans; see OpenAI's help article.Claude Code:
claude mcp add --transport http wavespeed https://api.wavespeed.ai/mcpCodex:
codex mcp add wavespeed --url https://api.wavespeed.ai/mcp, thencodex mcp login wavespeedto approve in your browser. To use an API key instead, add--bearer-token-env-var WAVESPEED_API_KEYto theaddcommand.Cursor:
VS Code:
Or run
code --add-mcp '{"name":"wavespeed","type":"http","url":"https://api.wavespeed.ai/mcp"}'Clients that only start local commands: connect through
mcp-remote, which opens the same browser approval on first start:{ "mcpServers": { "wavespeed": { "command": "npx", "args": ["-y", "mcp-remote", "https://api.wavespeed.ai/mcp"] } } }Any other client that sends request headers: point it at the URL with
Authorization: Bearer <your API key>.
The hosted server has the same tools, with one difference for files: it cannot read files on your computer, so pass public URLs, use create_upload from a tool that can send HTTP requests (it returns a temporary upload address and the download_url to use as an input), or, in ChatGPT, attach the file to the chat (the upload_attachment tool, which only ChatGPT can fill, imports it and returns a download_url). Full guide: wavespeed.ai/docs/mcp.
Local (npx)
The server is the @wavespeed/mcp npm package. To run it directly:
npx -y @wavespeed/mcp@latest@latest makes npx fetch the newest release on each start; without it, npx runs a globally installed @wavespeed/mcp if one exists, however old.
Auth resolves from WAVESPEED_API_KEY, or from the CLI's stored login (wavespeed login) — one login covers both tools. Keys: wavespeed.ai/accesskey.
Claude Code
claude mcp add wavespeed -- npx -y @wavespeed/mcp@latestCodex
codex mcp add wavespeed --env WAVESPEED_API_KEY=wsk_... -- npx -y @wavespeed/mcp@latestClaude Desktop / other clients (mcpServers config):
{
"mcpServers": {
"wavespeed": {
"command": "npx",
"args": ["-y", "@wavespeed/mcp@latest"],
"env": { "WAVESPEED_API_KEY": "wsk_..." }
}
}
}Example prompts
"Generate a 16:9 hero image of a cyberpunk skyline at golden hour."
"Take ./photo.jpg and replace the background with a sunlit kitchen." (the agent passes
"@./photo.jpg")"Animate ./hero.png with subtle parallax — check the price first."
Development
npm install
npm run dev # run from source (stdio)
npm run lint # typecheck
npm run build # tsc → dist/License
WaveSpeed AI — AI image & video generation platform. Try it in the browser: Image generator · Video generator
Available Tools
7 toolsget_balanceARead-onlyInspect
Show the WaveSpeed account credit balance.
Inputs: no named parameters.
get_model_schemaARead-onlyInspect
Get a model's real input schema (required fields, properties, defaults). Call this before run_model so inputs match what the model actually accepts.
Inputs: model (required).
get_predictionARead-onlyInspect
Fetch the status and outputs of a past or in-flight prediction by id — use to recover a run that hit the wait limit.
Inputs: id (required).
get_priceAInspect
Estimate the cost of a run before executing it (no charge). Provide the same input you would pass to run_model — pricing often depends on inputs like duration or resolution.
Inputs: model (required), input.
list_modelsARead-onlyInspect
Search the live WaveSpeed model catalog (image, video, audio, 3D). Returns model IDs usable with run_model. Do not invent model IDs — always pick one returned by this tool.
Inputs: type, limit, query, refresh.
run_modelAInspect
Run any WaveSpeed model. input keys come from get_model_schema. Local files: pass "@./path" string values — they are uploaded and replaced with hosted URLs (bare paths are NOT uploaded). Returns output URLs. If the wait limit is hit, the task keeps running; recover it with get_prediction.
Inputs: input (required), model (required), wait_seconds.
upload_fileAIdempotentInspect
Upload a local file to WaveSpeed and get its hosted URL (identical bytes reuse the same upload for 24h). Usually unnecessary — run_model handles "@./path" inputs itself.
Inputs: path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clear purpose: model discovery, schema, execution, pricing, balance, upload, and status. There is slight overlap between run_model and upload_file since run_model can handle uploads, but descriptions clarify when upload_file is needed.
All tool names follow a consistent verb_noun pattern with clear verbs (list, get, run, get, get, upload, get). No mixed conventions or vague naming.
With 7 tools, the server covers the essential workflow for model execution and account management without unnecessary bloat. Each tool serves a distinct need in the lifecycle.
The tool set covers model discovery, schema retrieval, execution, pricing, balance, file upload, and result retrieval. A minor gap is the absence of a cancel/delete prediction tool, but the core workflow is well covered.
Maintenance
Related MCP Connectors
Generate images and videos with Seedance, Veo, Wan, Grok, GPT-Image and Nano Banana via one MCP.
Generate AI images and videos from any compatible MCP client.
Generate and edit images, video, and music with Sogni AI through a hosted MCP connection.
Plan, compare, price, generate, and recover AI video from compatible MCP clients.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that provides a standardized interface for accessing WaveSpeed AI's image and video generation capabilities, including text-to-image, image-to-image, inpainting, and dynamic video generation.3-
- AlicenseNot gradedqualityDmaintenanceRemote MCP server that integrates WaveSpeed's image and video generation into Claude, supporting text-to-image, image editing, video generation, and job status polling via custom connector.ISC
- AlicenseAqualityBmaintenanceEnables video and image generation from any MCP client, with support for models like Veo 3.1, Grok Imagine, and Nano Banana, including text-to-video, image-to-video, image generation and editing.458 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to generate images and videos, synthesize speech, clone and design voices, and create related media outputs.468 npmMIT