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
Get a jc1_ API key
Sign in at juiceai.ai, open Dashboard → API and generate a key.
- 2
Add https://juiceai.ai/mcp
Paste the command or JSON config for Claude Code, Cursor, VS Code, Codex or Manus below.
- 3
Prompt your agent
Ask your agent to quote the price or design your page with Juice-1 before building components.
claude mcp add --transport http juiceai https://juiceai.ai/mcp \
--header "Authorization: Bearer jc1_your_api_key"{
"mcpServers": {
"juiceai": {
"url": "https://juiceai.ai/mcp",
"headers": {
"Authorization": "Bearer jc1_your_api_key"
}
}
}
}{
"servers": {
"juiceai": {
"type": "http",
"url": "https://juiceai.ai/mcp",
"headers": {
"Authorization": "Bearer jc1_your_api_key"
}
}
}
}{
"mcpServers": {
"juiceai": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://juiceai.ai/mcp",
"--header",
"Authorization: Bearer jc1_your_api_key"
]
}
}
}codex mcp add juiceai --url https://juiceai.ai/mcpfrom openai import OpenAI
client = OpenAI()
resp = client.responses.create(
model="gpt-5",
tools=[{
"type": "mcp",
"server_label": "juiceai",
"server_url": "https://juiceai.ai/mcp",
"headers": {"Authorization": "Bearer jc1_your_api_key"},
"require_approval": "never",
}],
input="Use Juice-1 in Swiss modernist style to design a pricing page for our developer CLI.",
)
print(resp.output_text)Add Juice-1 as a direct HTTP MCP connector in Manus:
Where to open:Settings → Connectors → Custom MCP → Direct configuration
- Name
juiceai- Transport
Streamable HTTP- Server URL
https://juiceai.ai/mcp- Header name
Authorization- Header value
Bearer jc1_your_api_key
Replace jc1_your_api_key with the key created in your Dashboard.
Add Juice-1 in Doubao Desktop custom MCP settings:
Where to open:设置 → 连接器 → 新建自定义 MCP
- Name
juiceai- Transport
HTTP- Server URL
https://juiceai.ai/mcp- Header name
Authorization- Header value
Bearer jc1_your_api_key
Replace jc1_your_api_key with the key created in your Dashboard.
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 name | What it does |
|---|---|
list_models | List Juice-1 and all 22 visual models with surfaces, styles, resolutions and USD prices. No key needed. |
get_price_quote | Return the exact USD cost of a Juice-1 or image generation before spending anything. No key needed. |
get_balance | Check the prepaid USD API balance remaining on your account. |
generate_design | Start 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_image | Generate 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_generation | Check status and output URLs, with optional wait_seconds (up to 50 s) to wait until completion in one call. |
get_generation_html | Retrieve the complete self-contained HTML source code of a finished Juice-1 design. |
list_generations | Browse 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.