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
If you would like to deploy using [MCP](https://modelcontextprotocol.io/), you like need to setup the [Defang MCP Server](../concepts/mcp.md) with the IDE of your choice.
19
+
:::
20
+
21
+
## CLI
22
+
23
+
### Step 1 - Navigate to your project directory
24
+
17
25
Head to the folder where your project is located.
26
+
18
27
```bash
19
28
$ cd path/to/your/project
20
29
```
21
30
22
-
## Step 2 - Deploy
31
+
###Step 2 - Deploy
23
32
24
33
```
25
34
$ defang compose up
@@ -53,6 +62,41 @@ When you do this, you should see something similar to the output below:
53
62
* Done.
54
63
```
55
64
65
+
You can also check on your deployment on the on the [Defang portal](#defang-portal) as well.
66
+
67
+
---
68
+
69
+
## MCP
70
+
71
+
### Step 1 - Navigate to your project directory with your IDE
72
+
73
+
Navigate to your project directory and open it in an IDE that has the [Defang MCP Server](../concepts/mcp.md) installed.
74
+
75
+
:::tip
76
+
If the Defang MCP server doesn’t start automatically, try starting or restarting it from your IDE settings.
77
+

78
+
:::
79
+
80
+
### Step 2 - Setting your provider
81
+
82
+
In your chat window, type `/mcp.defang.Playground_Setup` or select the corresponding prompt from your IDE’s options.
Once the prompt completes without errors, your chat input will be automatically populated with the deployment command for the LLM to execute.
91
+
92
+
### Step 4 - Inspect your deployment
93
+
94
+
You can check the status of your depolyment by using the [Defang Services tool](../concepts/mcp#services) or you can inspect the the project on the [Defang portal](#defang-portal).
95
+
96
+
---
97
+
98
+
## Defang Portal
99
+
56
100
Now we can go to [https://portal.defang.dev/service/app](https://portal.defang.dev/service/app) to see our service listed in the Defang portal.
57
101
58
102

0 commit comments