v

v0-mcp

@putchom/v0-mcp
0 Stars 2 次浏览 putchom 更新于 2026-08-23
该服务暂未提供标准配置,请参考 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返

相关 MCP 服务