Enterprise Secure AWS MCP Server
Servidor de protocolo de contexto de modelo (MCP) de AWS seguro de nivel empresarial
Servidor de protocolo de contexto de modelo (MCP) de grado de producción implementado en AWS Lambda y API Gateway con 100 % de IaC de Terraform, RBAC de IAM de confianza cero y protecciones de defensa del Top 10 de OWASP LLM.
Descripción general de la arquitectura de AWS

Related MCP server: AWS Sage
Características
Especificaciones MCP estándar: Soporte completo para el descubrimiento de herramientas (
/mcp/tools) y la ejecución de herramientas (/mcp/tools/call) del protocolo de contexto de modelo (MCP) de Anthropic.Control de acceso basado en roles (RBAC) de IAM: Restringe la ejecución de herramientas según el rol (
sre_read_only,security_auditor,sre_admin).Defensa OWASP LLM02: Saneamiento perimetral que bloquea inyecciones de metacaracteres de subshell (
[;&|'$]).Defensa OWASP LLM06: Redactor automático de búfer de salida que elimina claves de acceso de AWS (
AKIA...) y PII.Campo de pruebas interactivo de interfaz web: Interfaz de prueba en modo oscuro que se ejecuta en
http://localhost:8080(make ui).Costo de nube en inactividad cero: Aprovisionado mediante Terraform con implementación de un solo comando (
make deploy) y desmontaje instantáneo (make destroy).
Demostración del campo de pruebas de la interfaz web
A continuación se muestra la demostración interactiva automatizada en alta definición que muestra la denegación de acceso RBAC, la defensa contra inyección de comandos y la ejecución exitosa del reinicio del servidor bajo el rol sre_admin:

Requisitos previos y configuración del sistema
Antes de configurar el proyecto, asegúrate de que tu entorno tenga instalados Python 3.11+, Terraform y AWS CLI.
1. Dependencias del sistema (Linux / Ubuntu / Debian)
sudo apt update && sudo apt install python3-venv python3-pip terraform awscli -y2. Configuración del entorno
Clona el repositorio e instala las dependencias del proyecto en un entorno virtual aislado (.venv):
git clone https://github.com/patelketul1230/aws-mcp-enterprise-server.git
cd aws-mcp-enterprise-server
# Create .venv and install dependencies
make installEstructura del repositorio
aws-mcp-enterprise-server/
├── docs/
│ ├── assets/ # Centralized PNG images & HD animations
│ │ ├── mcp_aws_figma_architecture_diagram.png
│ │ ├── mcp_ui_testing_demo.webp
│ │ ├── mcp_ui_testing_demo.gif
│ │ ├── mcp_ui_playground_success_screenshot.png
│ │ ├── mcp_ui_playground_admin_success_screenshot.png
│ │ └── mcp_ui_playground_blocked_screenshot.png
│ ├── blogs/ # 3 Medium Sub-Blogs ready for publication
│ │ ├── blog_1_1_mcp_decoded.md
│ │ ├── blog_1_2_mcp_rbac_python.md
│ │ └── blog_1_3_mcp_tool_poisoning.md
│ ├── architecture.md # Figma diagrams & sequence flows
│ ├── 5w_and_how.md # 5 Ws + 1 H problem statement & threat model
│ └── demo_execution.log # Verified test execution log
├── src/
│ ├── clients/ # AWS Bedrock Converse API integration client
│ ├── middleware/ # MCPSecurityValidator (RBAC & DLP)
│ ├── tools/ # CloudWatch & Terraform tool modules
│ ├── ui/ # Interactive Web UI Playground (index.html)
│ └── server.py # AWS Lambda & FastAPI server handler
├── terraform/ # 100% Terraform IaC (API Gateway, IAM, Lambda)
├── tests/ # Pytest suite & live verification scripts
├── Makefile # Lifecycle hooks (make deploy / make destroy / make ui)
└── README.md # Project documentationGuía de inicio rápido
1. Instalar dependencias
make install2. Ejecutar pruebas
make test3. Implementar la infraestructura en AWS
make deploySalidas:
Punto de conexión de API: Salida dinámica generada por Terraform
CloudWatch Log Group:
/aws/mcp/aws-mcp-enterprise-server-dev
4. Iniciar el campo de pruebas interactivo de la interfaz web
make uiAbre http://localhost:8080 en tu navegador web para probar visualmente las llamadas a herramientas, los roles RBAC y las defensas contra inyección.
5. Probar mediante terminal (curl)
# Health Check
curl -s <YOUR_API_ENDPOINT>/health
# Tool Discovery Catalog
curl -s <YOUR_API_ENDPOINT>/mcp/tools
# Valid Tool Call (CloudWatch Query)
curl -s -X POST <YOUR_API_ENDPOINT>/mcp/tools/call \
-H "Content-Type: application/json" \
-H "X-User-Role: sre_read_only" \
-d '{"tool_name": "query_cloudwatch_logs", "arguments": {"log_group": "/aws/lambda/payment-dev", "filter_pattern": "ERROR"}}'
# Command Injection Attack (Returns 403 Forbidden)
curl -s -X POST <YOUR_API_ENDPOINT>/mcp/tools/call \
-H "Content-Type: application/json" \
-H "X-User-Role: sre_read_only" \
-d '{"tool_name": "query_cloudwatch_logs", "arguments": {"log_group": "/aws/lambda/payment-dev; rm -rf /", "filter_pattern": "ERROR"}}'6. Eliminar los recursos de AWS
make destroyEnlaces de documentación técnica
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI models to interact with AWS Lambda functions via the MCP protocol, allowing access to private resources, real-time data, and custom computation in a secure environment.2109MIT
- AlicenseNot gradedqualityCmaintenanceA unified MCP server for AWS that enables natural language infrastructure management, cross-service resource discovery, and dependency mapping. It features 30 intelligent tools for cost optimization, incident investigation, and multi-account operations protected by a robust safety system.5MIT
- AlicenseCqualityDmaintenanceEnables secure, zero-trust access to MCP tools through short-lived, signed capability leases that bind tool execution to specific sessions, intents, and constraints. Prevents prompt injection attacks and privilege escalation with dynamic risk scoring, policy enforcement, and tamper-evident audit logging.41MIT
- AlicenseNot gradedqualityCmaintenanceA read-only MCP server for safe, structured investigation of AWS serverless resources, providing curated tools for tracing dependencies, permissions, and failures without exposing raw SDK access.MIT
Related MCP Connectors
Remote MCP for Copilot CLI switch gate MCP, structured receipts, audit logs, and reviewer-ready evid
A paid remote MCP for AI SDK eval dashboard, built to return verdicts, receipts, usage logs, and aud
A paid remote MCP for ClawManager, built to return verdicts, receipts, usage logs, and audit-ready J
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/patelketul1230/aws-mcp-enterprise-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server