# shieldly.io

> shieldly.io is a freemium MCP server for cloud and infrastructure. MCP server that scans AWS IAM policies and CloudFormation templates for security risks. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API, VS Code
- **Website:** https://www.shieldly.io
- **Repository:** https://github.com/shieldly-io/mcp
- **MCP Registry name:** io.github.shieldly-io/mcp
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure)
- **Listing updated:** 2026-11-21

## About

The README describes this as an MCP server that plugs into AI assistants such as Claude Desktop, Claude Code and Cursor, giving them two analysis tools for AWS access policies. It is aimed at engineers who want policy review to happen inside the assistant they already use while writing infrastructure code.

One tool checks an IAM identity policy, or a cross-account trust and identity pair, for privilege escalation paths, wildcards and over-permissive access. The other reads a CloudFormation template and pulls out the IAM roles and policies it defines, flagging the risky ones. Both take the policy or template as a JSON string.

The server runs over stdio and installs through npm. Without an API key it works in a rate-limited demo mode; the README says a Builder plan or higher is needed for an API key with higher limits. The same backend is also offered as a CLI, a VS Code extension, a GitHub Action and a CDK Guard package.

## Features

- **IAM policy analysis:** Checks identity policies and cross-account trust pairs for over-permissive access and escalation paths.
- **CloudFormation template scanning:** Extracts IAM roles and policies from a template and flags risky permissions before deployment.
- **Demo mode without signup:** Runs rate-limited without an API key, so it can be tried before creating an account.
- **Works with MCP clients:** Configured through a standard mcpServers entry for clients such as Claude Desktop, Claude Code and Cursor.

## Good for

- Reviewing an IAM policy inside an AI assistant before attaching it to a role
- Checking CloudFormation templates for embedded IAM risks during development
- Spotting privilege escalation paths in cross-account trust relationships

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp --env SHIELDLY_API_KEY='<SHIELDLY_API_KEY>' -- npx -y @shieldly/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

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

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --env SHIELDLY_API_KEY='<SHIELDLY_API_KEY>' -- npx -y @shieldly/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@shieldly/mcp"]
env = { SHIELDLY_API_KEY = "<SHIELDLY_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user -e SHIELDLY_API_KEY='<SHIELDLY_API_KEY>' mcp npx -- -y @shieldly/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

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

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

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

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

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

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

From the tool list in its README, going by the names, all 2 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `analyze_iam_policy` (name suggests: reads): Analyzes an IAM identity policy, or a cross-account trust and identity pair.
- `analyze_cloudformation_template` (name suggests: reads): Analyzes a CloudFormation template to extract IAM roles and policies and flag over-permissive access.

## FAQ

### Does shieldly.io need an API key?

No. Both tools run in a rate-limited demo mode without a key. The README says an API key, which needs a Builder plan or above, is needed for higher limits.

### Which tools does the server expose?

Two tools: analyze_iam_policy, which takes a policy string and an optional policyType of identity or cross_account, and analyze_cloudformation_template, which takes a template string.

### How is shieldly.io installed?

The README gives an npx-based config that runs the @shieldly/mcp npm package over stdio.

### Is shieldly.io free?

shieldly.io has a free plan, with paid plans for more usage or features.

### How do I add shieldly.io to Claude Code?

Run this command in your terminal: claude mcp add mcp --env SHIELDLY_API_KEY='<SHIELDLY_API_KEY>' -- npx -y @shieldly/mcp

### What are the best alternatives to shieldly.io?

The closest alternatives to shieldly.io are awslabs, kubeshark, Azure MCP Server, Pitot and Runeward.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [awslabs](https://ai-powered.com/mcp/awslabs): awslabs is an open-source MCP server for cloud and infrastructure.
- [kubeshark](https://ai-powered.com/mcp/kubeshark): kubeshark is an open-source MCP server for cloud and infrastructure.
- [Azure MCP Server](https://ai-powered.com/mcp/azure-mcp-server): Azure MCP Server is an open-source MCP server for cloud and infrastructure.
- [Pitot](https://ai-powered.com/mcp/pitot): Pitot is an open-source MCP server for cloud and infrastructure.
- [Runeward](https://ai-powered.com/mcp/runeward): Runeward is an open-source MCP server for developer tools.
- [KubeStellar MCP](https://ai-powered.com/mcp/kubestellar-mcp): KubeStellar MCP is an MCP server for cloud and infrastructure.
- [Proxmox VE](https://ai-powered.com/mcp/proxmox-ve-2): Proxmox VE is an open-source MCP server for cloud and infrastructure.
- [JumpServer Bastion (jms)](https://ai-powered.com/mcp/jumpserver-bastion-jms): JumpServer Bastion (jms) is an open-source MCP server for cloud and infrastructure.

---
Source: https://ai-powered.com/mcp/shieldly-io
