feat: add VPC creation tool for AWS resource automation with MCP #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
• Adds a createVpc tool to allow users to create AWS VPCs via MCP prompt-based commands.
• Increases Lambda timeout to 900 seconds and adds necessary EC2 permissions to support VPC creation.
⸻
Why is this needed?
• While MCP currently supports observing AWS resources, adding creation capabilities expands its practical use in real-world environments.
• Users can now automate AWS environment setup directly via MCP, improving onboarding and hands-on cloud learning workflows.
⸻
Background
• I recently completed my internship as a Cloud Support Engineering Intern at AWS Korea (Dec 2024 - June 2025).
• During my internship, I used your MCP open-source project in several internal learning and automation projects, which greatly helped me learn AWS resource management.
• I would like to share back this example contribution to express my gratitude and to help expand MCP’s usage.
• My LinkedIn
⸻
How to use
• Example prompt:
The tool will create a VPC with public and private subnets across the specified AZs.
⸻
Changes
•
server-http-python-lambda/server/app.py: Added createVpc tool with VPC creation logic.•
server-http-python-lambda/template.yaml: Increased Lambda timeout to 900 seconds and added necessary EC2 permissions for VPC creation.⸻
Result Screenshot

⸻
Thank you for making this amazing tool! Please let me know if you would like any adjustments or additional tests for this contribution.🙂