drio
Open app

V0.dev Response Capture Tool

Source

MCP Server to connect your MCP host to V0.dev directly

Catalog onlyCatalog onlySTDIO

Overview

v0-mcp is a browser automation script that utilizes Playwright to connect your existing Chrome browser to the v0.dev website, preserving all your accounts and cookies.

To use v0-mcp, you can either connect to your existing Chrome browser with remote debugging enabled or let the script handle everything by launching Chrome automatically.

  • Connects to your existing Chrome browser with all your accounts/cookies. - Creates a new tab to navigate to v0.dev. - Falls back to launching Chrome with your profile if not already running. - Keeps your Chrome instance open after the script finishes.
  1. Automating the opening of v0.dev in a new tab without losing session data.
  2. Simplifying browser automation tasks for developers using Playwright.
  3. Enhancing productivity by maintaining user sessions while automating web interactions.

Add to your AI client

Use these steps to connect V0.dev Response Capture Tool in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "v0-mcp-m2rads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-v0-mcp-m2rads"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "v0-mcp-m2rads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-v0-mcp-m2rads"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "v0-mcp-m2rads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-v0-mcp-m2rads"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "v0-mcp-m2rads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-v0-mcp-m2rads"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "v0-mcp-m2rads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-v0-mcp-m2rads"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "v0-mcp-m2rads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-v0-mcp-m2rads"
      ]
    }
  }
}

FAQ

What are the prerequisites for using v0-mcp?

You need Python 3.8+ and Google Chrome installed on your machine.

How do I install Playwright?

You can install Playwright using pip with the command: `pip install playwright`.

What if I encounter issues while running the script?

Try closing all Chrome instances and rerun the script, or ensure that Chrome is launched with remote debugging enabled.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2110,"uuid":"da285c77-fef3-4dff-a5e6-0d6af3a360be","name":"v0-mcp","title":"V0.dev Response Capture Tool","description":"MCP Server to connect your MCP host to V0.dev directly","avatar_url":"https://avatars.githubusercontent.com/u/79536486?v=4","created_at":"$D2025-03-09T03:34:17.124Z","updated_at":"$D2025-03-12T10:18:23.590Z","status":"created","author_name":"m2rads","author_avatar_url":"https://avatars.githubusercontent.com/u/79536486?v=4","tags":"[]","category":"browser-automation","is_featured":false,"sort":1,"url":"https://github.com/m2rads/v0-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"2\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-23 19:07:24\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]