Skip to main content
Glama

Pixfaro MCP — image generation MCP server for every image model

One MCP connection, one prepaid balance, every major image model — Nano Banana, Gemini today, GPT Image next (visible as "coming soon" in list_models). Pixfaro holds the provider accounts, keys, retries and format differences; your agent just asks for an image.

Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP client.

Quickstart — no terminal needed (≈1 minute)

The remote server is the easiest path: paste one URL, sign in with your Pixfaro account in the browser window that opens. No API key in any file.

Claude (claude.ai / Claude Desktop, any plan): Settings → Connectors → Add custom connector → URL https://mcp.pixfaro.com/mcp → sign in. (Team/Enterprise: an org Owner adds it once under Organization settings → Connectors → Custom → Web.)

Cursor: Add to Cursor → — or Cursor Settings → MCP → Add new MCP server (type URL, address https://mcp.pixfaro.com/mcp); Cursor runs the OAuth flow itself.

ChatGPT (Pro/Plus/Business/Edu): Settings → enable Developer mode (connectors live under Plugins since the July 2026 rename, formerly Connectors → Advanced) → add a custom connector with URL https://mcp.pixfaro.com/mcp, OAuth.

Related MCP server: @imageat/mcp

Quickstart — command line / config file

  1. Get an API key at pixfaro.com and top up (no subscription).

  2. Add the server to your MCP client config:

{
  "mcpServers": {
    "pixfaro": {
      "command": "npx",
      "args": ["-y", "@pixfaro/mcp"],
      "env": { "PIXFARO_KEY": "pf_live_…" }
    }
  }
}
  1. Ask your agent for an image. That's it.

For Claude Code:

claude mcp add pixfaro -e PIXFARO_KEY=pf_live_… -- npx -y @pixfaro/mcp

Clients that speak streamable HTTP can also take the remote form in the same file — no key, OAuth on first use:

{ "mcpServers": { "pixfaro": { "url": "https://mcp.pixfaro.com/mcp" } } }
``` Clients
without OAuth can pass an API key instead: `Authorization: Bearer pf_live_…`.

## Tools

| Tool | What it does |
|---|---|
| `generate_image` | prompt → hosted image URL (+cost and balance in the reply) |
| `edit_image` | natural-language edit of a previous generation by its `img_…` id |
| `list_models` | models with price, latency, and what each is best for |
| `render_template` | typeset card (quote/post) from a template — $0.02, ~2 s, sharp type · *remote server; npx parity coming in 0.2* |
| `list_templates` | card templates with slots, style axes and exact prices · *remote server* |
| `upload_asset` | upload a PNG/JPEG (≤5 MB) as a reusable asset (e.g. a card avatar) · *remote server* |
| `get_balance` | current prepaid balance |

Replies carry a hosted URL, never base64 — your agent's context stays small.

Both generation tools accept `aspect_ratio` (e.g. `"16:9"`, `"9:16"`). Edits
keep the source image's shape when you omit it — pass one only to reshape.

## CLI

The same package family ships an unscoped CLI for scripts, CI, and pipelines:

```bash
export PIXFARO_KEY=pf_live_…
npx pixfaro gen "a lighthouse at night, minimal flat style" -a 16:9 -o cover.png
npx pixfaro models
npx pixfaro balance
npx pixfaro edit img_8f2a… "make the sky darker" -o v2.png

Environment

Variable

Meaning

PIXFARO_KEY

your API key (pf_live_…) — required for everything except models

PIXFARO_API_URL

endpoint override (default https://api.pixfaro.com)

What this repo is

The thin open client over the Pixfaro API: the MCP server (@pixfaro/mcp) and the pixfaro CLI share one HTTP client. The balance/provider layer lives behind api.pixfaro.com — this code is intentionally small enough to read before you hand it a key.

MIT © Pixfaro

Available Tools

4 tools
edit_imageA

Edit a previously generated image with a natural-language instruction (e.g. "make the sky darker", "remove the text"). Pass the img_… id returned by generate_image.

Inputs: image (required), instruction (required), model, aspect_ratio.

generate_imageA

Generate an image from a text prompt. Returns a hosted image URL (valid long-term) plus cost and balance. Pick a model with list_models; nano-banana-2 is the general-purpose default.

Inputs: prompt (required), model, aspect_ratio.

get_balanceA

Show the current prepaid balance in USD.

Inputs: no named parameters.

list_modelsA

List available image models with pricing, latency, and what each is best for.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct role: model discovery, balance check, image generation, and image editing. There is no overlap or risk of misselection between them.

    Naming Consistency5/5

    All four tools use a consistent snake_case verb_noun pattern: list_models, get_balance, generate_image, edit_image. The convention is predictable throughout.

    Tool Count5/5

    Four tools is well-scoped for an image generation and editing service, covering discovery, billing awareness, generation, and editing without bloat. Each tool earns its place.

    Completeness4/5

    The core lifecycle is covered: model listing, balance checking, generation, and editing of prior outputs. Minor gaps exist, such as listing past generations or managing/deleting stored images, but these are workable around given the hosted URLs.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP-compatible clients to generate images and videos, and to apply 20+ image editing features such as background removal, inpainting, object eraser, relight, and virtual try-on using ImageAT account credits.
      4
      739 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables image and video generation and editing through MCP tools, including image editing, upscaling, background removal, video generation, image-to-video, and video extension. Video generation runs asynchronously with job status and result retrieval.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP clients to generate images from text and edit or composite up to 16 input images with optional masks, choosing among several image models and quality/size/format options on each call. Generated results are saved to disk as file paths or returned inline for preview, with unsupported parameters and retired models rejected locally before any paid request.
      3
      132 npm
      MIT