AI Today

🎬 Kling AI in the chat: official MCP connection generates images and videos straight from Claude and other assistants

· 4 min

Kling AI title image for its guide to agentic video creation with MCP

In brief


🎬 Making videos with Kling, the video model of China's Kuaishou, no longer requires switching to its web interface. [Kling AI](https://kling.ai) provides an official connection based on the Model Context Protocol (MCP), an open standard through which AI assistants use outside tools. Once it is set up, you can ask Claude, Claude Code or the agent OpenClaw in plain language for an image or a video; the assistant passes the job to Kling, tracks it and brings back the result. 🔑 You sign in with OAuth using your own Kling account; according to Kling, no API key is needed. Generation is billed to that account: every task costs Kling credits, and before submitting, the plugin shows the model, resolution, length and a notice that credits will be used. Global and Chinese accounts have separate access points, and credits and tasks are not shared between them. 🧭 The setup is most useful for people who need many similar clips, such as variants of an ad, because the assistant can reuse the same instructions. Anyone who makes a video now and then will still get there faster in Kling's web app.


🛠️ **How to set it up.** In a program that supports remote MCP servers, you add the address of Kling's official server in the connector settings, which according to Kling's blog is `https://kling.ai/mcp` for international accounts, then sign in to Kling and authorise the connection. In Claude this is done through a custom connector. For Claude Code, Kling gives a single command, `claude mcp add --transport http klingai --scope user https://kling.ai/mcp`; with `--scope project` the connection applies to one project only. Plugins use a separate endpoint, `https://kling.ai/mcp/plugin`, and accounts in China use `https://klingai.com/mcp/plugin`. Kling itself advises asking the assistant to list the available tools before larger jobs, because models and parameters can change.

🦞 **OpenClaw and Codex.** For the open-source agent OpenClaw, Kling publishes a "Kling AI Global" plugin under its klingai-dev account (version 1.1.29 when we read it), which requires OpenClaw 2026.9.4 or newer. It connects to the official MCP service, and OpenClaw manages the credentials. Before each task the plugin summarises the model, dimensions, duration and number of outputs, and it only submits after the explicit reply "Confirm generation". If credits run out, you can top up and continue in the same conversation. OpenAI's plugin directory also lists "Kling AI for Terminal", a skills-only plugin for Codex that uses Kling's official command-line tool (version 0.2.1) instead of MCP and requires Node.js 18 or newer plus shell access.

🎞️ **What it can make.** According to the plugin description: images from text, edits guided by a reference image and image series, up to 8K with Kling Image 4.0; videos from text or an image, with keyframes, motion transfer and multiple shots; plus reusable "Elements" that keep a character looking the same across clips. Kling says its Kling 4.0 model produces 3 to 30 seconds at 720p, and 1080p or 4K plus HDR for eligible accounts. Kling 4.0 Flash is built for speed and makes 3 to 20 seconds at 720p. Which models are actually available depends on the connected account.

📋 **What it is meant for.** In two guides, Kling describes how an assistant organises a campaign: gather references, fix rules for lighting, framing and pacing, generate a few test clips, correct shared mistakes once, then submit the remaining variants. One example produces short promo clips for a restaurant's dishes, the other a series of cinematic scenes with different characters. According to Kling, the creative decisions stay with the person; the assistant handles the repetition.

⚠️ **Limits.** The connection is no free access: everything runs through a Kling account and its credits. One account per region and per OpenClaw installation is intended. Interactive preview cards in OpenClaw have to be switched on separately, and messaging channels may not display them. Besides the official route there are several unofficial Kling MCP servers from other providers with their own addresses and API keys; anyone who wants the official one should check that the address is on kling.ai or klingai.com.

Sources

Open in the interactive reader →

This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources. Imprint, privacy policy and terms of service