Anthropic Coding Agent Integration

Connect Claude Code to AI Chili via Streamable HTTP MCP, CLI & SKILL.md

Attach AI Chili's remote Streamable HTTP MCP server (https://aichili.ai/mcp) to Claude Code in one command, install the CLI via npm (npm install -g aichili / npx -y aichili) or Homebrew (brew install AI-Chili/tap/aichili), and drop SKILL.md into .claude/skills/ so Claude inspects live models, verifies $0 pre-flight credit quotes, and renders multi-shot 2K storyboards safely.

Last updated: By AI Chili Platform & Developer Experience Team Entity: AI Chili Inc. (Vancouver, BC)
Key Endpoints: REST Gateway https://aichili.ai/api/v1 · Streamable HTTP MCP https://aichili.ai/mcp · OpenAPI 3.1 /openapi.json.

Architecture & Endpoint Overview

Claude Code LayerCommand / File PathAuth NeededRole in Storyboard Pipeline
Streamable HTTP MCPclaude mcp add --transport http aichili https://aichili.ai/mcpNone for discovery; chili_sk_* for plan/renderExposes 7 typed MCP tools directly inside Claude Code turns
Agent Skill Rules.claude/skills/aichili-video/SKILL.mdNone (static Markdown)Teaches <Picture 1..6> syntax and enforces plan-before-spend
npm / Homebrew CLInpm install -g aichili · brew install AI-Chili/tap/aichiliAICHILI_API_KEY env varLets bash subagents batch-submit and --wait poll JSON jobs
OnlyChili Catalog MCPclaude mcp add --transport http onlychili https://onlychili.aichili.ai/mcpNone (public 60 req/min)Searches 55+ live AI drama series across 47 languages

4-Step Implementation Blueprint

01 · Register Remote HTTP MCP

Run claude mcp add --transport http aichili https://aichili.ai/mcp so Claude Code gains list_video_models, estimate_video_cost, plan_video_generation, create_video_generation, and get_video_generation.

02 · Install Official CLI & SKILL.md

Install npm install -g aichili (or brew install AI-Chili/tap/aichili / npx -y aichili) for shell-level JSON scripting and curl https://aichili.ai/SKILL.md into .claude/skills/aichili-video/SKILL.md.

03 · Quote Multi-Shot Budget at $0

Ask Claude to call estimate_video_cost and plan_video_generation across every shot in your storyboard and pause for human approval on total_credits.

04 · Render Idempotently & Assemble

Claude submits approved shots with deterministic idempotency_key values, polls until succeeded, and stitches MP4 segments locally via ffmpeg.

1. One-Minute Terminal Setup (HTTP MCP + npm / Homebrew CLI + SKILL.md)

Run inside your project repository so Claude Code discovers both MCP tools and prompt conventions automatically:

# 1. Register AI Chili Streamable HTTP MCP server (zero local daemon required)
claude mcp add --transport http aichili https://aichili.ai/mcp

# 2. Install the zero-dependency AI Chili CLI via npm or Homebrew (or run npx -y aichili)
npm install -g aichili
# macOS / Linux Homebrew alternative: brew install AI-Chili/tap/aichili

# 3. Vendor the official AI Chili skill into your repo for plan-before-spend guardrails
mkdir -p .claude/skills/aichili-video
curl -fsSL -H "User-Agent: curl/8.4.0" https://aichili.ai/SKILL.md \
  -o .claude/skills/aichili-video/SKILL.md

# 4. Verify live MCP & registry connectivity without spending a single credit
aichili models --json | head -n 25

2. Multi-Shot Storyboard Shell Loop Used by Claude Code Bash Tool

Quotes exact credits first via aichili plan, enforces a hard per-shot credit ceiling, then renders with an idempotency key:

#!/usr/bin/env bash
set -euo pipefail
export AICHILI_API_KEY="chili_sk_replace_with_your_key"

PROMPT="<Picture 1> stands under cedar eaves in dusk rain facing <Picture 2>, 35mm anamorphic dolly-in, stereo rain"
QUOTE_JSON=$(aichili plan \
  --model h3-vdn --mode i2v --duration 15 --resolution 768p --ratio 16:9 \
  --ref-asset "00000000-0000-0000-0000-000000000001" \
  --ref-asset "00000000-0000-0000-0000-000000000002" \
  --ref-role "reference_image" \
  --ref-role "reference_image" \
  --prompt "$PROMPT" --json)

CREDITS=$(printf '%s' "$QUOTE_JSON" | jq -r '.total_credits')
echo "Quoted total_credits=$CREDITS"
test "$CREDITS" -le 20

aichili generate \
  --model h3-vdn --mode i2v --duration 15 --resolution 768p --ratio 16:9 \
  --ref-asset "00000000-0000-0000-0000-000000000001" \
  --ref-asset "00000000-0000-0000-0000-000000000002" \
  --ref-role "reference_image" \
  --ref-role "reference_image" \
  --idempotency-key "ep01-shot03-v1" \
  --prompt "$PROMPT" --wait --json

Recommended AI Chili Engines for Claude Code

Frequently Asked Questions

Can Claude Code inspect AI Chili models and pricing before I create an API key?

Yes. Over https://aichili.ai/mcp, platform_overview, list_video_models, and estimate_video_cost work with zero authentication.

How do I stop Claude Code from rendering expensive 2K takes during early prompt drafting?

Keep SKILL.md in .claude/skills/ and instruct Claude to draft camera blocking on h3-vdn at 480p (0.6 cr/s = 9 credits per 15s) and always confirm plan_video_generation output before calling create_video_generation.

Where should I store AICHILI_API_KEY when using Claude Code?

Export AICHILI_API_KEY in your shell keychain or secret manager rather than committing chili_sk_* tokens to git or CLAUDE.md.

Explore Other Stack Integrations