Skip to main content

AWS Compliance MCP Server

License AWS MCP Python PyPI Tests

Full documentation: https://aws-samples.github.io/sample-aws-india-compliance-mcp/

An MCP server that assesses AWS infrastructure against regulatory compliance frameworks. Works with Kiro, Claude Desktop, Cursor, or any MCP-compatible client.

Supported frameworks:

  • CERT-In Directions on Information Security Practices 2022
  • Digital Personal Data Protection Act 2023 + Rules 2025
  • IRDAI Information and Cyber Security Guidelines 2023
  • RBI Master Direction on IT Governance, Risk, Controls and Assurance Practices
  • SEBI Cybersecurity and Cyber Resilience Framework (CSCRF) / Cloud Framework

Important: This tool provides automated assessment guidance based on published regulatory frameworks. It does not constitute legal advice or compliance certification. Organizations should consult qualified compliance and legal professionals for definitive regulatory compliance determinations.

Cost notice: The MCP server performs read-only API calls at no additional charge beyond standard AWS API request pricing. However, deploying conformance packs generated by this tool creates AWS Config rules, which may incur AWS Config pricing charges.

Quick Start

No installation required. Add to your MCP client config and uvx handles the rest:

{
  "mcpServers": {
    "aws-india-compliance": {
      "command": "uvx",
      "args": ["aws-india-compliance@latest"]
    }
  }
}

If you use a named AWS profile:

{
  "mcpServers": {
    "aws-india-compliance": {
      "command": "uvx",
      "args": ["aws-india-compliance@latest"],
      "env": {
        "AWS_PROFILE": "my-sso-profile"
      }
    }
  }
}

Add the config to your MCP client's settings file:

  • Kiro: .kiro/settings/mcp.json
  • Claude Desktop: claude_desktop_config.json
  • Claude Code: ~/.claude/mcp.json

Requires uv installed. On macOS: brew install uv

Verify

Ask your MCP client:

"List the DPDP control domains"

If it returns 10 domains, you are set. Then:

"Scan my AWS account in ap-south-1 for DPDP and RBI compliance"

Tools (8)

Tool Purpose
scan_aws_account Scan resources via AWS Config, assess against all frameworks
scan_control_tower Enumerate guardrails across OUs, recommend missing ones
get_compliance_gaps Drill into gaps with filtering and pagination
search_regulatory_text Search regulatory text from government sources
list_control_domains List domains for any registered framework
generate_conformance_pack Generate deployable AWS Config conformance pack
format_report Generate DOCX or Markdown compliance report
submit_feedback Submit bugs, suggestions, or missing capabilities

Sample Prompts

What you want to do Example prompt
Scan a single account "Scan my AWS account in ap-south-1 for DPDP and RBI compliance"
Scan specific frameworks "Scan my account using frameworks dpdp,rbi,irdai"
Scan all frameworks "Scan my account using frameworks=all"
Scan your organization "Scan my AWS organization for compliance"
Drill into gaps "Show me all critical DPDP gaps"
Assess Control Tower "Scan my Control Tower and check guardrail coverage"
Generate conformance pack "Generate an AWS Config conformance pack for RBI"
Generate report "Format my last scan as a Word document"

Contributing a New Framework

Each compliance framework is defined in a single YAML file. No Python code changes needed.

python scripts/scaffold_framework.py --new --id gdpr --name "EU GDPR" --source-url "https://gdpr-info.eu"
python scripts/scaffold_framework.py --suggest-checks src/aws_india_compliance/frameworks/gdpr.yaml
python scripts/scaffold_framework.py --validate src/aws_india_compliance/frameworks/gdpr.yaml

See CONTRIBUTING_FRAMEWORKS.md for the full guide.

Documentation

Full documentation is available in the docs/ directory:

Prerequisites

  • Python 3.10+
  • AWS Config recorder enabled in target accounts/regions
  • IAM credentials with read-only access (minimum IAM policy uses only 20 actions with explicit Deny on destructive operations)
  • For org-wide scans: a Config Aggregator

Tests

PYTHONPATH=src python3 -m pytest tests/ -v

License

Apache 2.0

Disclaimer: This is a sample tool for educational and assessment purposes. It performs read-only operations and does not modify AWS resources. Users should validate compliance findings against their specific regulatory requirements and consult qualified compliance professionals.

Metadata

Release files for aws-india-compliance 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-india-compliance 0.6.2
File Size Uploaded Provenance
aws_india_compliance-0.6.2.tar.gz 153.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-india-compliance 0.6.2
File Interpreter ABI Platform
aws_india_compliance-0.6.2-py3-none-any.whl Python 3 none any Details

Total release size: 249.2 kB

Release files / aws_india_compliance-0.6.2.tar.gz

Download URL aws_india_compliance-0.6.2.tar.gz
Size 153.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8068725ba502617ea565b3c86cfe25e6e75161de61d8704f45892fa052a96833
BLAKE2b-256 checksum
How to use checksums
caf56c0fde726931271657c996e5f6fd87ccb002d22df68851855a07d75b0277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / aws_india_compliance-0.6.2-py3-none-any.whl

Download URL aws_india_compliance-0.6.2-py3-none-any.whl
Size 96.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c89dddc8d9b57cb16f4b9186e26358a1477ce2082d745a705d9b5c2303e4c7c1
BLAKE2b-256 checksum
How to use checksums
fd9814aa28a4f2e27f93c49e3ed5b4393f452bca02076333d6263d5757393d55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for aws-india-compliance 0.6.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page