Skip to main content

AWS India Compliance MCP Server

License AWS MCP Python PyPI Tests

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

Supported frameworks:

  • DPDP Act 2023 (Digital Personal Data Protection) + Rules 2025
  • RBI Master Direction on IT Governance 2023
  • SEBI CSCRF 2024 (Cybersecurity and Cyber Resilience Framework)
  • CERT-In Directions 2022 (Incident reporting, log retention, NTP sync)

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 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 (see Security)
  • 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.3.1

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.3.1
File Size Uploaded Provenance
aws_india_compliance-0.3.1.tar.gz 144.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 234.2 kB

Release files / aws_india_compliance-0.3.1.tar.gz

Download URL aws_india_compliance-0.3.1.tar.gz
Size 144.5 kB
Tags Source
SHA-256 checksum
How to use checksums
25189e851117710360adf7547e87ea776c44b2bf3e6cd27f544e87da0fca6aa0
BLAKE2b-256 checksum
How to use checksums
ad02bb74f48eed36309b303d33be8ba8aab0da34fd6380acd824aa4f4dfa59b7
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.3.1-py3-none-any.whl

Download URL aws_india_compliance-0.3.1-py3-none-any.whl
Size 89.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
efb4cec7622c4718941b2a3fc391f5f9517a1793b37c16adc85f28d2ca3023cd
BLAKE2b-256 checksum
How to use checksums
757e7bb6294848570f705230dd031a517d47696ac0b2afc903939d70492b7ab9
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.3.1

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