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 conformance and upload artifacts (
summary.json,summary.junit.xml,summary.html)
Minimal workflow sketch
This is intentionally a sketch (private alpha). 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@v0.1.0-alpha.6
with:
url: http://127.0.0.1:3000/mcp
full-suite: "false"
sarif: "true"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: conformance
path: out/conformance/