stages: - security variables: # Pin the scanner so CI behavior changes only when this value is updated. MC_PRISM_VERSION: "v0.43.74" # Set this to the config file or directory used by your project. MCPRISM_TARGET: "mcp.json" mcprism: image: alpine:3.24.4 stage: security before_script: - apk add --no-cache curl - curl -fsSL https://raw.githubusercontent.com/HUA503/mcprism/main/install.sh | MC_PRISM_VERSION="$MC_PRISM_VERSION" sh - export PATH="$HOME/.local/bin:$PATH" script: - mcprism scan "$MCPRISM_TARGET" --profile ci --format junit --output mcprism-junit.xml artifacts: when: always reports: junit: mcprism-junit.xml paths: - mcprism-junit.xml