I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

V0-MCP
MCP Server pour connecter votre hôte MCP à v0.dev directement
1
Github Watches
0
Github Forks
6
Github Stars
V0.dev Response Capture Tool
A tool that connects to your browser, navigates to v0.dev, submits prompts, and captures all network responses - including the streamed AI responses. This allows you to save the complete output from v0.dev for further analysis or use.
Features
- Connects to your existing Chrome browser with all your accounts/cookies
- Navigates to v0.dev and submits your prompt
- Captures all network activity, focusing on streamed AI responses
- Decodes the Vercel AI SDK streaming format to extract complete responses
- Saves responses to files for later reference
- Provides tools to extract and view responses from saved files
Prerequisites
- Python 3.8+
- Google Chrome browser
Installation
- Clone this repository
- Install dependencies:
# Using pip
pip install -r requirements.txt
# OR using uv
uv pip install -r requirements.txt
# Install Playwright browsers
python -m playwright install chromium
Usage
Capturing a v0.dev response
Run the script with a prompt to capture the response:
# Use the default prompt (calendar app)
python main.py
# Specify a custom prompt
python main.py monitor --prompt "Build a landing page for a coffee shop with a menu section and contact form"
The script will:
- Connect to your Chrome browser (or launch a new instance)
- Navigate to v0.dev
- Submit your prompt
- Capture all network activity, including the streaming responses
- Save the responses to the
captures
directory
Listing captured files
List all the files in your captures directory:
python main.py list
Extracting responses from captured files
Extract and display the complete response from a captured file:
python main.py extract captures/full_response_1234567890.txt
This will:
- Parse and decode the captured file
- Extract the complete text response
- Display it in the terminal
- Save a clean version to a new file
How It Works
Vercel AI SDK Streaming Format
v0.dev uses the Vercel AI SDK to stream responses in a Server-Sent Events (SSE) format:
data: {"type":"data","value":[{"text":"Building"}]}
data: {"type":"data","value":[{"text":" a"}]}
data: {"type":"data","value":[{"text":" calendar"}]}
data: {"type":"message_annotations","value":[{"type":"finish_reason","message":"stop"}]}
Our tool:
- Captures these streamed responses
- Decodes the format to extract the text content
- Assembles the complete response
- Saves both raw and processed data
File Types
The tool saves several types of files:
-
sse_stream_*.jsonl
: Raw SSE stream data -
sse_decoded_*.jsonl
: Decoded JSON events from the stream -
assembled_content_*.txt
: Assembled text content from the stream -
full_response_*.txt
: Complete, cleaned response text
Troubleshooting
If you have issues:
- Try closing all Chrome instances and run the script - it will launch Chrome with your profile
- For browser installation issues:
python -m playwright install chromium
- If responses aren't being captured properly, increase the monitoring time in
tools.py
Advanced Usage
Directly using the extraction tool
You can also use the extraction function directly from the tools.py
file:
python tools.py extract captures/your_captured_file.jsonl
Custom monitoring duration
By default, the script monitors for 60 seconds. For complex prompts that take longer, you can modify the monitor_v0_interactions
function in tools.py
to increase the monitoring time.
相关推荐
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
Reviews

user_3RlHqmEM
I've been using the Integration App MCP Server for my projects, and it has seamlessly improved our workflow. The user-friendly interface and robust functionalities make it an indispensable tool. Integration is effortless, and performance is rock-solid. Highly recommend checking it out! For more information, visit https://mcp.so/server/mcp-server/integration-app.