Skip to content

Commit d8f8a4c

Browse files
authored
Merge pull request #216 from DefangLabs/linda-update-mcp-cmds
Update MCP docs
2 parents 3aecf93 + 33686d8 commit d8f8a4c

File tree

5 files changed

+23
-12
lines changed

5 files changed

+23
-12
lines changed

docs/concepts/mcp.md

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,54 +20,65 @@ This page is a guide to the Defang MCP Server detailing its installation, tools,
2020

2121
## Installation
2222

23-
First, make sure you have the [npm package manager](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) installed so that you can use `npx` commands.
23+
Ensure that you have the [npm package manager](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) installed, as `npx` commands are required for setup.
24+
25+
:::warning
26+
At this time, the Defang MCP Server can only be installed using `npx`. Other methods are not yet supported.
27+
:::
2428

2529
Connect the Defang MCP Server with your IDE by running the following command in your terminal:
2630

2731
```bash
28-
npx -y defang mcp setup --client=<your-ide>
32+
npx -y defang@latest mcp setup --client=<your-ide>
2933
```
3034

31-
Replace `<your-ide>` with the name of your preferred IDE. See our list of [Supported IDEs](#supported-ides). After setup, you can start the MCP Server with the command:
35+
Replace `<your-ide>` with the name of your [preferred IDE](#supported-ides). After setup, you can start the MCP Server with the command:
3236

3337
```bash
34-
npx -y defang mcp serve
38+
npx -y defang@latest mcp serve
3539
```
3640

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

39-
![IDE Screenshot](/img/mcp-concept/ide.png)
40-
4143
That's it! Feel free to explore our [Example Prompts](#example-prompts) to get ideas on how to interact with the AI agent and make the most of the Defang MCP Server.
4244

4345
## Supported IDEs
4446

4547
### Cursor
4648

4749
```bash
48-
npx -y defang mcp setup --client=cursor
50+
npx -y defang@latest mcp setup --client=cursor
4951
```
5052

53+
![Cursor](/img/mcp-concept/cursor.png)
54+
5155
### Windsurf
5256

5357
```bash
54-
npx -y defang mcp setup --client=windsurf
58+
npx -y defang@latest mcp setup --client=windsurf
5559
```
5660

57-
### VS Code
61+
![Windsurf](/img/mcp-concept/windsurf.png)
62+
63+
### VS Code / VS Code Insiders
64+
5865

5966
```bash
60-
npx -y defang mcp setup --client=vscode
67+
npx -y defang@latest mcp setup --client=vscode
6168
```
6269

70+
![VS Code](/img/mcp-concept/vscode.png)
71+
6372
### Claude Desktop
6473

65-
(While this is not an IDE in the traditional sense, it can support MCP servers.)
74+
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.
6675

6776
```bash
68-
npx -y defang mcp setup --client=claude
77+
npx -y defang@latest mcp setup --client=claude
6978
```
7079

80+
![Claude Desktop](/img/mcp-concept/claude.png)
81+
7182
## MCP Tools
7283

7384
Below are the tools available in the Defang MCP Server.

static/img/mcp-concept/claude.png

280 KB
Loading
Loading

static/img/mcp-concept/vscode.png

407 KB
Loading

static/img/mcp-concept/windsurf.png

359 KB
Loading

0 commit comments

Comments
 (0)