https://mcp.prowler.com/mcp so Codex can query findings, inspect checks, and manage your Prowler providers.
Preferred Setup: Install the Prowler Plugin
The Prowler plugin is the recommended setup for Codex CLI. It adds Prowler Cloud security and compliance skills and configures the Prowler MCP Server with the requiredUser-Agent header.
Prerequisites
- Codex CLI with plugin support. Check with
codex --versionandcodex plugin --help. - A Prowler Cloud account. The free tier is enough to start. Sign up at cloud.prowler.com.
Step 1: Get Your Prowler API Key
Create an API key in Prowler Cloud and copy it. The key is shown only once. Check the API Keys guide for details.Step 2: Set the API Key Environment Variable
Export the key in the shell that launches Codex. Do not add a real key to a repository, shell history, or shared configuration file.PROWLER_API_KEY must contain the raw API key, without the Bearer prefix. The plugin adds that prefix when it sends the Authorization header.
Codex CLI reliably inherits this variable when it starts from the shell where you exported it. Codex Desktop and IDE integrations may not inherit variables from your shell profile. Configure the desktop application or IDE launch environment with
PROWLER_API_KEY when you use those surfaces.Step 3: Install the Plugin
Add the Prowler marketplace, then install the Prowler plugin:codex plugin add command explicitly installs it.
Step 4: Verify the Plugin
Manual MCP Setup: Advanced or Fallback
Use this setup only when the plugin is unavailable for your Codex surface or when you need a custom MCP configuration. The manual configuration must include theUser-Agent header because Codex does not send one by default.
Codex CLI
Register the server:~/.codex/config.toml because codex mcp add has no flag for the required header:
PROWLER_API_KEY holds the raw key, and Codex adds the Bearer prefix.
Codex / ChatGPT Desktop App
First configurePROWLER_API_KEY in the desktop application’s launch environment. An API key exported only in a shell profile may not be available when the app starts from Finder, the Dock, or a launcher.
If you cannot configure the launch environment, add the server manually:
- Open Settings and select Plugins → MCPs
- Click Add server
- Enter
prowleras the name and choose type Streamable HTTP - Enter the URL
https://mcp.prowler.com/mcp - Add the
User-Agentheader with the valuecodex - If the app supports a reference to its launch environment, use
PROWLER_API_KEY. Otherwise, add anAuthorizationheader withBearerfollowed by the API key.
Local server: Replace the URL with your own HTTP endpoint. Keep the same authentication and
User-Agent configuration.Step 5: Verify the Connection
Run/mcp in the app or in a CLI session to list connected servers and their tools.

Step 6: Start Using Prowler MCP
Ask Codex questions that use the Prowler tools:- “Show me all critical findings from my AWS accounts”
- “What does the S3 bucket public access check do?”
- “List my connected Prowler providers and their last scan date”

Troubleshooting
Startup Fails With HTTP 403 Forbidden
Codex reports a handshake failure on startup, with an HTML error page rather than a JSON response:User-Agent header is missing. Codex’s HTTP client does not send one, and requests without it are rejected before reaching the MCP server. Note this is a 403, not a 401 — so it is not an API key problem. The plugin adds this header automatically. For a manual configuration, add it as shown in Manual MCP Setup; the value itself does not matter, only that the header is present.
Authentication Fails With 401
- For a manual configuration, run
codex mcp get prowlerand confirm the entry has the headers you expect. Values are masked, but a missing header shows as-. - Verify the Codex process has
PROWLER_API_KEYin its launch environment without printing the key:test -n "$PROWLER_API_KEY" && echo "PROWLER_API_KEY is set". PROWLER_API_KEYmust contain the raw key withoutBearer. The plugin and thebearer_token_env_varmanual configuration add the prefix automatically.- If the CLI works but Codex Desktop or an IDE fails, configure
PROWLER_API_KEYin that application’s launch environment. Shell-profile exports may not be inherited. Use a literalAuthorizationheader only as the last-resort desktop fallback described in Manual MCP Setup. - Confirm the key has not been revoked in Prowler Cloud.
Server Not Listed
- Confirm your Codex CLI version is 0.46.0 or later with
codex --version. - Run
codex mcp get prowler. If it reports the server is not found, the entry was not written or the TOML table name is misspelled. - Check for a typo in the key names. Codex ignores unknown keys without warning.
Project-Scoped Config Is Ignored
A.codex/config.toml inside a project is loaded only when the project is trusted. If your entry lives there and does nothing, trust the project or move the entry to ~/.codex/config.toml.
Tools Do Not Appear After Editing the Config
Restart Codex. Configuration is read at startup. In the app, quit completely and reopen it, sometimes just closing the window is not enough.Next Steps
Tools Reference
Explore all available tools and capabilities
All MCP Clients
Configuration reference for every supported client
Getting Help
- Search for existing GitHub issues
- Ask for help in our Slack community
- Report a new issue on GitHub

