How To - Use the MCP Server
The Sicura Console includes a read-only Model Context Protocol (MCP) server at /mcp. An AI assistant such as Claude Code or Claude Desktop connects to it and answers compliance questions from your Console's data: which nodes are failing, which controls fail most, what was remediated and by whom.
The server answers as the owner of the token you connect with, and only with what that user is allowed to read. It never changes anything: it cannot start scans, run enforcement or edit settings.
Note: This page describes the MCP server in the Sicura Console. The Classic Console ships an older MCP server that authenticates with the Auth-Token-Signature header and offers a different set of tools; it is not covered here.
Generate a Personal Access Token¶
The assistant authenticates with a personal access token, which carries your own permissions.
- Navigate to Settings -> API.
- In the API Tokens section, enter a Name, and optionally a Description and a TTL (days).
- Click the Generate Token button.
- Copy the Generated Token. It starts with
spat_and is shown only once.
Treat the token as a password. Revoke it from the same section when you no longer need it.
Connect Claude Code¶
Claude Code connects to the server directly over HTTP:
claude mcp add --transport http sicura https://<console-url>/mcp \
--header "Authorization: Bearer <personal-access-token>"
Run claude mcp list to confirm that the sicura server is connected, then ask a question such as "What percentage of my nodes are failing?".
Note: If the Console uses a certificate your machine does not already trust, such as a self-signed one, point Node.js at it before starting Claude Code: export NODE_EXTRA_CA_CERTS=/path/to/console-ca.pem.
Connect Claude Desktop¶
Claude Desktop's built-in remote connectors connect from Anthropic's servers, which cannot reach a Console behind your firewall. Instead, run the mcp-remote bridge on your own machine. It requires Node.js.
Add the server to Claude Desktop's claude_desktop_config.json:
{
"mcpServers": {
"sicura": {
"command": "npx",
"args": [
"mcp-remote",
"https://<console-url>/mcp",
"--header",
"Authorization:${SICURA_AUTH_HEADER}"
],
"env": {
"SICURA_AUTH_HEADER": "Bearer <personal-access-token>"
}
}
}
}
Restart Claude Desktop. The header is passed through an environment variable, with no space after Authorization:, because Claude Desktop on Windows does not escape spaces inside args.
Available Tools¶
The assistant picks the tools itself; you ask questions in plain language. Tools that cover a folder include every endpoint in its sub-folders, unlike the Console's folder view, which shows direct children only.
compliance_summary¶
How compliant a folder or a set of endpoints is for one profile: how many nodes are failing, passing, or have only errors, and the percentage failing. It can also answer for a past date.
Example: "What percentage of nodes in the Production folder are failing the CIS Level 1 profile?"
failing_controls¶
The failing results for a folder or a set of endpoints, ranked by control or by node, with how many failures Sicura can remediate. It can narrow to one control, a NIST 800-53 family, or a CIS section.
Example: "What are the ten most common failing controls in Production that Sicura can fix?"
list_profiles¶
The profiles reported for a folder or a set of endpoints, plus every custom and certification profile you can see. The two tools above need a profile from this list.
Example: "Which profiles are my Production nodes scanned against?"
node_report¶
One endpoint's profile, latest scans with their failing rules, and recent enforcement.
Example: "Give me a compliance report for web01."
remediation_history¶
Enforcement tasks for a node, a control or an enforcement job: when they ran, who started the job, and, for a control, whether the next scan passed.
Example: "Which remediation fixed the SSH root login control on web01, and who ran it?"
license_report¶
The licensing the License page shows: the Sicura license's status, expiry, days remaining and node counts, the CIS scanner seats, and the CIS-CAT Pro license. It also lists every license, including expired and replaced ones the page does not list. It needs permission to read licenses.
Example: "When did our previous license expire, and how many nodes did it cover?"
rule_coverage¶
Whether Sicura enforces a CIS or DISA STIG benchmark rule, read from the installed content pack. It can narrow to one control, a benchmark, an OS, a status, or text in the rule title. It needs permission to read profiles. Each rule has one of three statuses:
- Mapped — Sicura enforces the rule.
- Paper policy — a requirement that can't be enforced through automated technical configuration and must instead be met through written documentation, administrative processes, or formal management policies. See each rule's notes for more detail.
- Unmapped — Sicura doesn't enforce the rule.
The same statuses appear on the Compliance Coverage pages.
Example: "Does Sicura enforce CIS control 5.2.3 on RHEL 9?"
api_catalog¶
The Console's read-only API routes and the filters each accepts, for questions no other tool answers. The assistant reads one of them with api_get.
Example: "What else can you look up in the Console?"
api_get¶
One of the routes api_catalog lists, read as you, with your permissions. A query parameter the route does not accept is refused rather than ignored, and the refusal names the parameters the route does accept.
Example: "Which folder is called production?"
Note: A failure the tools report as remediable can still be skipped when Sicura enforces, because the remediable count does not apply a check's own risk level or a note that disables its remediation.