Skip to main content
Glama
shieldly-io

shieldly-mcp

Official
by shieldly-io

@shieldly/mcp

AI-Powered Security Analysis for AWS — official MCP server.

Gives any MCP-compatible AI assistant (Claude Code, Claude Desktop, Cursor, etc.) two tools to analyze AWS IAM policies and CloudFormation templates for security risks — privilege escalation paths, wildcards, and other over-permissive access. Powered by Shieldly.

Setup

Add to your MCP client config (e.g. Claude Desktop's claude_desktop_config.json, or Claude Code's .mcp.json):

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

Related MCP server: Security-Use MCP Server

Try it free — no account needed

Both tools run in demo mode without an API key (rate-limited, no signup). For higher limits, set SHIELDLY_API_KEY:

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

Get an API key (Builder plan or above): https://www.shieldly.io/app/api

Tools

analyze_iam_policy

Analyzes an IAM identity policy, or a cross-account trust+identity pair.

Argument

Type

Description

policy

string

The IAM policy JSON as a string.

policyType

identity | cross_account

Defaults to identity.

analyze_cloudformation_template

Analyzes a CloudFormation template — extracts IAM roles/policies and flags over-permissive access.

Argument

Type

Description

template

string

The CloudFormation template JSON as a string.

Also available as

License

MIT

Available Tools

2 tools
analyze_cloudformation_templateAnalyze CloudFormation TemplateA

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
templateYesThe CloudFormation template JSON as a string.

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Discloses demo mode behavior (rate-limited, no signup) when API key is missing. However, does not specify whether the analysis is read-only, if it makes external calls, or what happens to the template data. Lacks information on side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences efficiently convey purpose, key actions, and demo mode behavior. No extraneous information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, description does not explain what the analysis results contain (e.g., report format, severity levels). For a tool with one parameter and known sibling, more detail on return value would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline 3 applies. Description adds no additional semantic meaning beyond what the schema already provides for the 'template' parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states specific action: security analysis of CloudFormation template, extracting IAM roles/policies and flagging over-permissive access. Distinguishes from sibling analyze_iam_policy by focusing on template-level analysis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool vs the sibling analyze_iam_policy. Does not mention prerequisites or context like requiring an AWS account or template format.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

analyze_iam_policyAnalyze AWS IAM PolicyA

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
policyYesThe IAM policy JSON as a string. For cross_account, a JSON object with identityPolicy and trustPolicy.
policyTypeNoidentity (default) for a normal IAM/resource policy, or cross_account.identity

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Without annotations, the description carries the transparency burden. It mentions 'demo mode (rate-limited, no signup)' and flags privilege-escalation paths, but does not disclose whether the tool is read-only, authentication requirements beyond API key, or output format. The term 'AI-Powered' is vague.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loading the core purpose and efficiently adding context about demo mode. Every sentence adds value with no waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool lacks an output schema, and the description does not explain the format or structure of results (e.g., what 'flags' look like, whether it returns a report, etc.). For a security analysis tool, omitting return value information is a significant gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, providing parameter descriptions for both 'policy' and 'policyType'. The description does not add new information beyond the schema; it merely repeats the cross-account format already present in the schema. Baseline score applied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool performs 'AI-Powered security analysis of an AWS IAM policy' and specifies it handles both identity and cross-account policies. It distinguishes from the sibling tool 'analyze_cloudformation_template' which targets a different resource type.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when analyzing IAM policies and mentions demo mode conditions, but lacks explicit guidance on when not to use it or alternatives beyond the sibling tool. No comparison or exclusion criteria are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv1.0.0
    • First observedanalyze_cloudformation_template
    • First observedanalyze_iam_policy

TDQS

A3.7/5.0

Scored across 2 tools

Disambiguation5/5

Each tool targets a distinct resource type (CloudFormation template vs. IAM policy), with no overlap in inputs or outputs, making disambiguation trivial.

Naming Consistency5/5

Both tools follow a consistent 'analyze_<resource>' naming pattern using snake_case, making the pattern predictable and easy to understand.

Tool Count3/5

With only two tools, the set feels minimal but not unreasonable given the narrow focus on security analysis of AWS policies and templates. However, the server could benefit from a few more tools for similar resources.

Completeness3/5

The server covers two important security analysis tasks, but there are obvious gaps such as missing analysis for S3 bucket policies, KMS keys, or other IAM-related resources, limiting its practical use.

Maintenance

ActivityStale
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Analyzes application code locally to automatically generate baseline AWS IAM identity-based policies by detecting AWS SDK calls in Python, Go, and TypeScript applications. Helps AI coding assistants quickly create IAM permissions that can be refined as applications evolve.
    459
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to interact with AWS services and resources through AWS CLI commands, allowing management of AWS infrastructure with security controls.
    Apache 2.0
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude AI to automatically audit AWS cloud resource configurations, diagnose security vulnerabilities, and generate high-availability optimization reports.
    -