QuillShield
v0.1.0Run QuillShield smart contract audits from Cursor or Claude: quote, pay from wallet, read findings.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_projects
List QuillAudits projects for the authenticated org.
list_versions
List versions for a project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id |
list_audits
List audit jobs. Optional filters: project_id, status.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Filter by project id |
status | string | Filter by job status |
get_audit
Get a single audit job by id.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Audit job id |
list_findings
List findings for an audit job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Audit job id |
get_report
Fetch the audit report. md/json returned inline (md truncated if huge). pdf returns an embedded PDF resource or writes to out_path.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Audit job id |
format | string | Report format (default md) |
out_path | string | New filename in the current directory (existing files are not overwritten) |
get_wallet
Show wallet balances (prepaid top-up, refund, bonus). Read-only — top up at https://shield.quillaudits.com/topup
list_orders
List recent payment orders (audit + top-up history).
get_order
Get a single order by id.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order id |
get_quote
Get a price quote by id (full breakdown: base, coupon, wallet applied, due).
| Parameter | Type | Description |
|---|---|---|
quote_id * | string | Quote id |
create_quote
Create a full-audit price quote for a project version (same as dashboard checkout).
| Parameter | Type | Description |
|---|---|---|
project_version_id * | string | Project version id |
apply_coupon
Apply a coupon code to a quote (same as frontend checkout).
| Parameter | Type | Description |
|---|---|---|
coupon_code * | string | Coupon code |
quote_id * | string | Quote id |
remove_coupon
Remove the coupon from a quote.
| Parameter | Type | Description |
|---|---|---|
quote_id * | string | Quote id |
submit_audit
Submit a project for full-audit pricing (git URL or local zip/dir). Same as frontend: creates project/version/scope + quote. With pay:true + confirm:true, starts the audit only when wallet covers the quote; otherwise returns wallet_topup_required with a dashboard top-up URL.
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | Required with pay:true to spend wallet credits and start the audit |
coupon | string | Coupon code to apply before pay |
dir_path | string | Local folder to zip and upload |
git_ref | string | Branch, tag, or commit |
git_url | string | Git repository URL |
pay | boolean | If true, attempt wallet-covered start after quote (default false) |
project_name | string | Override project name |
scope | array | Scope file paths (default: all .sol) |
zip_path | string | Local path to a .zip or .sol file |
pay_quote
Pay a quote and start the audit using wallet credits only (same finalizeCheckout as the frontend). If anything is still due after coupons/wallet, returns wallet_topup_required — top up in the dashboard, do not Stripe from MCP. Requires confirm:true when the quote is $0 due (spends prepaid/refund/bonus).
| Parameter | Type | Description |
|---|---|---|
quote_id * | string | Quote id |
confirm | boolean | Must be true to create the order and spend wallet credits |
coupon | string | Optional coupon to apply first |
start_audit
Retry starting an audit for an order that is already paid (idempotent start-audit).
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Paid order id |
cancel_audit
Cancel a running audit job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Audit job id |
watch_audit
Poll audit status for up to ~20 seconds. Call again to continue watching; does not hang the MCP session.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Audit job id |
timeout_ms | number | Max wait in ms (capped at 20000) |