V0 MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with V0 MCP or direct API to generate code, search component libraries, prototype interfaces, and automate web development tasks through natural language.

V0 logoV0
Api Key

V0 is an AI-powered web development assistant from Vercel that generates real, production-ready code for modern apps. Build modern web experiences faster with automated, intelligent code suggestions and UI components.

44 Tools

Try V0 now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
V0
Try asking
TOOLS

Supported Tools

Every V0 action and event your agent gets out of the box.

Assign Chat To Project

Tool to assign a chat to a project.

V0 Chat Completions

Tool to generate a chat model response given a list of messages.

Create Webhook

Tool to create a new webhook subscription for receiving event notifications.

Create V0 Project

Tool to create a new v0 project container for chats and code generation.

Create Project Environment Variables

Tool to create new environment variables for a v0 project.

Create Vercel Project

Tool to link a Vercel project to an existing v0 project.

Delete Chat

Tool to permanently delete a specific chat by ID.

Delete Deployment

Tool to delete a deployment by ID from Vercel.

Delete Hook

Tool to delete a webhook by its ID.

Delete Project Environment Variables

Tool to delete multiple environment variables from a project by their IDs.

Delete V0 Project

Tool to permanently delete a v0 project by its ID.

Deploy Project

Tool to deploy a specific v0 chat version to Vercel.

Download Chat Version

Tool to download all files for a specific chat version as a zip or tarball archive.

Export Project Code

Tool to export a deployable snapshot of a v0 chat version by retrieving all files (including default/deployment files).

Favorite Chat

Tool to mark a chat as favorite or remove the favorite status.

Find Chats

Tool to retrieve a list of chats.

Find Projects

Tool to retrieve a list of projects associated with the authenticated user.

Find Vercel Projects

Tool to retrieve a list of Vercel projects linked to the user's v0 workspace.

Fork Chat

Tool to create a fork (copy) of an existing chat.

Get Chat

Tool to retrieve the full details of a specific chat using its chatId.

Get Chat Project

Tool to retrieve the v0 project associated with a given chat.

Get Deployment Errors

Tool to retrieve errors for a specific deployment.

Get Deployment Logs

Tool to retrieve logs for a specific deployment.

Get Hook

Tool to retrieve detailed information about a specific webhook by its ID.

Get Chat Message

Tool to retrieve detailed information about a specific message within a chat.

Get Project by ID

Tool to retrieve the details of a specific v0 project by its ID, including associated chats and metadata.

Get Project Environment Variable

Tool to retrieve a specific environment variable for a given project by its ID, including its value.

Get Rate Limits

Tool to retrieve the current rate limits for the authenticated user.

Get Usage Report

Tool to retrieve detailed usage events including costs, models used, and metadata.

Get User

Tool to retrieve the currently authenticated user's information.

Get User Billing

Tool to fetch billing usage and quota information for the authenticated user.

Get User Plan

Tool to retrieve the authenticated user's subscription plan details including billing cycle and balance.

Get User Scopes

Tool to retrieve all accessible scopes for the authenticated user, such as personal workspaces or shared teams.

Initialize Chat

Tool to initialize a new chat from source content such as files, repositories, registries, zip archives, or templates.

List Chat Versions

Tool to retrieve all versions (iterations) for a specific chat, ordered by creation date (newest first).

List Deployments

Tool to retrieve a list of deployments for a given project, chat, and version.

List Hooks

Tool to retrieve all webhooks tied to chat events or deployments.

List Messages

Tool to retrieve all messages within a specific chat.

List Project Environment Variables

Tool to retrieve all environment variables for a project with optional decryption.

Update Chat

Tool to update metadata of an existing v0 chat.

Update Chat Version Files

Tool to update source files of a specific chat version.

Update V0 Webhook

Tool to update the configuration of an existing webhook, including its name, event subscriptions, or target URL.

Update V0 Project

Tool to update the metadata of an existing v0 project using its projectId.

Update Project Environment Variables

Tool to update environment variables for a v0 project.

SETUP GUIDE

Connect V0 MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["v0"],
  mcp: true,
});
Create a session scoped to V0 and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Generate a Next.js page with a responsive navbar and footer.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a V0 request
SETUP GUIDE

Connect V0 API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["v0"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to V0
3

Run V0 tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Generate a Next.js page with a responsive navbar and footer." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the V0 tool calls through the session, and print the final answer

Why Use Composio?

AI Native V0 Integration

  • Supports both V0 MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for generating, searching, and managing V0 code and UI components

Managed Auth

  • API key management handled securely for every user
  • Central place to manage, scope, and revoke V0 credentials
  • Per user and per environment keys—no more hard-coded secrets

Agent Optimized Design

  • V0 tools tuned for maximum reliability with LLMs
  • Comprehensive logs for every code generation and component query

Enterprise Grade Security

  • Strict RBAC so only authorized agents can generate or access code
  • Scoped, least privilege access to V0 resources
  • Full audit trail of every agent code action for compliance

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Yes, V0 requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Yes. Composio is SOC 2 Type II compliant and is built to keep your V0 connection and credentials secure. OAuth tokens and API keys are encrypted, and sensitive customer data is protected at rest and in transit.

Composio also undergoes independent security testing and continuously monitors its systems for security threats. You can review the latest reports and policies in the Composio Trust Center.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Create the key in your V0 account settings, then paste it once on Composio's connection page. Composio stores it encrypted and uses it only for the V0 actions your agent runs. Nobody else in your workspace can read it, and you can revoke it inside V0 at any time.

When you connect a V0 account through Composio, every action runs under that account, so anything the agent creates, sends, or changes shows up in V0 as done by you. Keep an approval step in your prompt for actions with side effects, such as sending or deleting, and have the agent draft first.

Whatever the credentials you connect allow inside V0. If V0 lets you scope a key to specific permissions, create a scoped one so the agent can only do what you intend. You can revoke the key inside V0 at any time.

Yes. Composio supports multiple connected accounts for the same app, and that works in Claude, ChatGPT, or any other assistant you connect through Composio. Give each V0 connection a name such as work or personal, and the assistant uses the one you mention in the request. Each account keeps its own credentials and nothing is merged.

The connection stops working the moment V0 rejects the old key. Create a new key in V0 and reconnect the account from the Composio dashboard or by asking your agent to reconnect V0. Nothing else changes.

Composio's free Hobby plan includes 100,000 tool calls per month with no credit card, which covers most personal V0 use. Paid plans add higher limits and team features. Your V0 plan and its API limits still apply as usual.

Built-in connectors usually give one AI access to a limited set of apps. Many people use Composio because it lets their AI connect to more apps than it normally supports, or connect to multiple accounts for the same app (e.g. connect Claude to multiple V0 accounts).

With Composio, you connect V0 once and then use it across different AI assistants without setting it up separately in each one. Connect your apps to Composio once, then connect Composio to whichever AI you use, whether that's Claude, ChatGPT, Hermes, or your own custom assistant.

Start with V0.It takes 30 seconds.

Managed auth, hosted MCP servers, and every V0 tool your agent needs.Free to start.

Start building