You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/mcp.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,52 +20,54 @@ This page is a guide to the Defang MCP Server detailing its installation, tools,
20
20
21
21
## Installation
22
22
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
+
:::
24
28
25
29
Connect the Defang MCP Server with your IDE by running the following command in your terminal:
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:
32
36
33
37
```bash
34
-
npx -y defang mcp serve
38
+
npx -y defang@latest mcp serve
35
39
```
36
40
37
41
Once the MCP Server is running, you can access the Defang MCP tools directly through the AI agent chat in your IDE.
38
42
39
-

40
-
41
43
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.
42
44
43
45
## Supported IDEs
44
46
45
47
### Cursor
46
48
47
49
```bash
48
-
npx -y defang mcp setup --client=cursor
50
+
npx -y defang@latest mcp setup --client=cursor
49
51
```
50
52
51
53
### Windsurf
52
54
53
55
```bash
54
-
npx -y defang mcp setup --client=windsurf
56
+
npx -y defang@latest mcp setup --client=windsurf
55
57
```
56
58
57
59
### VS Code
58
60
59
61
```bash
60
-
npx -y defang mcp setup --client=vscode
62
+
npx -y defang@latest mcp setup --client=vscode
61
63
```
62
64
63
65
### Claude Desktop
64
66
65
67
(While this is not an IDE in the traditional sense, it can support MCP servers.)
0 commit comments