v0-mcp-server
Version:
Simplified MCP Server for v0.dev with auto-discovery and direct SDK dispatch
57 lines (39 loc) • 1.14 kB
Markdown
# v0 MCP Server
Generate React components with AI directly in Claude Desktop using the Model Context Protocol.
> **Documentation**: Visit [https://www.v0mcp.com/](https://www.v0mcp.com/) for full documentation.
## Quick Start
```bash
V0_API_KEY="your-key-here" npx v0-mcp-server
```
# Or Install directly into Claude Code
```bash
claude mcp add v0-server -e V0_API_KEY="your-key-here" -- npx v0-mcp-server
```
### Or Configure Claude Desktop
```bash
# Install globally
npm install -g v0-mcp-server
```
Add the following to your Claude Desktop configuration file:
**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
```json
{
"mcpServers": {
"v0": {
"command": "npx",
"args": ["v0-mcp-server"],
"env": {
"V0_API_KEY": "your-api-key-here"
}
}
}
}
```
## Usage
Simply ask your LLM to create or modify components:
> "Create a modern login form with email validation"
> "Add a forgot password link and social login buttons"
The MCP server supports the full array of v0 SDK commands.
## License
MIT