MCP server for Pixapi: check live credit pricing and balance, then generate images and video.
MCPpedia last refreshed this data
io.github.Pixapi-AI/pixapi-mcp is an MCP server that MCP server for Pixapi: check live credit pricing and balance, then generate images and video. Its tool list has not been published yet over http and stdio, requires no API key, and scores 82/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"pixapi": {
"url": "https://api.pixapi.ai/mcp",
"type": "http"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for Pixapi: check live credit pricing and balance, then generate images and video.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked pixapi-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
A curated list of skills, tools, tutorials, and capabilities for AI coding agents (Claude, Codex, Antigravity, Copilot, VS Code)
MCP Security Weekly
Get CVE alerts and security updates for io.github.Pixapi-AI/pixapi-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Use Pixapi image and video generation tools from MCP clients.
Configure your project automatically (Node.js 22+):
npx -y pixapi-mcp init --client codex
Replace codex with your client, or use --client all for all five:
| Client | --client | Configuration file |
|---|---|---|
| Claude Code | claude-code | .mcp.json |
| Cursor | cursor | .cursor/mcp.json |
| Codex | codex | .codex/config.toml |
| VS Code / GitHub Copilot | vscode | .vscode/mcp.json |
| Gemini CLI | gemini-cli | .gemini/settings.json |
Without --client, the default is Claude Code and Cursor (--client both).
Use --project /path/to/project to configure another project.
Reload your MCP client and connect to pixapi. Complete its browser sign-in
and authorization prompt the first time. The client saves the OAuth session
and refreshes it automatically; no API key or credential editing is required.
The client may ask you to sign in again if authorization is revoked or expires.
Each client manages its own native OAuth session.
init configures a direct remote HTTP connection by default. If your client
has an Add MCP Server interface, you can also enter the endpoint URL there
without installing this npm package or Node.js.
Codex requires a trusted project. In VS Code, use MCP: List Servers to
start pixapi; in Gemini CLI, use /mcp to inspect it. Complete any client
trust or sign-in prompt. init does not change client security policies.
Claude Code:
{"mcpServers":{"pixapi":{"type":"http","url":"https://api.pixapi.ai/mcp"}}}
Cursor uses the same mcpServers entry with url and no type field.
VS Code uses servers with type: "http" and url.
Gemini CLI uses mcpServers with httpUrl.
Codex:
[mcp_servers.pixapi]
url = "https://api.pixapi.ai/mcp"
Running init updates the pixapi entry and preserves other servers and
settings. VS Code JSONC comments are preserved. Codex TOML settings are
preserved, but comments and formatting are not. All selected configurations
are parsed before writing; a filesystem failure during writes can still
leave some files updated. Correct the local issue and rerun init.
For clients that need stdio, configure the bridge explicitly:
npx -y pixapi-mcp init --client cursor --transport stdio
The generated entry runs npx -y pixapi-mcp proxy without credentials.
Registry installations of the npm package also start the bridge directly:
no separate init command or environment variable is required.
The bridge completes the local MCP handshake immediately. On the first tool request it opens browser authorization, then forwards tools to Pixapi. Subsequent connections reuse the saved session and refresh tokens automatically. For clients with a short tool-discovery timeout, sign in once beforehand:
npx -y pixapi-mcp login
If a client times out during the initial browser sign-in, complete sign-in and reconnect the client. No authorization URL, code, or token is printed to MCP stdout or error output.
OAuth sessions are stored per endpoint in ~/.pixapi/oauth-<hash>.json.
On macOS and Linux, the directory uses mode 0700 and files use 0600.
Writes are atomic; concurrent bridge processes share an authorization lock.
PKCE verifiers and callback state are kept only in memory. The callback binds
to loopback on the same host as the bridge. For a headless or remote host,
prefer the client's native remote OAuth connection.
Existing API key configurations remain compatible. For an explicit API key
installation, set PIXAPI_API_KEY when running init; it configures stdio and
saves the key privately in ~/.pixapi/mcp-credentials.json. An explicit
--transport remote always selects native OA