ai.wavespeed/mcp

Registre officiel Médias et design

Run any model on the live WaveSpeed catalog: image, video, audio, 3D.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http ai-wavespeed-mcp 'https://api.wavespeed.ai/mcp'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "ai-wavespeed-mcp": {
            "type": "http",
            "url": "https://api.wavespeed.ai/mcp"
        }
    }
}
NPM package @wavespeed/mcp
Claude Code
claude mcp add ai-wavespeed-mcp -e 'WAVESPEED_API_KEY=<your wavespeed_api_key>' -e 'WAVESPEED_BASE_URL=<WAVESPEED_BASE_URL>' -e 'WAVESPEED_CLIENT_NAME=<WAVESPEED_CLIENT_NAME>' -- npx -y @wavespeed/mcp@1.1.3
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "ai-wavespeed-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@wavespeed/mcp@1.1.3"
            ],
            "env": {
                "WAVESPEED_API_KEY": "<your wavespeed_api_key>",
                "WAVESPEED_BASE_URL": "<WAVESPEED_BASE_URL>",
                "WAVESPEED_CLIENT_NAME": "<WAVESPEED_CLIENT_NAME>"
            }
        }
    }
}

Variables d'environnement

  • WAVESPEED_API_KEY secret WaveSpeed API key (https://wavespeed.ai/accesskey). Optional when the wavespeed CLI is logged in.
  • WAVESPEED_BASE_URL Override the WaveSpeed API base URL. Defaults to https://api.wavespeed.ai.
  • WAVESPEED_CLIENT_NAME Override the client name reported for channel attribution. Defaults to wavespeed-mcp.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. WaveSpeed MCP Server
  2. Tools
  3. Setup
  4. Example prompts
  5. Development
  6. License

WaveSpeed MCP Server

An MCP server for the WaveSpeed platform: run any model on the live catalog — image, video, audio, 3D — from Claude Code, Claude Desktop, Cursor, Cline, or any MCP client.

Built on the same design as the open-source @wavespeed/cli:

  • No hardcoded models. The catalog comes from the live API (1h cache); new platform models work the day they ship.
  • One generation verb. run_model executes anything; get_model_schema tells the agent what inputs a model actually accepts, so it reads before it writes.
  • Inputs are never mutated. The one explicit transform is the @path marker — a "@./photo.jpg" value inside input uploads the file and substitutes its hosted URL. Bare paths are passed through untouched.
  • Quote before you spend. get_price takes the same input as run_model and returns an estimate; the amount actually charged for a run is authoritative.

Tools

ToolWhat it does
list_modelsSearch the live catalog by text or modality type
get_model_schemaA model's real input schema (required, properties, defaults), with a link to the model's playground page
run_modelSubmit + wait; rejects input keys the model doesn't accept; @path inputs upload automatically; returns output URLs
get_priceCost estimate for the inputs you pass (no charge), with a link to the model's playground page
get_balanceAccount credit balance, with the top-up link
list_predictionsRun history (default last 24h); filter by model, status, time range
list_billingsItemized charges and refunds (needs a Billing-access key)
get_usageSpend, request counts and per-model breakdown (default last 7 days; needs a Billing-access key)
delete_predictionsDelete finished runs from the history (up to 100; needs confirm: true, cannot be undone from here)
upload_fileLocal file → hosted URL (24h content-hash dedupe)
get_predictionStatus/outputs of any run by id; optional wait_seconds to wait for it

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.

Setup

Remote (nothing to install)

The same server is hosted at:

https://api.wavespeed.ai/mcp
  • Claude on the web / ChatGPT: add a custom connector with that address and 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.
  • Claude Code: claude mcp add --transport http wavespeed https://api.wavespeed.ai/mcp
  • Cursor:
  • VS Code: code --add-mcp '{"name":"wavespeed","type":"http","url":"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)

@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@latest

Claude 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

MIT


WaveSpeed AI — AI image & video generation platform. Try it in the browser: Image generator · Video generator

Questions fréquentes

Qu'est-ce que ai.wavespeed/mcp ?

Run any model on the live WaveSpeed catalog: image, video, audio, 3D.

Comment installer ai.wavespeed/mcp ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http ai-wavespeed-mcp 'https://api.wavespeed.ai/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour ai.wavespeed/mcp ?

Oui. Il attend WAVESPEED_API_KEY, à renseigner dans sa configuration.

ai.wavespeed/mcp est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient ai.wavespeed/mcp ?

Il est publié par WaveSpeedAI. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.