Back to Home
PerfLab-io icon

v0-mcp

by PerfLab-io

Overview

An MCP (Model Context Protocol) server that exposes v0.dev APIs for AI-powered development tools with real-time streaming support, enabling client applications to interact with v0.dev services.

Installation

Run Command
npm run start

Environment Variables

  • KV_URL
  • KV_REST_API_URL
  • KV_REST_API_TOKEN
  • KV_REST_API_READ_ONLY_TOKEN
  • REDIS_URL
  • V0_API_KEY
  • DATABASE_URL

Security Notes

The server implements robust cryptographic practices for API key encryption using AES-256-GCM and SHA256 derivation. It also includes sensitive data redaction in logging and rate limiting for log messages. However, there is a **critical temporary bypass** in `lib/oauth-provider.ts` for PKCE validation (`PKCE validation failed - this might be a client issue // TEMPORARY: Allowing invalid PKCE for testing`). If this bypass is active in production, it poses a significant security vulnerability, allowing an attacker to exchange stolen authorization codes without a valid `code_verifier`. This is a severe weakness that must be addressed immediately for a production environment.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-13

Tags

MCPv0.devAIDevelopment ToolsReal-timeStreamingOAuth2Next.jsServerless