Registry / aws / awslabs-cfn-mcp-server

awslabs-cfn-mcp-server

JSON →
library1.0.19pypypiunverified

An AWS Labs Model Context Protocol (MCP) server for performing common CloudFormation tasks and managing resources in your AWS account. Current version 1.0.19, released monthly.

pip install awslabs-cfn-mcp-server
INSTALL
IMPORT
SIG · AWSLABS-CFN-MCP-SE
A
awslabs-cfn-mcp-server
awspythonv1.0.19
Install
—
Import
—
Disk
—
Pass rate
0/ 10
Env Coverage0 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v? · pip install
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
py 3.10–3.95 runs
build_error
glibc
py 3.10–3.95 runs
build_error
Code
Verified usage

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

mcp_server
✓ from cfn_mcp_server.server import mcp_server
✗ from awslabs_cfn_mcp_server import mcp_server
Correct import path is under cfn_mcp_server, not the package top-level

Initialize and run the MCP server. Requires AWS credentials.

import os from cfn_mcp_server.server import mcp_server # Set AWS credentials via environment variables os.environ['AWS_ACCESS_KEY_ID'] = os.environ.get('AWS_ACCESS_KEY_ID', '') os.environ['AWS_SECRET_ACCESS_KEY'] = os.environ.get('AWS_SECRET_ACCESS_KEY', '') os.environ['AWS_DEFAULT_REGION'] = os.environ.get('AWS_DEFAULT_REGION', 'us-east-1') if __name__ == '__main__': mcp_server.run()
cfn-mcp-server --version
Debug
Known issues
gotchaThe server only reports status events if the handler runs asynchronously; blocking calls may hang the MCP connection.
fix
Use async handlers or ensure your tools do not block the event loop.
affects: >=1.0.0
deprecatedThe 'cfn_lint' tool may be deprecated in future releases; prefer using 'cfn_nag' or direct linting via cfn-lint package.
fix
Use the 'cfn_nag' tool instead or call cfn-lint directly from your code.
affects: 1.0.10 to 1.0.19
breakingVersion 1.0.15 changed the default AWS session configuration to require explicit region setting.
fix
Set AWS_DEFAULT_REGION environment variable or pass region in the constructor.
affects: >=1.0.15
gotchaThe MCP server uses stdio transport by default; ensure your MCP client (e.g., Claude Desktop) is configured with 'command': 'python', 'args': ['-m', 'cfn_mcp_server'].
fix
Configure the client with the correct command and arguments.
affects: >=1.0.0
Upgrade
Version history
1.0.19latest on PyPI · released Mar 13, 2026
Audit
Dependencies
boto3requiredRequired for AWS API calls
mcprequiredRequired for MCP server implementation
Agent activity
28 hits · last 30 days
node
24
OpenAI (training)
1
Resources
awslabs-cfn-mcp-server — pip install awslabs-cfn-mcp-server · libregistry