EM

env0/mcp-server

开发工具

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

4 stars 5 forks 质量 88 趋势 25Apache-2.0

Envzero 的官方 MCP 服务器

概览

Env0 MCP服务器连接了AI工具Env0的平台. 这使得AI代理,助理,和聊天员能够与Env0的平台上的环境互动(例如,部署,取消和获取环境日志),以及从Env0的"Cloud Compass"获得资源. 全部通过自然语言互动. - 需要运行 MCP 服务器容器 - 下列AI 编码助理之一: - Cursor, Claude Code, VSCode, Windsurf, Cline, Zed, JetBrains AI 助理,或者另一个 MCP 兼容客户端 - 您需要从您的 Env0 账户中收集以下信息: 遵循 env0 API 密钥指南创建 API 密钥和密钥 。 在掩体仪表盘中查找您的组织 : 1. 点击左下角的组织图标 2。 从左侧面板3中选择. 转到组织设置 4 下的标签 。 复制 关于详细指示,请参见env0组织文件.

概述(AI 翻译)

Env0 MCP服务器连接了AI工具Env0的平台. 这使得AI代理,助理,和聊天员能够与Env0的平台上的环境互动(例如,部署,取消和获取环境日志),以及从Env0的"Cloud Compass"获得资源. 全部通过自然语言互动.

□ 安装

所需经费

  • ** Docker** - 需要运行 MCP 服务器容器
  • MCP客户端 - 下列AI编码助理之一:
  • Cursor, Claude Code, VSCode, Windsurf, Cline, Zed, JetBrains AI助理, 或另一个MCP相容客户端
  • Env0 API 证书 - 您需要从您的封口账户中收集以下内容:

API 密钥和密钥

遵循 env0 API 密钥指南创建 API 密钥和密钥 。

组织编号

在掩体仪表盘中查找您的组织 :

  1. 在左下角单击组织图标
  2. 从左侧面板选择** 安排**
  3. 转到组织设置下的** General**标签
  4. 复制组织身份证

关于详细指示,请参见env0组织文件.

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

README

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

Env0’s MCP Server

The Env0 MCP Server connects AI tools Env0’s platform. This gives AI agents, assistants, and chatbots the ability to interact with environments in Env0’s platform (for example, deploying, canceling and getting the logs of environments), as well as getting the resources from Env0’s Cloud Compass. All through natural language interactions.

🛠️ Installation

Requirements

  • Docker - Required to run the MCP server container
  • MCP Client - One of the following AI coding assistants:
    • Cursor, Claude Code, VSCode, Windsurf, Cline, Zed, JetBrains AI Assistant, or another MCP-compatible client
  • Env0 API Credentials - You’ll need to gather the following from your env0 account:

🔑 API Key and Secret

Create an API key and secret by following the env0 API Keys guide.

🏢 Organization ID

Find your organization ID in the env0 dashboard:

  1. Click on your organization icon in the bottom left corner
  2. Select Settings from the left side panel
  3. Go to the General tab under Organization Settings
  4. Copy the Organization ID

For detailed instructions, see the env0 Organizations documentation.

Note: The Organization ID is required if you belong to multiple organizations. If you only have access to one organization, this step ensures the MCP server connects to the correct one.

Add this to your Windsurf MCP raw config file. See Windsurf MCP docs for more info.

{
  "mcpServers": {
    "env0": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "ENV0_API_KEY=your-api-key-here",
在 GitHub 查看完整 README

安装

docker run -i --rm -e ENV0_API_KEY=your-api-key-here -e ENV0_API_SECRET=your-api-secret-here -e ENV0_ORGANIZATION_ID=your-org-id-here env0/mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "env0": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "ENV0_API_KEY=your-api-key-here", "-e", "ENV0_API_SECRET=your-api-secret-here", "-e", "ENV0_ORGANIZATION_ID=your-org-id-here", "env0/mcp-server" ] } } }