Skip to content

Commit 93923d4

Browse files
committed
update commands and overview
1 parent 7c11943 commit 93923d4

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

docs/concepts/mcp.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,46 +11,54 @@ supported IDE.
1111

1212
For more detail on MCP architecture, visit the [official MCP documentation](https://modelcontextprotocol.io/introduction).
1313

14-
### Overview
14+
### What does an MCP server do?
1515

16-
An MCP server enhances the functionality of AI agents by enabling them to use external resources and tools to create responses or perform tasks (e.g. integrate with Defang). In the case of Defang's MCP Server, you can use deploy and manage your services by asking an AI agent to do so in an IDE.
16+
An MCP server integration allows an AI agent to access external tools and resources to perform tasks beyond its usual capabilities (e.g. deploying a service). With Defang's MCP Server, you can deploy and manage your services simply by asking an AI agent within your IDE.
1717

1818
## Installation
1919

20-
To run this server, you will need to install the [Defang CLI](/docs/getting-started). Then, you can run:
20+
First, install the [Defang CLI](/docs/getting-started). Then, connect the MCP server with your IDE by running the following command in your terminal:
2121

2222
```bash
23-
defang mcp --client=<your-ide>
23+
defang mcp setup --client=<your-ide>
2424
```
2525

26-
This sets up the MCP server to connect with your IDE.
26+
Replace `<your-ide>` with the name of your preferred IDE. See our list of [Supported IDEs](#supported-ides).
27+
28+
After setup, you can start the MCP server with the command:
29+
30+
```bash
31+
defang mcp serve
32+
```
33+
34+
Once the server is running, you can access the Defang MCP tools directly through the AI agent chat in your IDE.
2735

2836
## Supported IDEs
2937

3038
### Cursor
3139

32-
```
33-
defang mcp --client=cursor
40+
```bash
41+
defang mcp setup --client=cursor
3442
```
3543

3644
### Windsurf
3745

38-
```
39-
defang mcp --client=windsurf
46+
```bash
47+
defang mcp setup --client=windsurf
4048
```
4149

4250
### VSCode / VSCode Insiders
4351

44-
```
45-
defang mcp --client=vscode
52+
```bash
53+
defang mcp setup --client=vscode
4654
```
4755

4856
### Claude Desktop
4957

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

52-
```
53-
defang mcp --client=claude
60+
```bash
61+
defang mcp setup --client=claude
5462
```
5563

5664
## MCP Tools

0 commit comments

Comments
 (0)