Check before spending
Read the account balance and live image/video pricing catalog, including which Gemini image models the MCP generation tool currently accepts.
Connect Pixapi once, then let your agent inspect live pricing, submit Gemini image tasks, and collect the finished result without handling API keys.
Connection address
https://api.pixapi.ai/mcpAdd this URL as a Remote MCP server. The endpoint accepts MCP requests, not normal browser navigation.
What MCP can do
The public MVP stays focused on the steps an agent needs to price, start, and finish an image-generation job.
Read the account balance and live image/video pricing catalog, including which Gemini image models the MCP generation tool currently accepts.
Submit an asynchronous text-to-image task with a supported Gemini model, prompt, image count, and optional aspect ratio.
Poll the account-owned task until it completes, then return the generated image URL or the recorded failure.
OAuth authorization
Clients that support Remote MCP and OAuth discover the Pixapi authorization server automatically and use authorization code flow with S256 PKCE.
Authorization is limited to the pixapi:tools scope. Your Pixapi password is entered only on pixapi.ai, and the client uses revocable access and refresh tokens afterward.
In your client's connector or MCP settings, add https://api.pixapi.ai/mcp.
Pixapi opens its sign-in page. Use the same account that owns your credits and generation history.
Review and grant the pixapi:tools permission requested for this client.
The client completes the OAuth exchange, lists the tools, and can call them within your account.
Three public tools
Every tool exposes an input and output schema so an agent can select it deliberately and handle the result without guessing.
Returns your current credit balance and the live image/video model pricing catalog.
Only entries marked mcp_generate_supported=true can be sent to the MCP image generation tool.
Creates one asynchronous Gemini text-to-image task and immediately returns a task_id.
The current MCP tool does not generate with GPT Image models, edit images, or create videos.
Reads the latest status, progress, cost, result URL, or error for a task owned by your account.
Poll this tool for an existing task instead of submitting the generation request again.
Client support
The default path is standards-based Remote MCP plus OAuth. Product plans, workspace policies, and client releases can affect whether a custom remote connector is available.
Use the connection URL directly when the client supports Streamable HTTP, protected-resource discovery, dynamic client registration, and PKCE.
Connect when your current plan and client build expose custom Remote MCP servers with OAuth. Availability is controlled by the client vendor.
The one-click native/npm bridge for stdio-only setups such as some Claude Code or Cursor configurations is not part of the public MVP yet.
Pixapi does not claim compatibility with every MCP client. A named client is considered supported only after its full authorization, tool, long-task, and reconnection journey is verified.
Credits and retries
MCP uses the same Pixapi account balance and model credit rules as the rest of the platform. Current prices come from the live pricing tool and pricing page.
Repeating pixapi_generate_image creates another task and can charge the account again. After submission, keep the task_id and poll it; do not automatically resubmit because the result is still processing.
By connecting Pixapi MCP, you use the same Pixapi account and accept the policies that govern authentication, prompts, task records, generated media, billing, and service use.