Skip to main content
target is a local .py or .js file, or a URL. The transport is detected: stdio for files, Streamable HTTP first and then SSE for URLs. Servers in any other language run through --stdio.

Options

An explicit Authorization header wins over --token and MCPSCORE_TOKEN. Only an Authorization credential marks the report authenticated: true; other headers are sent but make no such claim.

Environment variables

Anything passed with --env NAME is read from the environment too, but that is your server’s variable, not mcpscore’s.

Exit codes

Without gate flags, a completed audit exits 0 whatever the score.

Output

Human-readable output goes to stderr. With --json, stdout carries exactly the report and nothing else, so mcpscore ... --json > report.json and piping into jq both work.

What’s next

Stability contract

Which flags, fields, and exit codes are guaranteed across releases

Authenticated servers

The token, header, and OAuth flags in practice