Skip to main content

Start with AI

Two installs make an AI coding agent useful on VideoSDK.

The agent skill is the procedure. It works out what you are building, asks the handful of questions it needs, and mints auth tokens on a server route instead of leaving your API secret in browser code.

The MCP server is the lookup. It gives the agent the live documentation, so every method name it writes comes from the page you would have read yourself.

Quick start

1. Install the agent skill

npx skills add videosdk-live/skills

npx skills is agent-agnostic. It asks which agents to install into, so pick yours from the list (Claude Code, Cursor, Codex, and the others it supports). Restart the agent afterwards.

2. Connect the MCP server

The server is at https://docs.videosdk.live/mcp and speaks streamable HTTP. Pick your client:

Run this from your project, or add --scope user to make the server available everywhere:

claude mcp add --transport http videosdk https://docs.videosdk.live/mcp

Confirm it registered with claude mcp list.

Most clients need a restart before a newly added server initialises. The MCP Server page covers verification and troubleshooting.

3. Prompt

Name the platform and say what the app does. Whatever you leave out comes back as a question.

Use the VideoSDK skill to add video calling to this Next.js app, with a server route that mints the auth token.
Build a telehealth consultation in Flutter, doctor and patient, with a waiting room.
Build a live shopping stream in React where viewers can be brought up on stage.

Check the setup worked

Watch the first task for these four. All four together mean both installs are live.

It asks before it builds. One round of scoping questions, then a one-sentence plan you can correct in a word.

It cites a real page. Ask where a method came from. The answer is a docs.videosdk.live URL it fetched during the task.

It keeps the API secret server side. Tokens get minted on a server route, and the client holds only the token.

It looks up the version you are on. Say the SDK line in the prompt, then check which page it cites. The server resolves the version, then searches inside it.

Skill or MCP server

They do different jobs and work best together.

Agent SkillMCP Server
What it isThe procedure the agent followsThe lookup the agent calls
What it holdsHow to scope the build, wire auth, and pick featuresThe current documentation, searchable by SDK and version
When it runsAt the start of a VideoSDK taskEvery time the agent needs an API detail

The skill decides what to build. When it needs a real method name, it asks the MCP server for the page.

Every SDK also has an AI Tools section in its own sidebar, with the library name the MCP server indexes and prompts written for that platform.

If your tool has no MCP support

Point it at the plain-text index instead.

  • https://docs.videosdk.live/llms.txt lists every page with its description.
  • https://docs.videosdk.live/llms-full.txt is the whole documentation set in one file.
  • Any page answers as raw markdown when you add .md to its route, so /react/guide/video-and-audio-calling-api-sdk/quick-start also serves /react/guide/video-and-audio-calling-api-sdk/quick-start.md.

Every page carries a copy button in the top right. It copies the cleaned markdown, or hands it to ChatGPT or Perplexity.