Skip to main content
Connect Claude Code to the Prowler Cloud MCP Server at https://mcp.prowler.com/mcp.

Where Claude Code Runs

Claude Code runs in two places. Both read the same configuration file, so you set it up once from a terminal and it works in both.
The Chat tab is not Claude Code. It is a different product surface with its own configuration file and its own connection method (a local bridge). Nothing on this page applies to it. If you want Prowler in Chat, use the Claude App Chat guide instead.

Choose Your Setup

There are two ways to connect. Both end with the same MCP Server connection, the difference is what comes with it.
The plugin already includes the MCP connection. If you install the plugin, do not also run claude mcp add — you would end up with the server configured twice.

Prerequisites

Get Your Prowler API Key

Create an API key in Prowler Cloud and copy it. The key begins with pk_ and is shown only once. Check the API Keys guide for details.

Option 1: Install the Prowler Plugin

Preview: this plugin is under active development. Please report issues on GitHub or join the Slack community for feedback.
End-to-end cloud security from inside Claude Code, powered by the Prowler MCP server. The plugin bundles the official Prowler skills, task-specific workflows that let Claude carry out multi-step security work against a Prowler Cloud-connected account, rather than answering one question at a time.

Included Skills

More skills are on the way. Installing the plugin keeps you current — new skills arrive with plugin updates, no extra configuration required.

Installation (Claude Code CLI)

On first install, Claude Code prompts for your Prowler API key. The value is stored securely (macOS keychain or ~/.claude/.credentials.json) and used to authenticate against Prowler Cloud.

Verify the Installation

In a Claude Code session:
If /mcp reports the prowler server as failed, the most common cause is a rejected API key, re-issue one in Prowler Cloud and reinstall the plugin so it re-prompts.

Usage

Describe the security task you want done and Claude selects the matching skill.

Framework Compliance Triage

Mention the framework you want to comply with:
  • “Make my AWS production account compliant with CIS 4.0.”
  • “Make my current Terraform project compliant with Prowler ThreatScore Compliance Framework based on the latest scan results.”
  • “Help me get to 100% on PCI-DSS for this GCP project.”
You pick a primary tool (Terraform, gh / az / aws CLI, web console, or mixed) and a mode:

Claude-assisted (default)

Claude shows each fix — target resource, exact commands, side effects, reversibility — and waits for your go-ahead before applying.

Claude autonomous

Claude presents a single up-front plan grouped by shared fixes, waits for one confirmation, then proceeds. It pauses mid-loop if a fix has wide blast radius or a finding is not applicable.
Claude tracks progress in a markdown report under .prowler/ at your project root — one file per framework × account. Open it any time to see exactly where the flow is. When all findings are addressed, Claude proposes a fresh Prowler scan to verify everything end-to-end.

Uninstalling

The stored API key is removed automatically.

Option 2: Connect the MCP Server Only

Choose this when you want Prowler’s tools available without the Prowler skills.

Add the Server

Claude Code connects to remote HTTP MCP servers natively and supports custom headers, so no bridge is required.
Terminal showing the claude mcp add command and its confirmation output
Always pass --scope user. The default scope is local, which binds the server to the single directory you ran the command in. A locally-scoped server does not load when you open Claude Code anywhere else — this is the most common reason Prowler tools appear to vanish.
When the same server name exists in more than one scope, precedence is local → project → user. The winning entry is used whole; fields are not merged.
Avoid --scope project for Prowler. That writes .mcp.json into your repository, and committing the file would publish your API key.
Local server: Replace the URL with your own HTTP endpoint. Everything else stays the same.

Verify the Connection

Inside a Claude Code session, run /mcp to see connected servers and their tools.
Claude Code session showing the /mcp command output with the Prowler server connected

Start Using Prowler MCP

  • “Show me all critical findings from my AWS accounts”
  • “What does the S3 bucket public access check do?”
  • “Onboard this new AWS account in my Prowler organization”
Claude Code answering a question about critical findings using Prowler MCP tools

Claude Code in the Desktop App (Code Tab)

The Code tab in the Claude desktop app runs the same Claude Code as the CLI, and reads the same ~/.claude.json. There is no separate Prowler setup for it — you configure it from a terminal and the Code tab picks it up.
Use Option 2 with --scope user here. It is the recommended setup for the Code tab. The Prowler plugin (Option 1) is not the recommended route for the desktop app — install it in the Claude Code CLI instead.
You cannot do this from inside the app. The desktop app has no interface for adding an MCP server to a Claude Code session. Settings → Connectors configures the Chat tab, not the Code tab, so anything added there never reaches Claude Code. Trying to configure it from the app is the main reason this appears not to work.
1

Add the server at user scope from a terminal

In a normal terminal — not inside the app:
--scope user is what makes this work. It writes to ~/.claude.json, the file the Code tab reads.
2

Confirm it landed at user scope

The scope must be user. A local-scoped server is bound to the directory you ran the command in and will not load in an app session opened elsewhere.
3

Restart the Claude app

Quit the app completely and reopen it. Configuration is read at startup.
4

Verify in the Code tab

Open a Code tab session and ask for a Prowler tool: “Do you have access to the Prowler MCP tools?”, it should respond with a list of available tools or confirming that it has access.

Claude App Chat (Chat Tab)

Not covered by this page. The Chat tab is a separate surface: it does not read ~/.claude.json, so a server added with claude mcp add appears in the CLI and in the Code tab but never in Chat. That is expected behavior, not a broken setup. Chat reads claude_desktop_config.json and reaches the Prowler MCP Server through a local bridge.

Connect the Claude App Chat

Separate guide: local bridge and its own configuration file

Troubleshooting

Authentication Fails With 401

  • Confirm the header value includes the Bearer prefix.
  • Check that PROWLER_API_KEY was set when you ran claude mcp add — the shell expands it at that moment and stores the resulting literal value. If the variable was empty, the stored header reads Bearer with nothing after it. Verify with claude mcp get prowler.
  • Confirm the key has not been revoked in Prowler Cloud.

Next Steps

Tools Reference

Explore all available tools and capabilities

All MCP Clients

Configuration reference for every supported client

Getting Help