Skip to content

Commit 0befa16

Browse files
committed
Add Spacelift 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 0befa16

1 file changed

Lines changed: 107 additions & 0 deletions

File tree

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.spacelift-mcp-docker",
4+
"name": "Spacelift (Docker)",
5+
"alias": "spacelift",
6+
"description": "Provision and manage cloud infrastructure with Spacelift Intent using natural language via Docker. Define resources in plain English and have them created directly through provider APIs, with full state tracking - no Terraform or OpenTofu code required.",
7+
"logo": "https://avatars.githubusercontent.com/u/53318513?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"developer-tools",
11+
"cloud"
12+
],
13+
"tags": [
14+
"spacelift",
15+
"infrastructure",
16+
"iac",
17+
"terraform",
18+
"opentofu",
19+
"cloud",
20+
"provisioning",
21+
"docker"
22+
],
23+
"transport": {
24+
"type": "stdio",
25+
"command": "docker",
26+
"args": [
27+
"run",
28+
"-i",
29+
"--rm",
30+
"-e",
31+
"SPACELIFT_API_KEY_ENDPOINT",
32+
"-e",
33+
"SPACELIFT_API_KEY_ID",
34+
"-e",
35+
"SPACELIFT_API_KEY_SECRET",
36+
"ghcr.io/spacelift-io/spacelift-intent:latest"
37+
],
38+
"env": {
39+
"SPACELIFT_API_KEY_ENDPOINT": "${input:SPACELIFT_API_KEY_ENDPOINT}",
40+
"SPACELIFT_API_KEY_ID": "${input:SPACELIFT_API_KEY_ID}",
41+
"SPACELIFT_API_KEY_SECRET": "${input:SPACELIFT_API_KEY_SECRET}"
42+
},
43+
"metadata": {
44+
"inputs": [
45+
{
46+
"id": "SPACELIFT_API_KEY_ENDPOINT",
47+
"label": "Spacelift Account Endpoint",
48+
"description": "The URL of your Spacelift account, e.g. https://yourorg.app.spacelift.io",
49+
"type": "url",
50+
"required": true,
51+
"placeholder": "https://yourorg.app.spacelift.io"
52+
},
53+
{
54+
"id": "SPACELIFT_API_KEY_ID",
55+
"label": "API Key ID",
56+
"description": "The ID of your Spacelift API key, shown in Organization settings > Access > API keys.",
57+
"type": "text",
58+
"required": true,
59+
"placeholder": "01ABCDEFGHIJKLMNOPQRSTUVWX",
60+
"obtain": {
61+
"url": "https://docs.spacelift.io/integrations/api",
62+
"instructions": "1. In Spacelift, open your account menu and select Organization settings\n2. In the Access section, click API keys, then Create API key\n3. Copy the API key ID shown after creation",
63+
"button_label": "Spacelift API Keys"
64+
}
65+
},
66+
{
67+
"id": "SPACELIFT_API_KEY_SECRET",
68+
"label": "API Key Secret",
69+
"description": "The secret for your Spacelift API key. Only shown once when the key is created.",
70+
"type": "text",
71+
"required": true,
72+
"secret": true,
73+
"placeholder": "****************************************",
74+
"obtain": {
75+
"url": "https://docs.spacelift.io/integrations/api",
76+
"instructions": "1. In Spacelift, open your account menu and select Organization settings\n2. In the Access section, click API keys, then Create API key\n3. Copy the secret immediately - it is only displayed once at creation",
77+
"button_label": "Spacelift API Keys"
78+
}
79+
}
80+
]
81+
}
82+
},
83+
"auth": {
84+
"type": "api_key",
85+
"instructions": "Create a Spacelift API key under Organization settings > Access > API keys. Provide your account endpoint, the key ID, and the key secret."
86+
},
87+
"contributor": {
88+
"name": "Spacelift",
89+
"github": "spacelift-io",
90+
"url": "https://spacelift.io"
91+
},
92+
"links": {
93+
"repository": "https://github.com/spacelift-io/spacelift-intent",
94+
"homepage": "https://spacelift.io",
95+
"documentation": "https://docs.spacelift.io/concepts/intent"
96+
},
97+
"platforms": [
98+
"all"
99+
],
100+
"capabilities": {
101+
"tools": true,
102+
"resources": false,
103+
"prompts": false,
104+
"read_only_mode": false
105+
},
106+
"changelog_url": "https://github.com/spacelift-io/spacelift-intent/releases"
107+
}

0 commit comments

Comments
 (0)