This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Superceeded by https://github.com/hashicorp/terraform-mcp-server
⚠️ DEPRECATION NOTICE: This server is deprecated and will no longer receive updates. Please use HashiCorp's official Terraform MCP Server instead, which provides comprehensive Terraform Registry lookups, HCP Terraform workspace management, and enterprise-grade features. See the migration guide for a detailed mapping of tools and known gaps (Terragrunt, Checkov, AWSCC guidance).
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 Registry Module Analysis - Analyze Terraform Registry modules
- Search for modules by URL or identifier
- Extract input variables, output variables, and README content
- Understand module usage and configuration options
- Analyze module structure and dependencies
-
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
-
Terragrunt Workflow Execution - Run Terragrunt commands directly
- Initialize, plan, validate, apply, run-all and destroy operations
- Pass variables and specify AWS regions
- Configure terragrunt-config and and include/exclude paths flags
- 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
- Install
uvfrom Astral or the GitHub README - Install Python using
uv python install 3.10 - Install Terraform CLI for workflow execution
- Install Checkov for security scanning
Installation
| Kiro | Cursor | VS Code |
|---|---|---|
Configure the MCP server in your MCP client configuration (e.g., for Kiro, edit ~/.kiro/settings/mcp.json):
{
"mcpServers": {
"awslabs.terraform-mcp-server": {
"command": "uvx",
"args": ["awslabs.terraform-mcp-server@latest"],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR"
},
"disabled": false,
"autoApprove": []
}
}
}
Windows Installation
For Windows users, the MCP server configuration format is slightly different:
{
"mcpServers": {
"awslabs.terraform-mcp-server": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "uv",
"args": [
"tool",
"run",
"--from",
"awslabs.terraform-mcp-server@latest",
"awslabs.terraform-mcp-server.exe"
],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"AWS_PROFILE": "your-aws-profile",
"AWS_REGION": "us-east-1"
}
}
}
}
or docker after a successful docker build -t awslabs/terraform-mcp-server .:
{
"mcpServers": {
"awslabs.terraform-mcp-server": {
"command": "docker",
"args": [
"run",
"--rm",
"--interactive",
"--env",
"FASTMCP_LOG_LEVEL=ERROR",
"awslabs/terraform-mcp-server:latest"
],
"env": {},
"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.
Release files for awslabs.terraform-mcp-server 1.0.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| awslabs_terraform_mcp_server-1.0.18.tar.gz | 394.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awslabs_terraform_mcp_server-1.0.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 564.7 kB
Release files / awslabs_terraform_mcp_server-1.0.18.tar.gz
| Download URL | awslabs_terraform_mcp_server-1.0.18.tar.gz |
|---|---|
| Size | 394.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
539a79665b7c429140babaaf2acc96411abd9164885434732ecc21d954b2991d
|
|
BLAKE2b-256 checksum How to use checksums |
047175ae91a8cea5c4d0bd77b3177ab99eefeb26c7ac85d08b0eaf63f2c54e9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 9, 2026.
Transparency logRelease files / awslabs_terraform_mcp_server-1.0.18-py3-none-any.whl
| Download URL | awslabs_terraform_mcp_server-1.0.18-py3-none-any.whl |
|---|---|
| Size | 170.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
281076fce0f2acc0c614c1adc62a86db92d3e8960c5b7f35e263e38413217192
|
|
BLAKE2b-256 checksum How to use checksums |
73d40a00208bdde3dd9fe6f35e2ec5da0a2a8f01e312a0a9e2a711f0b4eba039
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 9, 2026.
Transparency log