v0 MCP Server

v0 MCP Server

Enables generating web application prototypes from natural language requirements using the v0 Platform API. Returns demo URLs and file information for created prototypes.

Category
Visit Server

README

v0 MCP Server

v0 Platform APIを使って自然言語の要件からプロトタイプのURLを返すMCPサーバーです。

機能

  • generate_prototype: 自然言語の要件を受け取り、v0 Platform APIを使ってプロトタイプを生成し、デモURLを返します

セットアップ

  1. 依存関係のインストール:
npm install
  1. 環境変数の設定: MCPクライアント側で以下の環境変数を設定してください:
V0_API_KEY=your_v0_api_key_here
  1. ビルド:
npm run build

使用方法

MCPクライアントでの使用

MCPクライアントの設定で以下のようにサーバーを追加します:

{
  "mcpServers": {
    "v0-mcp-server": {
      "command": "node",
      "args": ["/path/to/v0-mcp-server/dist/index.js"],
      "env": {
        "V0_API_KEY": "your_v0_api_key_here"
      }
    }
  }
}

ツールの使用例

const result = await mcpClient.callTool('generate_prototype', {
  requirements: 'Reactを使ったTODOアプリを作成してください。ダークモード対応で、ローカルストレージに保存する機能も含めてください。'
});

// 成功時のレスポンス例:
// {
//   "success": true,
//   "chatId": "chat_123",
//   "demoUrl": "https://v0.dev/chat/demo_url",
//   "files": [...],
//   "createdAt": "2025-01-xx T xx:xx:xx.xxxZ"
// }

開発

テスト実行

MCPインスペクターを使用してテストできます:

npm run inspector

ブラウザでインスペクターUIが開き、ツールの動作を確認できます。

開発モード

npm run dev

API

generate_prototype

パラメータ:

  • requirements (string, 必須): プロトタイプの要件を自然言語で記述
  • model (string, オプション): 使用するモデル ("v0-1" | "v0-2", デフォルト: "v0-2")

戻り値: 成功時は生成されたプロトタイプのURL、ファイル情報、チャットIDを含むJSONを返します。 エラー時はエラー情報を含むJSONを返します。

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured