Pixola / Docs / MCP Server / Claude Code

Pixola for Claude Code

Add Pixola to Claude Code with one terminal command. Generate images, browse models, and check credits from your coding sessions.

Prerequisites

  1. Create a Pixola account (free tier includes 1,000 credits)
  2. Go to Settings → API Keys and create a key — it starts with pxk_
  3. Claude Code installed and authenticated

Add via terminal

Run this command — the URL is a positional argument (no --url flag). Restart Claude Code after running.

claude mcp add pixola https://www.pixola.ai/mcp -t http -H "Authorization: Bearer pxk_YOUR_API_KEY"

Auto-allow all Pixola tools (optional)

To skip per-tool approval prompts, add this to your .claude/settings.local.json in the permissions.allow array:

"mcp__pixola__*"

Pixola plugin for Claude Code

The Pixola plugin for Claude Code includes the MCP server connection plus expert skills for image generation workflows — model selection guidance, creative brief templates, and prompt engineering tips.

/plugin install pixola

Once installed, skills like /pixola:generate-image and /pixola:creative-brief are available in your sessions.

Test it

Once connected, try:

Generate a product photo of a minimal coffee mug on a white background

What image models does Pixola support and how much do they cost?

Check my credit balance