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
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,24 +21,25 @@ This page is a guide to the Defang MCP Server detailing its installation, tools,
21
21
## Installation
22
22
23
23
Ensure that you have the [Defang CLI](/docs/getting-started.mdx#install-the-defang-cli) installed.
24
-
:::tip[Recommended Installtion]
25
-
Install the Defang CLI using [Curl](https://curl.se/) or [Homebrew](https://brew.sh/)
24
+
25
+
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:
26
+
27
+
:::tip[Recommended Installation]
28
+
Install the [Defang CLI](/docs/getting-started.mdx#install-the-defang-cli) using [Curl](https://curl.se/) or [Homebrew](https://brew.sh/)
26
29
27
30
```bash
28
31
defang mcp setup --client=<your-ide>
29
32
```
30
33
31
34
:::
32
35
33
-
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:
34
-
35
36
Once the command completes, you may need to restart your IDE for the changes to take effect.
36
37
37
38
Once the MCP Server is running, you can access the Defang MCP tools directly through the AI agent chat in your IDE.
38
39
39
40
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.
40
41
41
-
`npx` is supported but not recommended
42
+
Note that `npx`installation is supported, but not recommended.
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:
106
107
108
+

109
+
107
110
### Claude Desktop
108
111
109
112
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.
@@ -140,7 +143,7 @@ Given a project name or directory, the `destroy` tool identifies any services de
140
143
141
144
### `estimate`
142
145
143
-
The `estimate` tool scan your project directory and considers your [deployment mode](/docs/concepts/deployment-modes.md) (which defaults to `AFFORDABLE`) to provide a [cost estimation](/docs/concepts/estimation.md) for [cost estimation](/docs/concepts/estimation.md). Currently, the tool supports two providers: `AWS` or `GCP`.
146
+
The `estimate` tool scan your project directory and considers your [deployment mode](/docs/concepts/deployment-modes.md) (which defaults to `AFFORDABLE`) to provide a [cost estimation](/docs/concepts/estimation.md) for your project. Currently, the tool supports two providers: `AWS` or `GCP`.
144
147
145
148
### `list_configs`
146
149
@@ -198,6 +201,10 @@ You can list, set and remove Defang configs for a project:
198
201
what defang configs do I have set for this project?
199
202
```
200
203
204
+
```
205
+
list all the defang configs I have set for this project
0 commit comments