Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Infrastructure Archaeology

БесплатноНе проверен

Tracks AWS resource ownership and creation history by searching CloudTrail logs to identify who created EC2 instances, RDS databases, and S3 buckets with timest

GitHubEmbed

Описание

Tracks AWS resource ownership and creation history by searching CloudTrail logs to identify who created EC2 instances, RDS databases, and S3 buckets with timestamps, creation methods, and source IP addresses.

README

Git blame for your cloud infrastructure. Find who created any AWS resource in 5 seconds.

The Problem

$384K/year wasted on orphaned cloud resources nobody dares to delete.

The Solution

Ask your AI: "Who created EC2 instance i-abc123?"

Get: Creator, timestamp, method (Console/Terraform/CLI), cost, and full context.

Features (v0.1)

  • EC2, RDS, S3 resource tracking
  • CloudTrail event correlation
  • Works with or without audit logs
  • <5 second response time

Quick Start

# Clone and install
git clone https://github.com/yourusername/infra-archaeology-mcp.git
cd infra-archaeology-mcp
python3 -m venv venv && source venv/bin/activate
pip install -e .

# Configure AWS
aws configure

Claude Desktop Config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "infrastructure-archaeology": {
      "command": "python",
      "args": ["-m", "infra_archaeology.server"],
      "env": {
        "AWS_PROFILE": "default",
        "AWS_DEFAULT_REGION": "us-east-1"
      }
    }
  }
}

Restart Claude Desktop.

Usage

"Who created EC2 instance i-1234567890abcdef0?"
"Show me all resources created by [email protected]"
"Who created RDS database prod-db-master?"

Coming Soon

Week 2: Terraform state correlation + orphan detection
Week 3: Idle resource detection + cost optimization
Week 4: Git history integration + full timeline

Requirements

  • Python 3.10+
  • AWS credentials configured
  • CloudTrail enabled (recommended, not required)
  • IAM permissions: cloudtrail:LookupEvents, ec2:Describe*, rds:Describe*, s3:GetBucket*

Architecture

AI Assistant (Claude) 
    ↓ MCP Protocol
Infrastructure Archaeology MCP
    ↓ boto3
AWS APIs (CloudTrail, EC2, RDS, S3, Cost Explorer)

Contributing

Priority areas: Lambda/ECS/ELB support, error handling, caching, tests.

Fork → Branch → PR. Use Black for formatting.

Impact

  • 32% cloud waste eliminated ($384K/year for $1M/month companies)
  • 2 hours → 5 seconds investigation time
  • 26% developer productivity gain

License

MIT


Built by @gautamrajur | LinkedIn

Star if this saved you from deleting the wrong resource

from github.com/gautamrajur/infra-archaeology-mcp

Установка Infrastructure Archaeology

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/gautamrajur/infra-archaeology-mcp

FAQ

Infrastructure Archaeology MCP бесплатный?

Да, Infrastructure Archaeology MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Infrastructure Archaeology?

Нет, Infrastructure Archaeology работает без API-ключей и переменных окружения.

Infrastructure Archaeology — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Infrastructure Archaeology в Claude Desktop, Claude Code или Cursor?

Открой Infrastructure Archaeology на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Infrastructure Archaeology with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development