Configure Cursor IDE with AI Chili Remote HTTP & Local Stdio MCP
Add https://aichili.ai/mcp (or npx -y @aichili/mcp) to .cursor/mcp.json so Cursor Agent generates promo reels, UI launch videos, and talking-avatar explainers directly from your codebase while enforcing $0 plan_video_generation checks.
https://aichili.ai/api/v1 · Streamable HTTP MCP https://aichili.ai/mcp · OpenAPI 3.1 /openapi.json.Architecture & Endpoint Overview
| Cursor Transport Mode | Config File | Startup Overhead | Best When |
|---|---|---|---|
| Remote Streamable HTTP | .cursor/mcp.json -> url: https://aichili.ai/mcp | 0 ms local process | Fastest team-wide repo config with zero Node setup |
| Local Stdio (@aichili/mcp) | .cursor/mcp.json -> npx -y @aichili/mcp | Local Node.js >= 20 child process | Passing AICHILI_API_KEY from local env without prompt paste |
| Cursor Project Rule | .cursor/rules/aichili.mdc | Loaded on video/media tasks | Pins plan_video_generation guard & <Picture n> syntax |
4-Step Implementation Blueprint
01 · Create .cursor/mcp.json
Drop either the zero-install remote Streamable HTTP server URL (https://aichili.ai/mcp) or the scoped npm stdio package (npx -y @aichili/mcp) into .cursor/mcp.json at your workspace root.
02 · Verify Green Status in Cursor Settings
Open Cursor Settings -> Tools & MCP to confirm all 7 AI Chili tools appear enabled.
03 · Add .cursor/rules/aichili.mdc Guardrail
Commit a short Cursor rule instructing Composer Agent to run plan_video_generation and print total_credits before create_video_generation.
04 · Prompt Cursor Agent on Launch Assets
Ask Cursor Agent to read your feature diff, draft a 15s 16:9 product showcase clip or 9:16 founder reel, quote credits, and save the rendered MP4 URL.
1. Workspace .cursor/mcp.json (Remote HTTP + Local @aichili/mcp Stdio)
Use 'aichili-http' for zero-install team sharing, or 'aichili-stdio' (@aichili/mcp on npm) when injecting AICHILI_API_KEY from your local shell environment:
{
"mcpServers": {
"aichili-http": {
"url": "https://aichili.ai/mcp"
},
"aichili-stdio": {
"command": "npx",
"args": ["-y", "@aichili/mcp"],
"env": {
"AICHILI_API_KEY": "${env:AICHILI_API_KEY}"
}
}
}
}
2. Drop-In .cursor/rules/aichili.mdc Cost & Continuity Rule
Prevents unquoted GPU renders and ensures multi-reference tokens match the target engine:
---
description: Rules for generating AI video or talking-avatar assets via AI Chili MCP
globs: ["**/video/**", "**/marketing/**", "**/scripts/**"]
alwaysApply: false
---
1. Call `list_video_models` or `estimate_video_cost` first without spending credits.
2. Always call `plan_video_generation` and show `total_credits`, `model_id`, `resolution`, and `ratio` to the user before calling `create_video_generation`.
3. Use `<Picture 1>..<Picture 6>` on `h3-vdn` / `minimax-h3-gmi`, and `Image 1..Image n` on `wan3.0-video` / `seedance-2.5`.
4. Pass a deterministic `idempotency_key` on every `create_video_generation` call.
Recommended AI Chili Engines for Cursor IDE
H3-VDN
Deterministic per-second rate: 0.6 cr/s (480p), 1.0 cr/s (768p), 1.8 cr/s (1080p), 2.5 cr/s (2K), rounded up to whole credits (also accepts alias h3-sol).
Model Spec → seedance-2.5Seedance 2.5
Live pre-calculated quote via POST /v1/generations/plan; reference videos scale proportionally by max(1, 0.6 × (out_s + ref_s) / out_s).
Model Spec → avatar-talkAvatar-Talk
Script-driven billing: 0.2 credits per 5 script units on 'talk' (video loop), plus a +10 credit 768p base-clip charge on 'photo' (portrait still).
Model Spec →Frequently Asked Questions
Which MCP transport does https://aichili.ai/mcp implement for Cursor?
Spec-compliant stateless Streamable HTTP MCP (JSON-RPC 2.0 over POST, HTTP 204 on DELETE/OPTIONS, and HTTP 405 on standalone GET text/event-stream probes per specification).
Can Cursor estimate season or campaign budgets without an API key?
Yes. Prompt '@aichili-http estimate_video_cost for 12 clips of 15s at 1080p on h3-vdn' and Cursor returns exact credits plus the lowest-cost non-expiring pack combo.
Does @aichili/mcp install heavy third-party npm packages?
No. github.com/AI-Chili/aichili is MIT-licensed and has zero external runtime npm dependencies.
Explore Other Stack Integrations
Claude Code
Attach AI Chili's remote Streamable HTTP MCP server (https://aichili.ai/mcp) to Claude Code in one command, install…
View Integration → Hosted MCP & OpenAPI 3.1 Tool CallingOpenAI Agents
Point OpenAI's Responses API Hosted MCP tool directly at https://aichili.ai/mcp with require_approval: 'always' on…
View Integration → Visual Workflow Orchestrationn8n Workflows
Build reliable, budget-guarded n8n video workflows using four standard HTTP Request nodes: inspect GET…
View Integration → Backend Python 3.10+ IntegrationPython (SDK, urllib & httpx)
Install the official zero-dependency Python SDK, CLI & stdio MCP server via pip install…
View Integration → Next.js, Workers & Edge Runtime GuideTypeScript & Node 22
Run AI Chili across Node.js 22, Next.js Route Handlers, Cloudflare Workers, and Vercel Edge using standard Web Fetch…
View Integration →