Registry / aws / awslabs-aws-iac-mcp-server

awslabs-aws-iac-mcp-server

JSON →
library1.0.19pypypiunverified

An MCP (Model Context Protocol) server for Infrastructure as Code (IaC) that provides CloudFormation template validation, compliance checking, and deployment troubleshooting. Version 1.0.17, released irregularly on GitHub (awslabs/mcp). Requires Python >=3.10.

pip install awslabs-aws-iac-mcp-server
INSTALL
IMPORT
SIG · AWSLABS-AWS-IAC-MC
A
awslabs-aws-iac-mcp-server
awspythonv1.0.19
Install
24.1s avg
Import
Disk
325MB
Pass rate
4/ 10
Env Coverage4 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.0.19 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 26s
py 3.11
✕ build_error
✓ 24.4s
py 3.12
✕ build_error
✓ 22.8s
py 3.13
✕ build_error
✓ 23s
py 3.9
✕ build_error
✕ build_error
325MB installed
● package 325MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mcp
from awslabs.aws_iac_mcp_server import mcp
from awslabs_aws_iac_mcp_server import mcp

Run the MCP server. Requires AWS credentials (e.g., AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) configured in environment or ~/.aws/credentials.

from awslabs_aws_iac_mcp_server import mcp if __name__ == "__main__": mcp.run()
Debug
Known issues
breakingmcp.run() will block and start an MCP server on stdio by default. Do not call mcp.run() in an async context without understanding the I/O model.
fix
Run only as a standalone script, or use mcp.run(transport='stdio') explicitly.
affects: all
gotchaThe server expects AWS credentials with CloudFormation DescribeStacks, ValidateTemplate, and GetTemplate permissions. Missing permissions cause cryptic boto3 errors.
fix
Attach AWS managed policy 'AWSCloudFormationReadOnlyAccess' or equivalent custom policy.
affects: all
deprecatedThe package uses the deprecated 'mcp' library (0.x) under the hood. Future versions may migrate to the new 'mcp' library (1.x).
fix
Watch the GitHub repo for migration guides when mcp 1.0 is released.
affects: 1.x
Upgrade
Version history
1.0.19latest on PyPI · released May 8, 2026
Audit
Dependencies
boto3requiredAWS SDK for CloudFormation and STS calls
mcprequiredMCP protocol server framework
Agent activity
30 hits · last 30 days
node
28
OpenAI (training)
1
Resources
awslabs-aws-iac-mcp-server — pip install awslabs-aws-iac-mcp-server · libregistry