Skip to content

Commit 5704dbe

Browse files
Merge pull request #217 from DefangLabs/linda-mcp-update-2
Remove extra MCP step + add commentary
2 parents d8f8a4c + d764224 commit 5704dbe

File tree

2 files changed

+32
-8
lines changed

2 files changed

+32
-8
lines changed

docs/concepts/mcp.md

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,13 @@ Ensure that you have the [npm package manager](https://docs.npmjs.com/downloadin
2525
:::warning
2626
At this time, the Defang MCP Server can only be installed using `npx`. Other methods are not yet supported.
2727
:::
28-
29-
Connect the Defang MCP Server with your IDE by running the following command in your terminal:
28+
Run the setup command in your terminal for your IDE of choice from the [Supported IDEs](#supported-ides) section. This will connect the Defang MCP Server to your IDE. The general format of the command is as follows:
3029

3130
```bash
3231
npx -y defang@latest mcp setup --client=<your-ide>
3332
```
3433

35-
Replace `<your-ide>` with the name of your [preferred IDE](#supported-ides). After setup, you can start the MCP Server with the command:
36-
37-
```bash
38-
npx -y defang@latest mcp serve
39-
```
34+
Once the command completes, you may need to restart your IDE for the changes to take effect.
4035

4136
Once the MCP Server is running, you can access the Defang MCP tools directly through the AI agent chat in your IDE.
4237

@@ -46,37 +41,64 @@ That's it! Feel free to explore our [Example Prompts](#example-prompts) to get i
4641

4742
### Cursor
4843

44+
Setup command:
45+
4946
```bash
5047
npx -y defang@latest mcp setup --client=cursor
5148
```
5249

50+
Once setup is complete, you can interact with the AI coding agent using Defang-related actions like `check defang services` or [other prompts](#example-prompts). Here's an example of what it could look like:
51+
5352
![Cursor](/img/mcp-concept/cursor.png)
5453

5554
### Windsurf
5655

56+
Setup command:
57+
5758
```bash
5859
npx -y defang@latest mcp setup --client=windsurf
5960
```
6061

62+
Once setup is complete, you can interact with the AI coding agent using Defang-related actions like `check defang services` or [other prompts](#example-prompts). Here's an example of what it could look like:
63+
6164
![Windsurf](/img/mcp-concept/windsurf.png)
6265

63-
### VS Code / VS Code Insiders
66+
### VS Code
6467

68+
Setup command:
6569

6670
```bash
6771
npx -y defang@latest mcp setup --client=vscode
6872
```
6973

74+
Once setup is complete, you can interact with the AI coding agent using Defang-related actions like `check defang services` or [other prompts](#example-prompts). Here's an example of what it could look like:
75+
7076
![VS Code](/img/mcp-concept/vscode.png)
7177

78+
### VS Code Insiders
79+
80+
Setup command:
81+
82+
```bash
83+
npx -y defang@latest mcp setup --client=vscode-insiders
84+
```
85+
86+
Once setup is complete, you can interact with the AI coding agent using Defang-related actions like `check defang services` or [other prompts](#example-prompts). Here's an example of what it could look like:
87+
88+
![VS Code](/img/mcp-concept/vscode-insiders.png)
89+
7290
### Claude Desktop
7391

7492
While this is not an IDE in the traditional sense, it can support MCP servers. For a smoother experience, consider specifying a project name or directory when making chat prompts to this platform.
7593

94+
Setup command:
95+
7696
```bash
7797
npx -y defang@latest mcp setup --client=claude
7898
```
7999

100+
Once setup is complete, you can interact with the AI coding agent using Defang-related actions like `check defang services` or [other prompts](#example-prompts). Here's an example of what it could look like:
101+
80102
![Claude Desktop](/img/mcp-concept/claude.png)
81103

82104
## MCP Tools
@@ -126,3 +148,5 @@ deploy this with defang /Users/yourname/Documents/project1
126148
```
127149
do I have a service called project1
128150
```
151+
152+
Feel free to try any of these prompts or create your own!
183 KB
Loading

0 commit comments

Comments
 (0)