https://github.com/defanglabs/defang-vscode
Defang VS Code Extension
https://github.com/defanglabs/defang-vscode
Last synced: 10 months ago
JSON representation
Defang VS Code Extension
- Host: GitHub
- URL: https://github.com/defanglabs/defang-vscode
- Owner: DefangLabs
- License: mit
- Created: 2025-06-16T19:19:21.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-30T23:20:38.000Z (10 months ago)
- Last Synced: 2025-07-31T02:04:29.581Z (10 months ago)
- Language: TypeScript
- Size: 28.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Defang VS Code Extension
The easiest way to use [Defang](https://defang.io) with VS Code.
The Defang VS Code Extension automatically configures the Defang MCP Server. This MCP server includes built-in tools to allow users to deploy and manage their Defang cloud services with VS Code.
## MCP Tools
### Estimate
The `estimate` tool calculates an estimate of the cost of deploying your project with Defang. It analyzes your project files and determines the expected monthly cost based on the services defined in your Dockerfiles and compose.yaml files.
### Deploy
The `deploy` tool scans your project directory for Dockerfiles and compose.yaml files, then deploys the detected service(s) using Defang. You can monitor the deployment process in the Defang Portal.
### Destroy
Given a project name or directory, the `destroy` tool identifies any services deployed with Defang and terminates them. If no services are found, it will display an appropriate message.
### Services
The `services` tool displays the details of all your services that are currently deployed in your project with Defang. It shows the Service Name, Deployment ID, Public URL and Service Status. If there are no services found, it will display an appropriate message.
### Config
* `list_configs`: Lists all the configurations available in your project.
* `set_config`: Sets a configuration variable for your project.
* `rm_config`: Removes a configuration variable from your project.