Pulse Beta

User guide

How-to guide

Recipes for an AI assistant

Tasks that an AI assistant does with the MCP server of the portal: find what to fix first, check what a branch adds, and triage findings with your approval.

Before you start #

Connect the assistant first: see Connect an AI assistant. Each recipe names the MCP tools that the assistant uses. The assistant can make mistakes: read what it proposes before you act on it.

Find what to fix first #

Ask: Which repositories have open critical findings, and which upgrade closes the most of them?

The assistant lists the repositories with list_repos, reads the findings of a branch with list_findings, and reads the upgrades with fix_plan, as the Fix plan tab shows them. To change the project, see Fix vulnerabilities.

Check what a branch adds #

Ask: Which findings does the branch feature/login add against main?

The assistant compares the two with diff_ref, and shows each new finding with get_finding and get_advisory. A CI job does the same check with tuxcarectl compare --base main --fail-on-new: see Pull and merge requests.

Triage findings with Claude #

The assistant sets the triage state of a finding only with a token that has the write permission, for example a token of the AI assistant with triage preset, and only when your user has the member role on the repository of the finding. It cannot ignore a malicious finding: only an admin who signs in to the portal ignores one (see Allow a version).

  1. Ask: List the open findings of web-shop on main that are not triaged yet, and tell me for each one whether the code can reach the vulnerable function. The assistant uses list_findings and get_finding, and can read your code to answer.
  2. Read its answer. For each finding that does not affect you, tell it the reason, for example Ignore the finding of lodash: the code never calls template.
  3. The assistant sets the state with triage_finding. The audit log shows your email, then via MCP.

Triage in the portal works the same way: see Triage findings.

Next: Repositories