Skip to main content
Configure your MCP client to connect to Prowler MCP Server.

Step 1: Get Your API Key

Authentication is optional: Prowler Hub and Prowler Documentation features work without authentication. An API key is only required for Prowler tools (Prowler Cloud, Prowler Private Cloud, or Prowler Local Server).
An API key authenticates the Prowler tools (Prowler Cloud, Prowler Private Cloud, or Prowler Local Server). To get the API key, please refer to the API Keys guide.
Keep the API key secure. Never share it publicly or commit it to version control.

Step 2: Configure Your MCP Host/Client

Most users should use the Cloud MCP Server — it needs no installation and is maintained by Prowler. The Local MCP Server configuration is provided afterwards for users who run the server themselves.
  • Cloud MCP Server (HTTP): the managed server at https://mcp.prowler.com/mcp (or your own self-hosted HTTP server).
  • Local MCP Server (STDIO): local installation only (runs as a subprocess of your MCP client).

Step-by-Step Guides Per Agent

The tabs below are a quick configuration reference. For a walkthrough with screenshots, troubleshooting, and client-specific caveats, follow the dedicated guide for your agent:

Claude Code

Plugin vs. MCP-only, and which Claude surfaces work

Claude Desktop App (Chat)

The Chat tab, via a local bridge

Codex

CLI and the VS Code extension

Cursor

Global and project scopes

VS Code / Copilot

Agent mode with secure key prompts
Connect to the Cloud MCP Server at https://mcp.prowler.com/mcp over HTTP. This is the recommended path — no installation, always up to date. The same configuration works for a self-hosted HTTP server: just swap the URL.
Configuration:

Local MCP Server Configuration

STDIO mode is only available when running the Local MCP Server on your own machine. See the Installation guide to set it up first.
Run from source or local installation
Replace /absolute/path/to/prowler/mcp_server/ with the actual path. The API_BASE_URL is optional and defaults to Prowler Cloud API.

Step 3: Start Using Prowler MCP

Restart your MCP client and start asking questions:
  • “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”

Authentication Methods

Prowler MCP Server supports two authentication methods to connect to Prowler (Prowler Cloud, Prowler Private Cloud, or Prowler Local Server): Use your Prowler API key directly in the Bearer token:
This is the recommended method for most users.

JWT Token

Alternatively, obtain a JWT token from Prowler:
Use the returned JWT token in place of the API key:
JWT tokens are only valid for 30 minutes. You need to generate a new token if you want to continue using the MCP server.

Troubleshooting

Server Not Detected

  • Restart your MCP client after configuration changes
  • Check the configuration file syntax (valid JSON)
  • Review client logs for specific error messages
  • Verify the server URL is correct

Authentication Failures

Error: Unauthorized (401)
  • Verify your API key is correct
  • Ensure the key hasn’t expired
  • Check you’re using the right API endpoint

Connection Issues

Cannot Reach Server:
  • Verify the server URL is correct
  • Check network connectivity
  • For local servers, ensure the server is running
  • Check firewall settings

Security Best Practices

  1. Protect Your API Key
    • Never commit API keys to version control.
    • Use environment variables or secure vaults.
    • Rotate keys regularly.
  2. Network Security
    • Use HTTPS for production deployments.
    • Restrict network access to the MCP server.
    • Consider VPN for remote access.
  3. Least Privilege
    • API key gives the permission of the user who created the key, make sure to use the key with the minimal required permissions.
    • Review the tools that are gonna be used and how they are gonna be used to avoid prompt injections or unintended behavior.

Next Steps

Now that your MCP server is configured:

Tools Reference

Explore all available tools

Getting Help

Need assistance with configuration?