# Shieldly MCP [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/shieldly-io/mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 193  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/shieldly-io-mcp

## Description
Official Shieldly MCP server: analyzeiampolicy and analyzecloudformationtemplate tools flag AWS IAM privilege-escalation paths, wildcards, and over-permissive access. Free demo mode, no signup or API key needed. npx -y @shieldly/mcp.

## Tools
Capabilities this server exposes over MCP:

- **analyze_iam_policy** — AI-Powered security analysis of an AWS IAM policy (identity policy or cross-account trust+identity pair). Flags privilege-escalation paths, wildcards, and other over-permissive access. Runs in demo mode (rate-limited, no signup) if SHIELDLY_API_KEY is not set.
- **analyze_cloudformation_template** — AI-Powered security analysis of a CloudFormation template — extracts IAM roles/policies and flags over-permissive access. Runs in demo mode (rate-limited, no signup) if SHIELDLY_API_KEY is not set.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "shieldly-mcp": {
    "command": "npx",
    "args": ["-y","@shieldly/mcp"],
    "env": {
      "SHIELDLY_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `SHIELDLY_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What shieldly-io/mcp does

The shieldly-io/mcp MCP server adds AWS security analysis tools to MCP-compatible assistants. It accepts IAM policy JSON and CloudFormation template JSON, then sends those documents for analysis through Shieldly. The results focus on authorization risks such as privilege-escalation paths, wildcard permissions, and other over-permissive access.

The server is suited to policy review during development, infrastructure review, or configuration troubleshooting. It does not provision AWS resources or modify the supplied policies and templates; its documented role is analysis.

## How it works

An MCP client starts the package with `npx -y @shieldly/mcp`. The assistant can then call one of two tools and provide the relevant document as a string. For IAM review, the input can represent an identity policy or a cross-account trust and identity policy pair. The CloudFormation tool examines the template and extracts IAM roles and policies for review.

Without credentials, the tools operate in a rate-limited demo mode. Supplying an API key changes the account mode and provides higher limits. Analysis is provided through Shieldly, the service behind the package.

## Setup and configuration

Add the server to an MCP client configuration using the `npx` command. For example:

```json
{
  "mcpServers": {
    "shieldly": {
      "command": "npx",
      "args": ["-y", "@shieldly/mcp"]
    }
  }
}
```

The same pattern is documented for Claude Desktop and Claude Code configuration files. To use higher limits, add `SHIELDLY_API_KEY` under the server's `env` object. Demo mode does not require an account, signup, or this variable. API keys are available through Shieldly's API page.

## Tools and capabilities

`analyze_iam_policy` accepts:

- `policy`: IAM policy JSON provided as a string.
- `policyType`: either `identity` or `cross_account`; `identity` is the default.

It analyzes identity policies, or a cross-account trust and identity policy combination, for escalation routes, wildcards, and broad permissions.

`analyze_cloudformation_template` accepts:

- `template`: CloudFormation template JSON provided as a string.

It extracts IAM roles and policies from the template and checks them for over-permissive access. Together, these tools let an assistant review standalone authorization documents and infrastructure templates through the same MCP connection.

## Limitations and notes

The shieldly-io/mcp MCP server runs without an API key only within a rate-limited demo mode. Higher limits require `SHIELDLY_API_KEY`. The documented inputs are JSON strings, so callers must provide the policy or template in that form.

The package is licensed under MIT. Shieldly also publishes separate CLI, VS Code extension, GitHub Action, CDK Guard, and web app offerings, but those are not additional MCP tools exposed by this package.

_Full upstream README: https://allmcps.com/mcp/shieldly-io-mcp/readme_

