Dawshund MCP logo

Dawshund MCP

by samvas-codes

Enumerates AWS IAM policies, evaluates effective permissions, and summarizes access findings through MCP tools or HTTP endpoints.

Install Dawshund MCP

Run the project’s own setup commands, in order.

Setup steps from the project

samvas-codes/dawshund_mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Run
    cd mcp_dawshund_server
    
  2. 2. Install
    ./setup.sh
    
  3. 3. Start the server
    python3 server.py
    
  4. 4. Start the server
    PORT=5000 python3 server.py
    
  5. 5. Start the server
    python3 iam_mcp_server.py
    
  6. 6. Start the server
    fastmcp run iam_mcp_server.py:mcp --transport http --port 8000
    

Overview

samvas-codes/dawshund_mcp MCP server connects AI clients to AWS IAM analysis workflows built around dAWShund. It can collect IAM principals and supported resource policies, simulate effective permissions through AWS, and summarize allowed, explicit-deny, and implicit-deny counts. The server runs over standard input/output or HTTP through FastMCP, and also includes a Flask API. Reach for it when you need agent-accessible IAM enumeration and permission analysis using a configured AWS profile.

Use cases

  • Enumerate IAM principals and supported resource policies
  • Evaluate effective AWS permissions for a named profile
  • Summarize allowed and denied actions by principal
  • Identify principals with broad access or implicit denies

Key features

  • Collects IAM users, roles, groups, and supported resource policies
  • Simulates effective permissions with AWS APIs
  • Summarizes allowed, explicit-deny, and implicit-deny counts
  • Provides FastMCP stdio and HTTP transport options
  • Includes matching Flask HTTP endpoints

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/25 checks healthy over the last 112d

Supply-chain signal

5 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 4Medium 3Low 6

Scanned 8/16/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Dawshund MCP works

What samvas-codes/dawshund_mcp MCP server does

The samvas-codes/dawshund_mcp MCP server packages three stages of AWS IAM analysis behind structured tools. It uses sAWSage to enumerate IAM users, roles, groups, and selected resource-based policies, then uses Gerakina to evaluate the resulting policy data with AWS's simulate-principal-policy API. A final analysis step counts permission outcomes for each principal.

Supported resource-policy sources include AWS Backup, EFS, KMS, Lambda, S3, SNS, and SQS. The collection stage consolidates metadata and policy statements into sawsage.json. Evaluation produces effective_permissions.json, with allowed, explicitly denied, and implicitly denied action-resource combinations keyed by principal ARN.

The package also comes from the broader dAWShund workflow, which can load effective permissions into Neo4j and create graph-oriented output files. The included HTTP summary does not require Neo4j.

How it works

The samvas-codes/dawshund_mcp MCP server exposes three FastMCP tools:

  • collect_iam requires an AWS CLI profile and accepts an optional list of regions. It runs the collection stage and returns a message with the output-file path.
  • evaluate_iam requires an AWS CLI profile and invokes AWS permission simulation for the collected principals and policies.
  • analyze_iam takes no parameters. It reads the effective-permissions file and returns counts of allowed, explicit-deny, and implicit-deny actions for each principal.

The MCP process communicates through JSON-RPC over standard input and output when started directly. FastMCP can also serve the same MCP implementation over HTTP. The repository additionally provides Flask endpoints named /collect, /evaluate, and /analyze, which mirror the three operations for conventional HTTP clients.

Setup and configuration

The samvas-codes/dawshund_mcp MCP server requires Python 3.x, the AWS CLI, and an AWS account with permissions to call IAM enumeration APIs and simulate-principal-policy. FastMCP requires Python 3.10 or newer. Configure the AWS CLI with a named profile before invoking the tools.

Run the repository's setup.sh script to install the listed Python dependencies and clone the upstream dAWShund code. The setup installs packages including boto3, neo4j, flask, flask_cors, and fastmcp. Start the MCP process with python3 iam_mcp_server.py; it does not bind a TCP port in stdio mode.

For a remote MCP connector, FastMCP can launch the module with HTTP transport and a selected port. The separate Flask service starts with python3 server.py and listens on port 8000 by default. Set PORT to change that Flask port. Claude Desktop can launch the stdio process by referencing the Python executable and the absolute path to iam_mcp_server.py in its MCP configuration.

Tools and capabilities

Use collect_iam to inspect principals and supported resource policies across all known supported-service regions or a supplied region list. Use evaluate_iam after collection to obtain simulated permission results. Use analyze_iam for a compact per-principal view that can help surface broad access or unexpected implicit denies.

The HTTP endpoints return JSON. Collection and evaluation can produce large files, while the MCP tools return a short status message and the location of the generated output rather than embedding the full documents in the response.

Limitations and notes

AWS credentials and suitable IAM permissions must already be configured through the AWS CLI profile supplied to the tools. Permission evaluation may take time because it calls the AWS simulation API for combinations of principals, actions, and resources.

The collection stage covers the resource types supported by the wrapped dAWShund tooling, not every AWS service. Neo4j is optional for the included HTTP summary but required if you use the original graph-building workflow directly. That workflow generates permissions4j.json and dawshund.json for Neo4j or BloodHound-oriented use.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Dawshund MCP

samvas-codes/dawshund_mcp is an MCP server that connects AI clients to AWS IAM analysis through the dAWShund workflow. Its main tools collect IAM policies, evaluate effective permissions with AWS simulation APIs, and analyze allowed, explicit-deny, and implicit-deny counts for each principal.

Run the repository's `setup.sh` after installing the AWS CLI and configuring a named AWS profile. The script installs the Python dependencies and clones the upstream dAWShund code. Start the MCP process with `python3 iam_mcp_server.py`.

Yes, samvas-codes/dawshund_mcp works with Claude Desktop through its stdio MCP process. Add an `mcpServers` entry that points to your Python executable and the absolute path to `iam_mcp_server.py`, then launch the client.

It needs AWS permissions to enumerate IAM data and call `simulate-principal-policy`. Configure credentials with an AWS CLI named profile and pass that profile to the collection and evaluation tools.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDawshund MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/samvas-codes-dawshund-mcp?style=directory)](https://allmcps.com/mcp/samvas-codes-dawshund-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/samvas-codes-dawshund-mcp"><img src="https://allmcps.com/api/badge/samvas-codes-dawshund-mcp?style=directory" alt="Dawshund MCP on AllMCPs" /></a>