Back to Home
edlsh icon

aws-infrasec-mcp-server

Verified Safe

by edlsh

Overview

An AWS Model Context Protocol (MCP) server that provides infrastructure security analysis for EC2 instances and Security Groups.

Installation

Run Command
docker build -t aws-infrasec-mcp . && docker run -it --rm -e AWS_REGION=${AWS_REGION:-us-east-1} -v ~/.aws:/home/mcpuser/.aws:ro aws-infrasec-mcp

Environment Variables

  • AWS_REGION
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_PROFILE

Security Notes

The project demonstrates a strong focus on security, utilizing `eslint-plugin-security` with strict rules (e.g., disallowing `eval`, object injection, and unsafe regex). Docker configuration includes `read_only: true` and `no-new-privileges:true` for enhanced container security. AWS credentials are correctly handled via environment variables or profiles, with no hardcoded secrets identified. Error handling for AWS API calls is present. The `security/detect-non-literal-fs-filename` warning is noted in the ESLint config for `rules-loader.ts`, but for runtime execution, the default path is a static, relative path, mitigating this specific risk.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens1500
Stars0
Forks0
Last Update2025-12-09

Tags

AWSSecurity AnalysisEC2Security GroupsMCP