Registry / aws / awslabs-iam-mcp-server

awslabs-iam-mcp-server

JSON →
library1.0.20pypypiunverified

An AWS Labs Model Context Protocol (MCP) server for managing AWS IAM resources including users, roles, policies, and permissions. Current version 1.0.18, released periodically on PyPI.

pip install awslabs-iam-mcp-server
INSTALL
IMPORT
SIG · AWSLABS-IAM-MCP-SE
A
awslabs-iam-mcp-server
awspythonv1.0.20
Install
9.3s avg
Import
Disk
105MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.0.20 · 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
✓ —
✓ 11.2s
py 3.11
✓ —
✓ 10s
py 3.12
✓ —
✓ 8.2s
py 3.13
✓ —
✓ 8s
py 3.9
✕ build_error
✕ build_error
105MB installed
● package 105MB
Code
Verified usage

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

IAMServer
from awslabs.iam_mcp_server import IAMServer
from awslabs.iam_mcp_server import IAMServer

Initialize and run the IAM MCP server with AWS credentials.

import os from awslabs_iam_mcp_server import IAMServer server = IAMServer( profile_name=os.environ.get('AWS_PROFILE', 'default'), region=os.environ.get('AWS_REGION', 'us-east-1') ) server.run()
Debug
Known issues
gotchaThe server uses your local AWS credentials via profile or environment variables. Ensure proper IAM permissions (iam:*) are configured to avoid access denied errors.
fix
Set AWS_PROFILE environment variable or configure default profile.
affects: all
breakingBreaking change between versions <1.0.0 and >=1.0.0: import path changed from 'awslabs_iam_mcp' to 'awslabs_iam_mcp_server'.
fix
Update import statement to 'from awslabs_iam_mcp_server import IAMServer'.
affects: <1.0.0
deprecatedThe parameter 'aws_access_key_id' and 'aws_secret_access_key' are deprecated in favor of using session or profile. They may be removed in future versions.
fix
Use boto3 session or profile_name parameter instead.
affects: >=1.0.0
Upgrade
Version history
1.0.20latest on PyPI · released May 9, 2026
Audit
Dependencies
aws-lambda-powertoolsoptionalUsed for AWS Lambda integration if deploying on Lambda
Agent activity
36 hits · last 30 days
node
32
OpenAI (training)
1
Resources
awslabs-iam-mcp-server — pip install awslabs-iam-mcp-server · libregistry