Back to Home
agarabhishek icon

iam-lens-mcp

Verified Safe

by agarabhishek

Overview

Provides AWS IAM analysis capabilities through a Model Context Protocol (MCP) server, enabling AI assistants to query and simulate IAM permissions and configurations using natural language.

Installation

Run Command
uv run --directory <path_to_iam-lens-mcp> python iam_lens_server.py

Environment Variables

  • COLLECT_CONFIGS

Security Notes

The server uses `subprocess.create_subprocess_exec` to run the `iam-lens` CLI tool, passing arguments as a list which mitigates shell injection risks. File path operations for direct IAM data analysis use `Path.resolve()` and `startswith` checks to prevent path traversal vulnerabilities. No `eval` or obviously dangerous patterns are present. The primary external risk would come from the `iam-lens` CLI tool itself or the contents of the `iam-collect` data.

Similar Servers

Stats

Interest Score30
Security Score9
Cost ClassMedium
Avg Tokens2500
Stars1
Forks0
Last Update2025-11-24

Tags

AWS IAM AnalysisCloud SecurityAI Assistant ToolingPolicy SimulationSecurity Auditing