MCP server · Audited from source
PiAPI MCP server
by apinetwork/piapi-mcp-serverMIT licenceAudited 7 Oct 2026 · source 1b74857ee812
Is it safe? Yes — SAFE, grade B (89/100). It exposes 23 tools: 21 read, 1 write and 1 destructive. The audit recorded 3 findings (0 critical, 0 high, 1 medium, 2 low). Maintainer's description: A TypeScript implementation of a Model Context Protocol (MCP) server that integrates with PiAPI's API. PiAPI makes user able to generate media content with Midjourney/Flux/Kling/LumaLabs/Udio/Chrip/Trellis directly from Claude or any other MCP-compatible apps.
Cite
Cite this page
ModelsAtlas. “PiAPI MCP server (apinetwork/piapi-mcp-server)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/apinetwork/piapi
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
3 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared5 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | PASS 2 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
apinetworkUser accountAccount type recorded when we read the repository. - PackagePublished on npm
piapi-mcp-serverat version 1.0.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push20 days agoActivity of the repository when we read it.
- Source commit read1b74857ee812The audit covers exactly this commit, read on 7 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory23 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (3)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
image_rmbg
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / pathfs.traversal · src/sync/catalog.ts:20
resolve(__dirname, "../../src/sync/baseline.piapi-catalog.json"),
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
dotenv, fastmcp, zod, @types/node, typescript
- Why
- 5 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
23 declared in source · 1 destructive
1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
image_rmbg | destructive | Remove the background of an image |
modify_image | write | Modify a image using Qubico Flux, inpaint or outpaint |
derive_image | read | Derive a image using Qubico Flux, variation |
generate_3d_model | read | Generate a 3d model using Qubico Trellis |
generate_image | read | Generate a image using Qubico Flux |
generate_image_controlnet | read | Generate a image using Qubico Flux with ControlNet |
generate_music_for_video | read | Generate a music for a video using Qubico MMAudio |
generate_music_suno | read | Generate music using Suno |
generate_video_effect_kling | read | Generate a video effect using Kling |
generate_video_hailuo | read | Generate a video using Hailuo |
generate_video_hunyuan | read | Generate a video using Qubico Hunyuan |
generate_video_kling | read | Generate a video using Kling |
generate_video_luma | read | Generate a video using Luma |
generate_video_skyreels | read | Generate a video using Qubico Skyreels |
generate_video_wan | read | Generate a video using Qubico Wan |
image_faceswap | read | Faceswap an image |
image_segment | read | Segment an image |
image_upscale | read | Upscale an image to a higher resolution |
midjourney_imagine | read | Generate a image using Midjourney Imagine |
show_image | read | Show an image with pixels less than 768*1024 due to Claude limitation |
tts_zero_shot | read | Zero-shot TTS using Qubico f5-tts |
video_faceswap | read | Faceswap a video |
video_upscale | read | Upscale video resolution to 2x |
Install
Package version 1.0.0 · audited commit 1b74857
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.0.0. The audit covers commit 1b74857 only.
claude mcp add piapi-mcp-server --env PIAPI_API_KEY=${PIAPI_API_KEY} --env PIAPI_CONTRACT_GITHUB_TOKEN=${PIAPI_CONTRACT_GITHUB_TOKEN} -- npx -y [email protected]{
"mcpServers": {
"piapi-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PIAPI_API_KEY": "${PIAPI_API_KEY}",
"PIAPI_CONTRACT_GITHUB_TOKEN": "${PIAPI_CONTRACT_GITHUB_TOKEN}"
}
}
}
}The command pins the package version recorded in the source (1.0.0); the audit covers commit 1b74857ee812. Transport: not declared. Reads these environment variables: PIAPI_API_KEY, PIAPI_CONTRACT_GITHUB_TOKEN. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
1b74857ee812
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/apinetwork/piapi/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about PiAPI MCP server
What is the PiAPI MCP server?
What tools does PiAPI expose?
Is PiAPI safe to connect to an agent?
What credentials does PiAPI need?
How current is this page?
Sources
- apinetwork/piapi-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 1b74857ee812Observed · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the PiAPI MCP server?
- What tools does PiAPI expose?
- Is PiAPI safe to connect to an agent?