npm @pixfaro/mcpstreamable-httpMITupdated 15d ago
One MCP connection, one prepaid balance, every major image model โ Nano Banana, Gemini today, GPT Image next (visible as "coming soon" in listmodels). Pixfaro holds the provider accounts, keys, retries and format differences; your agent just asks for an image.
What can you do with pixfaro?
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.
Quickstart โ command line / config file
- Get an API key at pixfaro.com and top up (no subscription).
- Add the server to your MCP client config:
{
"mcpServers": {
"pixfaro": {
"command": "npx",
"args": ["-y", "@pixfaro/mcp"],
"env": { "PIXFARO_KEY": "pf_live_โฆ" }
}
}
}
- 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
Install
Add pixfaro to your client. Pick the one you use.
{
"servers": {
"mcp": {
"type": "http",
"url": "https://mcp.pixfaro.com/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
claude mcp add mcp -- npx -y @pixfaro/mcpcodex mcp add mcp -- npx -y @pixfaro/mcpamp mcp add mcp -- npx -y @pixfaro/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pixfaro/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pixfaro/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pixfaro/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pixfaro/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pixfaro/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@pixfaro/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@pixfaro/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @pixfaro/mcpRun `goose configure`, choose **Add Extension โ Command-line Extension**, and paste this command.
7 tools
pixfaro exposes 7 tools to a connected agent.
- 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
Score
78 / 100
Good
- Documentation22/25
- Maintenance19/25
- Trust16/20
- Capability6/15
- Install experience15/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 8 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 7 tool(s) documented
- Provides prompt templates
- Provides resources
- 18 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint โ no local install
Version history
| Versions | Published |
|---|---|
| 0.1.2Latest | Aug 19, 2026 |