QV

quegenx/vercel-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

63 stars 21 forks 质量 47 趋势 0

quegenx/vercel-mcp-server 是从 https://github.com/quegenx/vercel-mcp-server. 导入的 MCP 服务器候选

概览

quegenx/vercel-mcp-server 是从 https://github.com/quegenx/vercel-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

🔥 一个强大的模型上下文协议(MCP)服务器,通过Cursor的Composer和Codeium的Cascade,提供对Vercel部署的全面管理控制。该工具实现了无缝项目管理,提供部署、域、环境变量等全面功能。

📚 目录

  • 先决条件
  • 快速入门
  • 积分
  • 特色
  • 使用情况
  • 安全说明
  • 故障排除
  • 贡献
  • 许可证

🔧 先修条件

  • Node.js >= 16.x
  • NPM >= 8.x
  • 一个Vercel账户,包含:
  • 访问令牌
  • 团队ID(可选)
  • 项目ID(可选)
  • Cursor IDE 或 Codeium 的 Cascade(付费用户用)

🚀 快速启动

📥 安装

⚙️ 配置

  1. 安装依赖并构建项目:

  2. 设置你的Vercel访问令牌:

在src/config/constants.ts中:

在src/index.ts中:

  1. 在光标的MCP设置中,使用以下命令添加服务器:

关于macOS:

Windows版:

针对Linux:

用你的实际安装路径替换/path/to/vercel-mcp或C:\path\to\vercel-mcp。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Vercel MCP Server 🚀

🔥 A powerful Model Context Protocol (MCP) server that provides full administrative control over your Vercel deployments through both Cursor’s Composer and Codeium’s Cascade. This tool enables seamless project management with comprehensive features for deployments, domains, environment variables, and more.

📚 Table of Contents

🔧 Prerequisites

  • Node.js >= 16.x
  • npm >= 8.x
  • A Vercel account with:
    • Access Token
    • Team ID (optional)
    • Project ID (optional)
  • Cursor IDE or Codeium’s Cascade (for paying users)

🚀 Quick Start

📥 Installation

# Clone the repository
git clone https://github.com/Quegenx/vercel-mcp-server.git
cd vercel-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

⚙️ Configuration

  1. Install dependencies and build the project:

    npm install
    npm run build
    
  2. Set up your Vercel access token:

    • Go to https://vercel.com/account/tokens to generate your access token

    • Update the token in both of these files:

      In src/config/constants.ts:

      export const DEFAULT_ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"; // Replace with your actual token
      

      In src/index.ts:

      export const DEFAULT_ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"; // Replace with your actual token
      
  3. In Cursor’s MCP settings, add the server with this command:

    For macOS:

    # Default installation
    /usr/local/bin/node /path/to/vercel-mcp/dist/index.js
    
    # Homebrew installation
    /opt/homebrew/bin/node /path/to/vercel-mcp/dist/index.js
    
    # NVM installation
    ~/.nvm/versions/node/v18.x.x/bin/node /path/to/vercel-mcp/dist/index.js
    

    For Windows:

    # Default installation
    C:\Program Files\nodejs\node.exe C:\path\to\vercel-mcp\dist\index.js
    
    # NVM for Windows
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →