demo_security_snapshot
Test security header audits with a free example snapshot to verify integration or demonstrate output format before live scans.
Instructions
Returns a pre-baked example security snapshot (no payment required). Use this to test your integration or demonstrate the output format without spending USDC.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:100-109 (handler)The handler logic for 'demo_security_snapshot' which fetches a JSON response from the API's demo endpoint.
if (name === "demo_security_snapshot") { const res = await fetch(`${BASE_URL}/demo/snapshot`); if (!res.ok) { throw new McpError(ErrorCode.InternalError, `Demo endpoint returned ${res.status}`); } const data = await res.json(); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; } - src/index.ts:82-92 (registration)The registration block for the 'demo_security_snapshot' tool.
{ name: "demo_security_snapshot", description: "Returns a pre-baked example security snapshot (no payment required). " + "Use this to test your integration or demonstrate the output format without spending USDC.", inputSchema: { type: "object", properties: {}, required: [], }, },