WaveSpeedAI/mcp-server
WaveSpeed MCP server — run any model on the live catalog (image, video, audio, 3D) with schema introspection, @path file upload, and price quotes
08c56488d78c@wavespeed/mcp1.3.1 in package.jsonai.wavespeed/mcpPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 13 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 1 of 32 tools, prompts and resources could not be followed through the code
Top risks in plain words
- HIGHTool
upload_filereads or writes any file path by design: an agent steered by prompt injection can use it that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
upload_filecan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
upload_file, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 31 tools, 1 resource. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
delete_predictions, edit_image, edit_video, extend_video, generate_image, generate_video and 8 moredelete_predictions, edit_image, edit_video, extend_video, generate_image, generate_video and 8 moredelete_predictions, edit_image, edit_video, extend_video, generate_image, generate_video and 7 moredelete_predictions, edit_image, edit_video, extend_video, generate_image, generate_video and 7 moredelete_predictions, edit_image, edit_video, extend_video, generate_image, generate_video and 7 moreNo tool was seen to: start other programs on the machine.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
getBaseUrl· delete_predictions, edit_image, edit_video +6
Credential-like environment variables. Give the server a key with the least access it needs.
WAVESPEED_API_KEY· delete_predictions, edit_image, edit_video +9
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files14 tools · delete_predictions, edit_image, edit_video +11
- web or API responses9 tools · delete_predictions, edit_image, edit_video +6
Tool annotations
20 of 32 tools declare annotations. readOnlyHint 14, destructiveHint 2, idempotentHint 4, openWorldHint 18.
Tools, prompts and resources (32: 31 tools, 1 resource)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
upload_filetool 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" inputFilesCredentialsEnv varsSensitive pathsoutside textReads/writes files
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.
upload_filetool FilesCredentialsEnv varsSensitive pathsoutside textReads/writes files
No description.
result-cardresource Shows the images, videos and audio of a WaveSpeed run, and refreshes while it is running.Filesoutside text
Shows the images, videos and audio of a WaveSpeed run, and refreshes while it is running.
delete_predictionstool FilesNetworkCredentialsEnv varsSensitive pathsoutside textdestructive (declared)
No description.
delete_predictionstool FilesNetworkCredentialsEnv varsSensitive pathsoutside textdestructive (declared)
No description.
edit_imagetool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
edit_imagetool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
edit_videotool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
edit_videotool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
extend_videotool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
extend_videotool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
generate_imagetool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
generate_imagetool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
generate_videotool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
generate_videotool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
get_balancetool Show the WaveSpeed account credit balance, with the link to top up.Networkread-only (declared)
Show the WaveSpeed account credit balance, with the link to top up.
get_balancetool Networkread-only (declared)
No description.
get_model_schematool Get a model's real input schema (required fields, properties, defaults). Call this before run_model so inputs match what the model actually accepts.FilesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
Get a model's real input schema (required fields, properties, defaults). Call this before run_model so inputs match what the model actually accepts.
get_model_schematool FilesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
No description.
get_predictiontool Fetch the status and outputs of a past or in-flight prediction by id — use to pick up a run that returned done=false. Pass wait_seconds to keep waiting for it tNetworkread-only (declared)
Fetch the status and outputs of a past or in-flight prediction by id — use to pick up a run that returned done=false. Pass wait_seconds to keep waiting for it to finish.
get_predictiontool Networkread-only (declared)
No description.
get_pricetool
No description.
get_usagetool Usage statistics: spend, request counts, daily series and per-model breakdown. Defaults to the last 7 days. Requires an API key with Billing access.FilesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
Usage statistics: spend, request counts, daily series and per-model breakdown. Defaults to the last 7 days. Requires an API key with Billing access.
get_usagetool FilesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
No description.
list_billingstool List itemized charges and refunds (billing records). Requires an API key with Billing access.FilesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
List itemized charges and refunds (billing records). Requires an API key with Billing access.
list_billingstool FilesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
No description.
list_modelstool 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 bFilesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
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.
list_modelstool FilesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
No description.
list_predictionstool List past predictions (run history), newest window first. Defaults to the last 24 hours; pass since/until (ISO or YYYY-MM-DD) for other ranges. Use get_predictiFilesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
List past predictions (run history), newest window first. Defaults to the last 24 hours; pass since/until (ISO or YYYY-MM-DD) for other ranges. Use get_prediction with an id for one task in full.
list_predictionstool FilesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
No description.
run_modeltool Run any WaveSpeed model. input keys come from get_model_schema; unknown keys are rejected before submission. Local files: pass "@./path" in a media field (imageFilesNetworkCredentialsEnv varsSensitive pathsoutside text
Run any WaveSpeed model. input keys come from get_model_schema; unknown keys are rejected before submission. Local files: pass "@./path" in a media field (image, images, video, audio, mask …) — it is uploaded and replaced with hosted URLs (bare paths are NOT uploaded). Returns the prediction id right away (done=false); call get_prediction with that id and wait_seconds until done=true to get the output URLs. The task keeps running on the server. Pass wait_seconds here to wait for a quick model in the same call.
run_modeltool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
Text the model reads (32)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
list_models tool
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.
list_models tool
get_model_schema tool
Get a model's real input schema (required fields, properties, defaults). Call this before run_model so inputs match what the model actually accepts.
get_model_schema tool
run_model tool
Run any WaveSpeed model. input keys come from get_model_schema; unknown keys are rejected before submission. Local files: pass "@./path" in a media field (image, images, video, audio, mask …) — it is uploaded and replaced with hosted URLs (bare paths are NOT uploaded). Returns the prediction id right away (done=false); call get_prediction with that id and wait_seconds until done=true to get the output URLs. The task keeps running on the server. Pass wait_seconds here to wait for a quick model in the same call.
run_model tool
generate_image tool
generate_image tool
edit_image tool
edit_image tool
generate_video tool
generate_video tool
edit_video tool
edit_video tool
extend_video tool
extend_video tool
get_price tool
get_balance tool
Show the WaveSpeed account credit balance, with the link to top up.
get_balance tool
list_predictions tool
List past predictions (run history), newest window first. Defaults to the last 24 hours; pass since/until (ISO or YYYY-MM-DD) for other ranges. Use get_prediction with an id for one task in full.
list_predictions tool
list_billings tool
List itemized charges and refunds (billing records). Requires an API key with Billing access.
list_billings tool
get_usage tool
Usage statistics: spend, request counts, daily series and per-model breakdown. Defaults to the last 7 days. Requires an API key with Billing access.
get_usage tool
delete_predictions tool
delete_predictions tool
upload_file tool
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.
upload_file tool
get_prediction tool
Fetch the status and outputs of a past or in-flight prediction by id — use to pick up a run that returned done=false. Pass wait_seconds to keep waiting for it to finish.
get_prediction tool
result-card resource
Shows the images, videos and audio of a WaveSpeed run, and refreshes while it is running.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path HIGH1 finding in upload_file
- Requests any addressNo tool sends a request to an address the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 32 capabilities; 31 more call code the scanner could not follow, where it may happen
- Tools that touch files27 of 32 capabilities touch files; 4 more call code the scanner could not follow, where it may happen
- Tools that call the network28 of 32 capabilities call the network; 3 more call code the scanner could not follow, where it may happen
Where the code is: 32 handlers in 1 file at commit 08c56488d78c
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependencies5 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/client ^2.4.0 (dev), @modelcontextprotocol/server ^2.4.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials26 of 32 capabilities read credentials; 5 more call code the scanner could not follow, where it may happen
- Environment variables26 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (15 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
No known vulnerabilities in the production dependencies that could be checked.
5 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
tinypoolnpm 1.1.1 CRITICAL 2 advisories 2.1.12.1.2
- CRITICALGHSA-85c8-ppgw-ccpr CVE-2026-104849Tinypool: Prototype Pollution Gadget to RCE in run() options
- CRITICALGHSA-5gmw-xhrv-c9v3 CVE-2026-104848Tinypool: Prototype Pollution gadget in worker options leads to Remote Code Execution
vitenpm 7.3.6 HIGH 5 advisories 6.4.47.3.78.1.6+2 more
- HIGHGHSA-587h-7wmj-h5pm CVE-2026-112942launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
- MEDIUMGHSA-698v-4r3x-3vcv CVE-2026-112943launch-editor: escapeCmdArgs() omits % escaping on Windows
- MEDIUMGHSA-r825-w8mm-5pxw CVE-2026-112944launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
- MEDIUMGHSA-rq7h-c2jc-7f22 CVE-2026-112946Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
- LOWGHSA-9jrq-w75r-8gcw CVE-2026-112945Vite: Cross origin script execution through Vite custom middleware
source-map-jsnpm 1.2.1 HIGH 1 advisory 1.2.2
- HIGHGHSA-68fv-2mgg-jv7q CVE-2026-93749source-map-js allows event-loop denial of service through indexed source-map section offsets
@vitest/mockernpm 3.2.7 MEDIUM 2 advisories 4.1.114.1.125.0.0-rc.2+1 more
- MEDIUMGHSA-qxg6-89mg-rqv8 CVE-2026-112949Vitest: Code injection via unauthenticated manual mock registration
- MEDIUMGHSA-82fw-gwwq-j7x9 CVE-2026-84373Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock
vitestnpm 3.2.7 MEDIUM 1 advisory 4.1.115.0.0-rc.2
- MEDIUMGHSA-82fw-gwwq-j7x9 CVE-2026-84373Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package. A hosted version is also offered: https://api.wavespeed.ai/mcp not assessed a code scan covers the repository, not what runs on the vendor's servers |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/client ^2.4.0 (dev), @modelcontextprotocol/server ^2.4.0 |
| Servers in the code | 1 (wavespeed) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-15 |
| Signed releases | not checked yet |
Where it is published
| Other npm packages | 1 package by other publishers point to this repositoryNot published by the repository's owner; check who publishes a package before you install it. |
|---|---|
| MCP Registry | ai.wavespeed/mcp |
| Hosted endpoint | https://api.wavespeed.ai/mcp |
| Listed in | 4 catalogs (github_search, glama, mcp_registry, npm) |
| License | MIT |
| Created | 2025-05-24 |
| Topics | ai-image-generation ai-video-generation mcp mcp-server model-context-protocol wavespeed |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.