Skip to content

Commit e0eba38

Browse files
authored
Add VS Code and Cursor MCP connection instructions for Intent (#1044)
Add configuration tabs for VS Code and Cursor to the Intent documentation, enabling users to connect these editors to the Intent MCP server.
1 parent 5b8c127 commit e0eba38

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

docs/concepts/intent/README.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ Spacelift Intent connects your AI client to your cloud infrastructure through a
3535
## Supported clients & endpoint
3636

3737
- **MCP server URL:** `https://<account-name>.app.spacelift.io/intent/mcp`
38-
- **Tested clients:** Claude Code, Claude Desktop (custom connectors), Gemini, Codex
39-
- **Coming soon:** VS Code, Cursor
38+
- **Tested clients:** Claude Code, Claude Desktop (custom connectors), Gemini, Codex, VS Code, Cursor
4039

4140
### Prerequisites
4241

@@ -118,6 +117,43 @@ Spacelift Intent connects your AI client to your cloud infrastructure through a
118117

119118
Once configured run `codex mcp login intent-mcp` to authenticate in intent-mcp server.
120119

120+
=== "VS Code"
121+
122+
You can add the MCP server by editing the workspace config file.
123+
124+
**Config file (`.vscode/mcp.json` at repo root):**
125+
126+
```json
127+
{
128+
"servers": {
129+
"intent-mcp": {
130+
"type": "http",
131+
"url": "https://<account-name>.app.spacelift.io/intent/mcp"
132+
}
133+
}
134+
}
135+
```
136+
137+
Alternatively, open VS Code Command Palette and run `MCP: Add Server` to add the server to your user profile for global access.
138+
139+
=== "Cursor"
140+
141+
You can add the MCP server by editing the config file.
142+
143+
**Config file (`~/.cursor/mcp.json` for global, or `.cursor/mcp.json` at project root):**
144+
145+
```json
146+
{
147+
"mcpServers": {
148+
"intent-mcp": {
149+
"url": "https://<account-name>.app.spacelift.io/intent/mcp"
150+
}
151+
}
152+
}
153+
```
154+
155+
Alternatively, go to Cursor Settings > MCP to add the server.
156+
121157
### Step 2. Authenticate via MCP
122158

123159
1. Start your MCP client, e.g. **Claude Code**.

0 commit comments

Comments
 (0)