Skip to content

Commit 234d1db

Browse files
committed
add @latest to cmds
1 parent 3aecf93 commit 234d1db

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

docs/concepts/mcp.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,52 +20,54 @@ 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`.
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

3135
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:
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

5153
### Windsurf
5254

5355
```bash
54-
npx -y defang mcp setup --client=windsurf
56+
npx -y defang@latest mcp setup --client=windsurf
5557
```
5658

5759
### VS Code
5860

5961
```bash
60-
npx -y defang mcp setup --client=vscode
62+
npx -y defang@latest mcp setup --client=vscode
6163
```
6264

6365
### Claude Desktop
6466

6567
(While this is not an IDE in the traditional sense, it can support MCP servers.)
6668

6769
```bash
68-
npx -y defang mcp setup --client=claude
70+
npx -y defang@latest mcp setup --client=claude
6971
```
7072

7173
## MCP Tools

0 commit comments

Comments
 (0)