Use this page when a maintainer or agent asks, "What does MCP Observatory actually add to my repo?"
npx @kryptosai/mcp-observatory test npx -y @modelcontextprotocol/server-everything --sarif mcp-observatory.sarif --campaign code-scanning-demoExpected result:
- normal terminal output still appears
.mcp-observatory/runs/receives a run artifactmcp-observatory.sarifcontains normalized MCP findings- the command exits the same way it would without
--sarif
npx @kryptosai/mcp-observatory setup-ci --all --command "npx -y @modelcontextprotocol/server-everything" --sarif --schedule weekly --campaign code-scanning-demoThen verify:
npx @kryptosai/mcp-observatory setup-ci --doctorThe generated workflow requests security-events: write when SARIF upload is enabled. Direct setup-ci stays conservative unless --sarif is passed; automatic CI conversion after a passing test, run, or single-target scan enables SARIF and weekly scheduled checks by default and can be reduced with --no-ci-sarif.
MCP Observatory emits one SARIF result per normalized finding. Results include:
- stable rule IDs
- severity mapping
- target/check properties
- lightweight control tags
- partial fingerprints
- artifact locations that point back to the Observatory run evidence
Passing artifacts with no findings still produce valid empty SARIF.
This adds a read-only MCP Observatory CI gate for the server.
It checks startup, MCP capability listing, schema quality, and security-oriented findings. The SARIF path is enabled so normalized MCP findings can appear in GitHub Code Scanning.
Verification:
```bash
npx @kryptosai/mcp-observatory setup-ci --doctor
```