API, MCP & CLI
Automate Hivexly from your tools and AI coding agents.
Everything in the UI is available to your tools and AI coding agents. All three surfaces use an API key from Settings → API & Webhooks (scope read or scan).
REST API
Base URL https://app.hivexly.io/api/v1; the OpenAPI spec is at /api/v1/openapi.json. Authenticate with Authorization: Bearer hvx_live_….
List open findings
curl -s https://app.hivexly.io/api/v1/findings?status=open \ -H "Authorization: Bearer $HIVEXLY_API_KEY"
MCP server (AI coding agents)
Lets Claude Code, Cursor, Windsurf and other MCP clients list findings, read fix instructions, start scans and check the merge gate — from inside your editor.
Claude Code
claude mcp add --transport http hivexly https://app.hivexly.io/api/mcp \ --header "Authorization: Bearer $HIVEXLY_API_KEY"
CLI & GitHub Action
CLI
export HIVEXLY_API_KEY=hvx_live_… hivexly scan owner/repo --wait --fail-on high # exit 1 blocks the pipeline hivexly findings --severity critical,high
.github/workflows/security.yml
- uses: OVirtual777/app.hivexly.io/packages/github-action@main
with:
api-key: ${{ secrets.HIVEXLY_API_KEY }}
fail-on: high