Skip to main content
Two ways to give your AI coding agent Decart expertise: skills teach it API patterns upfront, and the MCP server lets it search Decart’s documentation on demand. Use both for best results.

Agent skill

A skill is a static knowledge file your agent loads at startup. It teaches the agent which API to use, how to authenticate, which models to pick, and what mistakes to avoid.
1

Install the Decart skill

Run this in your project directory:
The CLI auto-discovers the skill and installs it to your detected coding agents.
2

Start building

Your agent now has context about Decart’s Realtime, Queue, and Process APIs. Try asking it:
  • “Add live camera effects using Decart’s realtime API”
  • “Generate a video from a text prompt using Decart”
  • “Create a talking avatar that lip-syncs to audio”
Skills work with 30+ coding agents including Claude Code, Cursor, GitHub Copilot, Windsurf, and OpenCode. See the full list.

MCP server

The MCP (Model Context Protocol) server gives your agent a live search tool that queries Decart documentation on demand. Unlike the skill which is loaded once, MCP lets the agent look up specific details — exact parameters, migration guides, changelog entries — as it works. Add the Decart MCP server to your agent:
Once connected, your agent can search Decart documentation automatically while generating responses — no need to ask it explicitly.

Skill vs MCP

Use both together. The skill gives your agent the big picture so it picks the right API and model. The MCP server fills in specifics when the agent needs exact parameter details or code examples.

Prompting tips

Get better results from your agent by being specific about what you’re building:
  • Name the API — “Use the Realtime API” or “Use the Queue API” instead of just “use Decart”
  • Specify the model — “Use lucy-2.1 for character transform” rather than letting the agent guess
  • Mention the SDK — “Using the JavaScript SDK” or “Using Python” so it generates the right syntax
  • Ask for client tokens — “Make sure to use client tokens for the browser code” for frontend work
  • Reference the platform — “Check the Decart docs for the exact parameters” triggers the MCP search