MCP.so
Sign In

V0.dev Response Capture Tool

@m2rads

About V0.dev Response Capture Tool

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

Basic information

Category

Other

Runtime

python

Transports

stdio

Publisher

m2rads

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "v0-mcp": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-r",
        "requirements.txt"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is V0.dev Response Capture Tool?

A tool that connects to your Chrome browser, navigates to v0.dev, submits prompts, and captures all network responses—including streamed AI responses—saving them for later analysis or use. It decodes the Vercel AI SDK streaming format and works with Python 3.8+ and Google Chrome.

How to use V0.dev Response Capture Tool?

Install dependencies and Playwright, then run python main.py with a custom prompt (--prompt "...") or use the default. Additional commands: list to see captured files and extract to decode and view a specific capture file.

Features of V0.dev Response Capture Tool

  • Connects to existing Chrome with all your accounts and cookies.
  • Captures Vercel AI SDK streaming SSE responses.
  • Decodes streamed data and assembles complete text.
  • Saves raw, decoded, assembled, and cleaned files.
  • Provides extract and list commands for captured data.

Use cases of V0.dev Response Capture Tool

  • Save AI-generated UI components from v0.dev for offline reference.
  • Debug or analyze the streaming response format from v0.dev.
  • Extract clean text from raw SSE streams for further processing.

FAQ from V0.dev Response Capture Tool

What are the prerequisites?

Python 3.8+ and Google Chrome browser are required.

How do I capture a response?

Run python main.py monitor --prompt "your prompt". The script connects to Chrome, navigates to v0.dev, submits the prompt, and saves captured network data to the captures directory.

What file types does the tool create?

It saves four file types: sse_stream_*.jsonl (raw SSE data), sse_decoded_*.jsonl (decoded JSON events), assembled_content_*.txt (assembled text), and full_response_*.txt (cleaned final response).

How can I extract a captured response later?

Use python main.py extract captures/full_response_1234567890.txt to parse the file and display the clean text in the terminal.

What if responses aren’t captured properly?

Close all Chrome instances and let the script launch a new one. Increase the monitoring time in tools.py if needed.

Comments

More Other MCP servers