MCP quality: GitHub Actions
You can run Hardproof (hardproof) in CI by downloading a prebuilt binary or using the Hardproof Scan GitHub Action.
At a minimum, a CI run usually does:
- install
hardproof - run
hardproof doctorto validate prerequisites - start your MCP server (HTTP)
- run
hardproof ciand upload the scan report artifacts (scan.json,scan.events.jsonl)
Minimal workflow sketch
This is intentionally a sketch (public beta). Wire the install and server start steps to match your repo.
name: mcp-quality
on: [push, pull_request]
jobs:
conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Start server
run: |
echo "Start your MCP server here"
- name: Hardproof Scan (beta)
uses: x07lang/hardproof/hardproof-scan@latest-beta
with:
url: http://127.0.0.1:3000/mcp
version: latest-beta
threshold: "80"
full-suite: "false"
sarif: "true"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: conformance
path: out/scan/