Reference
The MCP tools
The tools that the MCP server of the portal gives an AI assistant, what each tool does, and the permission that it needs.
The tools #
The MCP server gives an AI assistant these tools. A tool works only within the role, the scope, and the rights of the token of the assistant.
| Tool | What it does | Permission |
|---|---|---|
whoami | Tells the workspace, the scope, and the rights of the token. | none |
search_docs | Searches this guide, and returns the best sections with their links and their text: see Docs for agents. | none |
list_repos | Lists the repositories with the finding counts of the default branch. | read |
get_repo | Shows one repository: the tracked branch, the recent branches, the newest scan of each slot, and the finding counts. | read |
list_findings | Lists the findings of a branch. Filters: minimum severity, known exploited, triage state. | read |
get_finding | Shows one finding, as the finding page does. | read |
get_advisory | Shows an advisory and its other names. | read |
diff_ref | Shows the new and the fixed findings of a branch against an earlier scan or another branch. | read |
fix_plan | Shows the fix plan of a branch, as the Fix plan tab does. | read |
get_base_advice | Shows the base image of an image scan, how many open findings come from the base, and the base upgrades that remove findings. | read |
list_releases, get_release | List the releases of a repository, and show one release. | read |
list_malicious_sightings | List the malicious sightings: each malicious package version that a scan held, with its state and its review. | read |
list_protected_apps, get_protected_app | List the running Node.js apps of TuxCare Node.js LivePatch with the findings counts of each, and show one app: its findings, patches, loaded packages, instances, and restart policy. The assistant sees these two tools only when the workspace uses Node.js LivePatch: the add-on is on, or an app reported. | read |
triage_finding | Sets the triage state of a finding. It also needs the member or admin role. The audit log shows your email, then via MCP. | write |
- A slot is one project path and one set of ecosystems. A branch of a monorepo can have many slots.
get_repolists the scan id of each slot, and the other tools take a scan id to select a slot. - A list tool returns 50 rows by default and 100 at most. The assistant asks for the next rows when it needs them.
- When a tool fails, for example because a finding is outside the scope of the token, the assistant gets one sentence that tells why.
Code mode #
In code mode, the assistant gets two tools in place of the tools above. It writes a short program that calls the operations of the Pulse SDK, and it gets only the result of the program, not the data of each call. Code mode suits a question that needs many calls, for example a count over all repositories. For a question of one or two calls, the classic tools use fewer tokens.
- Open Settings, then API and MCP access. You need the admin role.
- Under MCP tools, select Code mode, or Both to keep the classic tools too. Classic tools is the default.
- The assistant sees the new tools at its next request. Some assistants read the tool list only at their start: start a new session.
| Tool | What it does |
|---|---|
search | Finds the operations of the SDK that the token can call, by words. The first 3 results come with their TypeScript signature and the types of their answers. |
execute | Runs JavaScript that calls the operations, for example await pulse.listRepos(), in a sandbox with no network and no files. It returns what the program logs and returns. |
- The limits of one run of
execute: 10 s, 32 MiB of memory, 50 calls of the SDK, 4 MiB for the answer of one call, and 64 KiB of output. A run that passes a limit fails with one sentence that names the limit. - Each call of the SDK has the rights of the token, as a classic tool has. The only write is the triage of a finding, with the rules of
triage_finding. The audit log shows your email, thenvia MCP code mode
. When a run fails after a write, nothing of the run is saved. whoamiandsearch_docsstay in each mode.
Next: Docs for agents