1. Conduid
  2. Search
  3. AWS Sar MCP
MCP server · Search

AWS Sar MCP

FastMCP server exposing the AWS Service Authorization Reference — query IAM actions, find destructive operations, and search across all AWS services | FastMCP · MCP · AWS IAM · Python

34Low

Scored 4 months ago · breakdown

About AWS Sar MCP

AWS Sar MCP is an MCP server in the Search category: fastMCP server exposing the AWS Service Authorization Reference — query IAM actions, find destructive operations, and search across all AWS services | FastMCP · MCP · AWS IAM · Python. It has been installed 0 times through Conduid.

Install

Clone
git clone https://github.com/TanishkaMarrott/aws-sar-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about AWS Sar MCP

Powered by Claude · Grounded in docs

I know everything about AWS Sar MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • ·Scoped permissionsNot checked yet.

README

aws-sar-mcp

FastMCP server exposing the AWS Service Authorization Reference — query IAM actions, find destructive operations, and search across all AWS services.

Python FastMCP AWS No credentials


What This Is

The AWS Service Authorization Reference is AWS's own database of every IAM action for every service. This server fetches it and exposes it as MCP tools — so any Claude client can query it directly.

No AWS credentials required. The SAR is a public API.


Tools

Tool What it does
sar_lookup(service) All IAM actions for a service with descriptions and access levels
sar_delete_actions(service) Destructive actions only — Delete, Terminate, Remove, Purge...
sar_actions_by_level(service, level) Filter by Read / Write / List / Tagging / Permissions management
sar_search(query, services?) Search action names + descriptions across services
sar_compare(service1, service2) Side-by-side action breakdown between two services
sar_list_services() All 300+ AWS services available in SAR

Example Queries

Once connected, ask Claude:

"What S3 actions can delete things?"
→ sar_delete_actions("s3")
→ s3:DeleteBucket, s3:DeleteObject, s3:DeleteObjectVersion...

"What IAM actions involve encryption?"
→ sar_search("encrypt", services=["kms", "s3", "secretsmanager"])
→ kms:Encrypt, kms:GenerateDataKey, s3:PutEncryptionConfiguration...

"How many write actions does EC2 have vs ECS?"
→ sar_compare("ec2", "ecs")
→ EC2: 312 total (89 Write), ECS: 87 total (31 Write)

"What can I do with SQS at the Read level?"
→ sar_actions_by_level("sqs", "Read")
→ sqs:GetQueueAttributes, sqs:GetQueueUrl, sqs:ReceiveMessage...

Architecture

Claude Desktop / Claude Code / Custom Agent
              │
              │ MCP (stdio or http)
              ▼
     aws-sar-mcp (FastMCP server)
              │
              ├── sar_lookup()
              ├── sar_delete_actions()
              ├── sar_actions_by_level()     ──► SAR API (public)
              ├── sar_search()               https://servicereference
              ├── sar_compare()                  .us-east-1.amazonaws.com/v1
              └── sar_list_services()
                        │
                    TTL Cache (1hr)
                    No re-fetch while warm

Quick Start

Install

git clone https://github.com/TanishkaMarrott/aws-sar-mcp.git
cd aws-sar-mcp
pip install -r requirements.txt

Connect to Claude Code

claude mcp add aws-sar -- fastmcp run /path/to/aws-sar-mcp/server.py

Connect to Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "aws-sar": {
      "command": "fastmcp",
      "args": ["run", "/path/to/aws-sar-mcp/server.py"]
    }
  }
}

Run standalone

fastmcp run server.py

Run Tests

pytest tests/
# Tests hit the real SAR API — no mocking, no credentials needed

Why This Is Useful

For security engineers:

  • Quickly find all destructive actions before writing deny policies
  • Compare permission sets between similar services
  • Search for risky patterns (e.g. sar_search("PassRole"))

For AI agents:

  • Agents that enforce IAM policies need to know what actions exist
  • Combine with dual-agent-memory — Resource Finder uses SAR to validate cleanup targets

For developers:

  • Understand what a service can do before requesting permissions
  • Write least-privilege policies without reading AWS docs manually

Project Structure

aws-sar-mcp/
├── server.py          # FastMCP server — 6 tools
├── sar/
│   └── client.py      # SAR API client with TTL caching
└── tests/
    └── test_sar.py    # Integration tests (real API)

Author

Built by Tanishka Marrott — AI Agent Systems Engineer

README mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About AWS Sar MCP

How do I install AWS Sar MCP?

Run git clone https://github.com/TanishkaMarrott/aws-sar-mcp, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is AWS Sar MCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is AWS Sar MCP still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.