SM

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

18 stars 5 forks 质量 75 趋势 14Apache-2.0

stakpak/mcp 是从 https://github.com/stakpak/mcp. 导入的 MCP 服务器候选。

概览

stakpak/mcp 是从 https://github.com/stakpak/mcp. 导入的 MCP 服务器候选。

概述(AI 翻译)

一个连接到 Stakpak API 的 MCP 服务器。

用途

Stakpak API Key

在使用 MCP 服务器之前,您需要先获得 Stakpak API 密钥。您可以通过以下方式获取您的 API 密钥:

  1. 访问Stakpak网站
  2. 登录您的账户
  3. 进入你的个人资料,进入 API 密钥部分

有关详细说明,请参阅 Stakpak API 密钥管理文档。

克劳德桌面

  • 要安装项目,将MCP服务器添加到你的claude_desktop_config.json:

光标

  • 要安装到项目中,将MCP服务器添加到你的.cursor/mcp.json:

  • 要全局安装,请将以下命令添加到你的光标设置中:

风帆冲浪

  • 将MCP服务器添加到你的~/.codeium/windsurf/mcp_config.json文件中:

工具

该 MCP 服务器提供以下工具用于与 Vercel API 交互:

世代

  • generate_infrastructure_code - 生成项目基础设施代码

发展

要建立开发环境:

  1. 克隆仓库:

  2. 安装依赖:

  3. 建设项目:

  4. 全局安装MCP服务器:

  5. 将MCP服务器添加到你的项目中:

集成开发环境集成

MCP 服务器可以集成到各种 IDE:

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

README

Stakpak MCP Server

A MCP server that connects to Stakpak API.

Usage

Stakpak API Key

Before using the MCP server, you’ll need to obtain a Stakpak API key. You can get your API key by:

  1. Visiting Stakpak’s website
  2. Logging into your account
  3. Going to your profile and navigating to the API keys section

For detailed instructions, see the Stakpak API Key Management documentation.

Claude Desktop

  • To install in a project, add the MCP server to your claude_desktop_config.json:
{
  "mcpServers": {
    "stakpak": {
      "command": "npx",
      "args": ["@stakpak/mcp@latest", "--output=resource"],
      "env": {
        "STAKPAK_API_KEY": ""
      }
    }
  }
}

Cursor

  • To install in a project, add the MCP server to your .cursor/mcp.json:
{
  "mcpServers": {
    "stakpak": {
      "command": "npx",
      "args": ["@stakpak/mcp@latest STAKPAK_API_KEY="]
    }
  }
}
  • To install globally, add this command to your Cursor settings:
npx @stakpak/mcp STAKPAK_API_KEY=

Windsurf

  • Add the MCP server to your ~/.codeium/windsurf/mcp_config.json file:
{
  "mcpServers": {
    "stakpak": {
      "command": "npx",
      "args": ["@stakpak/mcp@latest"],
      "env": {
        "STAKPAK_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Tools

This MCP server provides the following tools for interacting with the Vercel API:

Generation

  • generate_infrastructure_code - Generate infrastructure code for a project

Development

To set up the development environment:

  1. Clone the repository:
git clone https://github.com/stakpak/mcp.git
cd mcp
  1. Install dependencies:
bun install
  1. Build the project:
bun build
  1. Install the MCP server globally:
 npx @modelcontextprotocol/inspector node   -e STAKPAK_API_KEY=
  1. Add the MCP server to your project:

IDE Integration

The MCP server can be integrated with various IDEs:

Cursor

Add the MCP server to your .cursor/mcp.json:

{
  "mcpServers": {
    "stakpak": {
      "command": "node",
      "args": [
        " STAKPAK_API_KEY="
      ]
    }
  }
}
在 GitHub 查看完整 README

安装

npx @stakpak/mcp@latest --output=resource
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "stakpak": { "command": "npx", "args": ["@stakpak/mcp@latest", "--output=resource"], "env": { "STAKPAK_API_KEY": "<your-stakpak-api-key>" } } } }