fix(mcp): supply the verifying key to the MCP server

This commit is contained in:
pedrooot committed 2026-10-07 16:48:09 +02:00
1 parent 9613f7787a
commit ec8d510888
6 files changed
+105 -2

No files matched your search

+4
View File
@@ -194,12 +194,16 @@ services:
dockerfile: Dockerfile
environment:
- PROWLER_MCP_TRANSPORT_MODE=http
# The API generates this key pair on first boot; reading the public half
# here is what lets the MCP server verify token signatures.
- DJANGO_TOKEN_VERIFYING_KEY_FILE=/home/prowler/.config/prowler-api/jwt_public.pem
env_file:
- path: .env
required: false
ports:
- "8000:8000"
volumes:
- ./_data/api:/home/prowler/.config/prowler-api:ro
- ./mcp_server/prowler_mcp_server:/app/prowler_mcp_server
- ./mcp_server/pyproject.toml:/app/pyproject.toml
- ./mcp_server/entrypoint.sh:/app/entrypoint.sh