Model Context Protocol · Streamable HTTP

Juice-1 MCP Server for Coding Agents

Give Claude Code, Cursor, VS Code, OpenAI Codex and custom AI agents real design taste. Your agent calls Juice-1 over MCP to design complete HTML layouts and bespoke visuals before writing production components.

  • Streamable HTTPStateless JSON-RPC 2.0
  • $1.04Per Juice-1 HTML design
  • 8 ToolsQuotes, HTML & visuals
  • 23 ModelsJuice-1 + 22 image models

What Your Coding Agent Can Do with Juice-1 MCP

Most coding agents write clean React and CSS syntax, but default to bland, repetitive layouts when asked to design a screen from scratch. Connecting Juice-1 AI Design Generator’s MCP server gives your agent an on-demand art director.

Design Before Coding

Ask Claude Code or Cursor to call `generate_design` with Juice-1 first, then port the resulting HTML/CSS structure 1:1 into your project’s framework.

Apply 14 Trained Styles

Agents can pass `style: "Swiss modernist"`, `"editorial"` or `"glassmorphic"` and `surface: "webapp"` or `"mobile"` directly as typed tool arguments.

Fetch Standalone HTML

Call `get_generation` with `wait_seconds=45` to wait cleanly without polling loops, then retrieve raw HTML via `get_generation_html`.

Generate Custom Assets

Need extra icons, hero illustrations or 4K product shots? Call `generate_image` across 22 visual models from the exact same MCP server.

Connect in Under Two Minutes

Create a `jc1_...` key in Dashboard → API, fund your balance and add the server URL below to your AI editor or agent:

  1. 1

    Get a jc1_ API key

    Sign in at juiceai.ai, open Dashboard → API and generate a key.

  2. 2

    Add https://juiceai.ai/mcp

    Paste the command or JSON config for Claude Code, Cursor, VS Code, Codex or Manus below.

  3. 3

    Prompt your agent

    Ask your agent to quote the price or design your page with Juice-1 before building components.

Terminal
claude mcp add --transport http juiceai https://juiceai.ai/mcp \
  --header "Authorization: Bearer jc1_your_api_key"

Discovery tools (`list_models` and `get_price_quote`) work even without an API key so you can verify connectivity immediately.

Supports MCP protocol versions 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05.

Available MCP Tools

Typed tools exposed at POST /mcp

Tool nameWhat it does
list_modelsList Juice-1 and all 22 visual models with surfaces, styles, resolutions and USD prices. No key needed.
get_price_quoteReturn the exact USD cost of a Juice-1 or image generation before spending anything. No key needed.
get_balanceCheck the prepaid USD API balance remaining on your account.
generate_designStart a Juice-1 HTML design (or Kling v4 Webpage Design) with surface, style, count (1–4), image_urls, reference_ids and max_price_usd.
generate_imageGenerate a 1K–8K visual, mockup or typography asset with GPT Image 2.6, FLUX.3, Nano Banana Pro, Seedream 5.5 and 16 more models.
get_generationCheck status and output URLs, with optional wait_seconds (up to 50 s) to wait until completion in one call.
get_generation_htmlRetrieve the complete self-contained HTML source code of a finished Juice-1 design.
list_generationsBrowse recent API and MCP generations on your account with status and prices.

Example prompt for your coding agent

“Call get_price_quote for juice-1, then use generate_design in Swiss modernist style to design our developer pricing page and implement it in src/pages/Pricing.tsx.”

Built-in spend guardrails

Every generate tool accepts `max_price_usd` and `idempotency_key` so an agent can never exceed the dollar cap you approve.

https://juiceai.ai/mcp

Stateless, Fast & Identical to REST

Our MCP endpoint runs directly on the same operations engine as `/v1`, so rate limits, moderation checks, cost + 30% billing and automatic refunds behave identically.

No Local Daemon Needed

Connect straight to https://juiceai.ai/mcp over HTTPS with zero Python or Docker setup on your machine.

Long-Poll Wait Support

Pass `wait_seconds: 45` on `get_generation` so agents wait cleanly instead of burning context tokens on rapid polling.

Machine-Readable Discovery

Published at `/.well-known/mcp/server-card.json` and documented in `/llms.txt`.

Juice-1 MCP FAQ

Does the MCP server cost extra on top of the REST API?

No. MCP tool calls use the exact same prepaid USD balance and cost + 30% pricing ($1.04 per Juice-1 design) as REST calls, and `list_models`, `get_price_quote`, `get_balance`, `get_generation`, `get_generation_html` and `list_generations` are completely free.

How does my agent read the generated HTML code?

Once `get_generation` reports `status: "completed"`, the agent calls `get_generation_html` with the generation ID to receive the standalone HTML document directly in tool output.

Can I cap how much an autonomous agent spends per call?

Yes. Both `generate_design` and `generate_image` accept `max_price_usd`; if the quoted cost exceeds that number, the server refuses the call before charging anything.

Connect Juice-1 to your coding agent today

Generate an API key in seconds and give Claude Code, Cursor or Codex genuine visual design taste.