Skip to content

Conversation

KevyVo
Copy link
Contributor

@KevyVo KevyVo commented Sep 4, 2025

Description

Added support for the MCP server to deploy to AWS and GCP BYOC. The best known way to setup BYOC right is using an MCP concept using prompts.

AWS BYOC Prompt:

  • Will check if the AWS ID and secret/ or AWS Profile are valid or not
  • Can use AWS Creds or AWS profile
  • Will check the user subscription tier

GCP BYOC Prompt:

  • Will check if the User has gcloud or ADC install and is authenticated or not
  • Will check the user subscription tier

Added checks on all the tools to guard again unset providers.

Docs: DefangLabs/defang-docs#281

Linked Issues

#1215

Checklist

  • I have performed a self-review of my code
  • I have added appropriate tests
  • I have updated the Defang CLI docs and/or README to reflect my changes, if necessary

@KevyVo KevyVo self-assigned this Sep 8, 2025
@KevyVo KevyVo added the mcp MCP for IDE label Sep 8, 2025
@KevyVo KevyVo linked an issue Sep 8, 2025 that may be closed by this pull request
@KevyVo KevyVo changed the title spike on byoc mcp BYOC mcp Sep 8, 2025
@KevyVo KevyVo marked this pull request as ready for review September 8, 2025 22:48
Copy link
Member

@lionello lionello left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nits

@lionello lionello merged commit 30e4e71 into main Sep 9, 2025
13 checks passed
@lionello lionello deleted the kevin/prompts branch September 9, 2025 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mcp MCP for IDE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support BYOC for MCP
2 participants