AI IDE & Composer Integration

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.

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

Cursor Transport ModeConfig FileStartup OverheadBest When
Remote Streamable HTTP.cursor/mcp.json -> url: https://aichili.ai/mcp0 ms local processFastest team-wide repo config with zero Node setup
Local Stdio (@aichili/mcp).cursor/mcp.json -> npx -y @aichili/mcpLocal Node.js >= 20 child processPassing AICHILI_API_KEY from local env without prompt paste
Cursor Project Rule.cursor/rules/aichili.mdcLoaded on video/media tasksPins 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

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