CursorPool
← 返回首页
zero-x-cursor logo

zero-x-cursor

4

Zero-X MCP 服务器将 Zero-X 的安全与分析能力直接带入 Cursor 中的 AI 编码工作流。

4 条规则

# Zero-X Explain Finding

Use this command to explain a specific finding reported by a previous Zero-X scan.

When you run this command:

- Ask the user which finding they want to understand, or infer it from the currently selected diagnostic or finding in the editor.
- Extract the `id` of that finding (the `id` field from the Zero-X scan result).
- Call the `zerox` MCP server and invoke the `zerox_explain_finding` tool with:

```json
{
  "finding_id": "<finding-id>"
}
```

Present the explanation returned by Zero-X, including:

- A plain-language description of the issue.
- Why it is a problem in the given context.
- Recommended remediation steps and, if available, a concrete code-level fix.

Offer to apply or adapt the recommended fix to the user’s code, and suggest re-running `zerox.scanFile` or `zerox.scanProject` afterward to verify remediation.