Official builds of the Defang CLI, including MCP server.
7.9K
The Defang Model Context Protocol (MCP) Server is tailored for developers who work primarily within integrated development environments (IDEs). It enables seamless cloud deployment from supported editors such as Cursor, Windsurf, VS Code, VS Code Insiders, and Claude, delivering a fully integrated experience without leaving your development environment.
| Attribute | Details |
|---|---|
| Image Source | Official Image |
| Docker Image | defangio/defang-cli |
| Author | Defang |
| Repository | GitHub - Defang |
| Dockerfile | View Dockerfile |
| Docker Image built by | Defang Software Labs |
| License | MIT License |
| Tool | Short Description |
|---|---|
| deploy | Deploy a project to Defang |
| destroy | Destroy a Defang project |
| estimate | Estimate the cost of a Defang project |
| list_configs | List all configs for a Defang project |
| services | List all Defang services |
| remove_config | Remove a config for a Defang project |
| login | Login to Defang |
| set_config | Set a config for a Defang project |
deployDeploy a project to Defang
| Parameters | Type | Description |
|---|---|---|
working_directory | string | The path to the working directory |
compose_file_paths | array | The paths to the compose files |
project_name | string | The name of the project |
destroyDestroy a Defang project
| Parameters | Type | Description |
|---|---|---|
working_directory | string | The path to the working directory |
compose_file_paths | array | The paths to the compose files |
project_name | string | The name of the project |
estimateEstimate the cost of a Defang project deployed to a cloud provider
| Parameters | Type | Description |
|---|---|---|
working_directory | string | The path to the working directory |
provider | string | The cloud provider to estimate costs for the supported options are AWS or GCP. |
deployment_mode | string | The deployment mode options for the estimate are AFFORDABLE, BALANCED or HIGH AVAILABILITY. |
list_configsList all configs for a Defang project
| Parameters | Type | Description |
|---|---|---|
working_directory | string | The path to the working directory |
loginLogin to Defang
This tool has no parameters.
| Parameters | Type | Description |
|---|
remove_configRemove a config for a Defang project
| Parameters | Type | Description |
|---|---|---|
working_directory | string | The path to the working directory |
name | string | The name of the config variable |
servicesList all Defang services
| Parameters | Type | Description |
|---|---|---|
working_directory | string | The path to the working directory |
compose_file_paths | array | The paths to the compose files |
project_name | string | The name of the project |
set_configSet a config for a Defang project
| Parameters | Type | Description |
|---|---|---|
working_directory | string | The path to the working directory |
name | string | The name of the config variable |
value | string | The value of the config variable |
{
"mcpServers": {
"defang": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-p",
"47071:47071",
"defangio/defang-cli",
"mcp",
"serve",
"--auth-server",
"47071"
]
}
}
}
Content type
Image
Digest
sha256:5c5799c74…
Size
30.4 MB
Last updated
6 days ago
docker pull defangio/defang-cli