awslabs

Open source MCP servers for AWS

Community awslabs
Updated

Open source MCP Servers for AWS

AWS Terraform MCP Server

MCP server for Terraform on AWS best practices, infrastructure as code patterns, and security compliance with Checkov.

Features

  • Terraform Best Practices - Get prescriptive Terraform advice for building applications on AWS

    • AWS Well-Architected guidance for Terraform configurations
    • Security and compliance recommendations
    • AWSCC provider prioritization for consistent API behavior
  • Security-First Development Workflow - Follow a structured process for creating secure code

    • Step-by-step guidance for validation and security scanning
    • Integration of Checkov at the right stages of development
    • Clear handoff points between AI assistance and developer deployment
  • Checkov Integration - Work with Checkov for security and compliance scanning

    • Run security scans on Terraform code to identify vulnerabilities
    • Automatically fix identified security issues when possible
    • Get detailed remediation guidance for compliance issues
  • AWS Provider Documentation - Search for AWS and AWSCC provider resources

    • Find documentation for specific resources and attributes
    • Get example snippets and implementation guidance
    • Compare AWS and AWSCC provider capabilities
  • AWS-IA GenAI Modules - Access specialized modules for AI/ML workloads

    • Amazon Bedrock module for generative AI applications
    • OpenSearch Serverless for vector search capabilities
    • SageMaker endpoint deployment for ML model hosting
    • Serverless Streamlit application deployment for AI interfaces
  • Terraform Workflow Execution - Run Terraform commands directly

    • Initialize, plan, validate, apply, and destroy operations
    • Pass variables and specify AWS regions
    • Get formatted command output for analysis

Tools and Resources

  • Terraform Development Workflow: Follow security-focused development process via terraform://workflow_guide
  • AWS Best Practices: Access AWS-specific guidance via terraform://aws_best_practices
  • AWS Provider Resources: Access resource listings via terraform://aws_provider_resources_listing
  • AWSCC Provider Resources: Access resource listings via terraform://awscc_provider_resources_listing

Prerequisites

  1. Install uv from Astral or the GitHub README
  2. Install Python using uv python install 3.10
  3. Install Terraform CLI for workflow execution
  4. Install Checkov for security scanning

Installation

Here are some ways you can work with MCP across AWS, and we'll be adding support to more products including Amazon Q Developer CLI soon: (e.g. for Amazon Q Developer CLI MCP, ~/.aws/amazonq/mcp.json):

{
  "mcpServers": {
    "awslabs.terraform-mcp-server": {
      "command": "uvx",
      "args": ["awslabs.terraform-mcp-server@latest"],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Security Considerations

When using this MCP server, you should consider:

  • Following the structured development workflow that integrates validation and security scanning
  • Reviewing all Checkov warnings and errors manually
  • Fixing security issues rather than ignoring them whenever possible
  • Documenting clear justifications for any necessary exceptions
  • Using the RunCheckovScan tool regularly to verify security compliance
  • Preferring the AWSCC provider for its consistent API behavior and better security defaults

Before applying Terraform changes to production environments, you should conduct your own independent assessment to ensure that your infrastructure would comply with your own specific security and quality control practices and standards, as well as the local laws, rules, and regulations that govern you and your content.

MCP Server ยท Populars

MCP Server ยท New

    LeulAria

    Aria Icons

    MCP server for 340k SVG icons

    Community LeulAria
    knowall-ai

    Reverie โ€” graph memory that dreams

    Memory management MCP server for AI agents using Neo4j knowledge graphs

    Community knowall-ai
    keploy

    Key Highlights

    Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

    Community keploy
    hermes-labs-ai

    Fidelis Memory

    Zero-LLM agent memory for Claude Code and AI agents: local-first BM25, dense-vector, and reciprocal-rank-fusion retrieval. Returns original passages verbatim by default. Available on PyPI as fidelis-memory. MIT.

    Community hermes-labs-ai
    n24q02m

    Better Code Review Graph

    Knowledge graph for token-efficient code reviews -- semantic search and call-graph resolution across your codebase.

    Community n24q02m