guidance-for-vibe-coding-with-aws-mcp-servers
Verified Safeby aws-solutions-library-samples
Overview
Building AI-powered development workflows for a hotel booking agent using Amazon Bedrock AgentCore and AWS Model Context Protocol (MCP) Servers, demonstrating 'vibe coding' techniques in an interactive workshop format.
Installation
pnpm docs:initEnvironment Variables
- AWS_REGION
- REGION_NAME
- MCP_SERVER_URL
- PROPERTY_RESOLUTION_API_ENDPOINT
- RESERVATIONS_API_ENDPOINT
- TOXICITY_DETECTION_API_ENDPOINT
- BEDROCK_AGENT_ALIAS_ARN
- COGNITO_USER_POOL_ID
- COGNITO_CLIENT_ID
- COGNITO_SECRET_MANAGER_NAME
- COGNITO_AGENT_SECRET_NAME
- COMPREHEND_REGION
- HOTELS_TABLE_NAME
- ROOM_TYPES_TABLE_NAME
- RESERVATIONS_TABLE_NAME
Security Notes
The project's `open-vite-access.sh` script modifies AWS Security Groups to open port 5173 to a user-provided IP address and CloudFront. This script requires broad EC2 and Security Group modification permissions for the AWS CLI, which could be a risk if the environment is compromised or the script is misused. However, it's intended for legitimate workshop setup. Secrets such as API keys and Cognito credentials are securely managed through AWS Parameter Store and Secrets Manager, which is a good practice. Python code includes `uvx bandit -ll` for static analysis, and no direct `eval` or obvious code injection vulnerabilities were found in the provided snippets. The project is safe to run assuming the user understands and controls the AWS permissions granted for deployment and setup.
Similar Servers
mcp
Enables AI assistants to interact with AWS DocumentDB databases, providing tools for connection management, database/collection operations, document querying, aggregation pipelines, query planning, and schema analysis. It acts as a bridge for safe and efficient database operations through the Model Context Protocol (MCP).
sample-agentic-ai-demos
Provides various examples for building Agentic AI with AWS Bedrock using the Model Context Protocol (MCP) for tool invocation and inter-agent communication.
workshop-mcp-servers
Demonstrates building Model Context Protocol (MCP) servers in TypeScript and Java for integrating with developer platforms and services like GitHub, specifically for a workshop using Visual Studio Code and GitHub Copilot.
spring-boot-ai
A Spring Boot application implementing a Model Context Protocol (MCP) server that provides a remote 'Booking Tool' for an AI agent.