Skip to content

Commit b01faa8

Browse files
committed
Add env0 MCP server
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ
1 parent ee298ab commit b01faa8

1 file changed

Lines changed: 114 additions & 0 deletions

File tree

servers/com.env0-mcp-docker.json

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.env0-mcp-docker",
4+
"name": "env0 (Docker)",
5+
"alias": "env0",
6+
"description": "Manage env0 Infrastructure as Code workflows via Docker. Deploy, abort, approve, and cancel environments; inspect projects, plan logs, and cloud resources; analyze deployment errors; and generate IaC in an isolated container.",
7+
"logo": "https://avatars.githubusercontent.com/u/46656519?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"developer-tools",
11+
"cloud"
12+
],
13+
"tags": [
14+
"env0",
15+
"iac",
16+
"terraform",
17+
"opentofu",
18+
"infrastructure",
19+
"deployment",
20+
"cloud",
21+
"docker"
22+
],
23+
"transport": {
24+
"type": "stdio",
25+
"command": "docker",
26+
"args": [
27+
"run",
28+
"-i",
29+
"--rm",
30+
"-e",
31+
"ENV0_API_KEY",
32+
"-e",
33+
"ENV0_API_SECRET",
34+
"-e",
35+
"ENV0_ORGANIZATION_ID",
36+
"env0/mcp-server"
37+
],
38+
"env": {
39+
"ENV0_API_KEY": "${input:ENV0_API_KEY}",
40+
"ENV0_API_SECRET": "${input:ENV0_API_SECRET}",
41+
"ENV0_ORGANIZATION_ID": "${input:ENV0_ORGANIZATION_ID}"
42+
},
43+
"metadata": {
44+
"inputs": [
45+
{
46+
"id": "ENV0_API_KEY",
47+
"label": "API Key ID",
48+
"description": "Your env0 API Key ID. Created in Organization Settings > API Keys. Used as the username for Basic Authentication against the env0 API.",
49+
"type": "text",
50+
"required": true,
51+
"secret": true,
52+
"placeholder": "********************************",
53+
"obtain": {
54+
"url": "https://docs.env0.com/docs/api-keys",
55+
"instructions": "1. Open env0 and go to Organization Settings\n2. Open the API Keys tab\n3. Click Add API Key and enter a name\n4. Choose Organization Admin or User permissions\n5. Copy the API Key ID and Secret immediately (the secret is shown only once)",
56+
"button_label": "Create API Key"
57+
}
58+
},
59+
{
60+
"id": "ENV0_API_SECRET",
61+
"label": "API Key Secret",
62+
"description": "Your env0 API Key Secret. Shown only once when the API key is created. Used as the password for Basic Authentication against the env0 API.",
63+
"type": "text",
64+
"required": true,
65+
"secret": true,
66+
"placeholder": "********************************",
67+
"obtain": {
68+
"url": "https://docs.env0.com/docs/api-keys",
69+
"instructions": "1. Open env0 and go to Organization Settings\n2. Open the API Keys tab\n3. Click Add API Key and enter a name\n4. Copy the API Key Secret immediately (it cannot be retrieved later)",
70+
"button_label": "Create API Key"
71+
}
72+
},
73+
{
74+
"id": "ENV0_ORGANIZATION_ID",
75+
"label": "Organization ID",
76+
"description": "Your env0 organization ID. Required to target a specific organization, especially when your account belongs to multiple organizations.",
77+
"type": "text",
78+
"required": true,
79+
"secret": false,
80+
"placeholder": "your-organization-id",
81+
"obtain": {
82+
"url": "https://docs.env0.com/docs/api-keys",
83+
"instructions": "1. Open env0 and go to Organization Settings\n2. Copy your Organization ID from the organization details",
84+
"button_label": "Open env0"
85+
}
86+
}
87+
]
88+
}
89+
},
90+
"auth": {
91+
"type": "api_key",
92+
"instructions": "Create an API Key in env0 Organization Settings > API Keys. You'll need the API Key ID, the API Key Secret (shown only once), and your Organization ID."
93+
},
94+
"contributor": {
95+
"name": "env0",
96+
"github": "env0",
97+
"url": "https://www.env0.com"
98+
},
99+
"links": {
100+
"repository": "https://github.com/env0/mcp-server",
101+
"homepage": "https://www.env0.com",
102+
"documentation": "https://docs.env0.com"
103+
},
104+
"platforms": [
105+
"all"
106+
],
107+
"capabilities": {
108+
"tools": true,
109+
"resources": false,
110+
"prompts": false,
111+
"read_only_mode": false
112+
},
113+
"changelog_url": "https://github.com/env0/mcp-server/releases"
114+
}

0 commit comments

Comments
 (0)