Skip to content

AI coding agents

Security context where code is written.

An agent writing code knows nothing about your findings unless you tell it. Over MCP, Sentrasec hands the agent findings, remediation plans and test plans. The agent makes the change and runs the tests.

Why this matters now

A growing share of production code is written with an agent in the loop. That agent knows the codebase in front of it, but nothing about which dependencies carry known vulnerabilities, which patterns your rules reject, or what the last scan found.

Without that, review is the first point where a security problem surfaces: after the code exists and after the decisions are baked in.

Connected over MCP, the agent can pull the findings for a project, ask why one matters, and receive the remediation plan and test plan. The agent edits the code and runs the tests; a Sentrasec re-scan confirms the finding is gone.

How it connects

The agent talks to Sentrasec over MCP. Sentrasec answers from the same findings, triage decisions and graph as the web app and CLI.

  1. IDEagent
  2. MCPtools
  3. Sentrasecengine
  4. Knowledge Graphcontext
  5. Responseinline
The editor calls a tool over MCP, Sentrasec answers from its findings and graph, and the answer returns inline. Sentrasec does not edit your code; the agent does, in your editor, where you review it.

Available tools

Standard MCP tool schemas: your client discovers them on connect, and the agent picks the right one from a plain-language request. Fix suggestions are guidance for the agent to apply; Sentrasec never changes your code.

ToolWhat it does
security.list_appsThe apps this key can scan and read. Pass one as `app` to security.scan, security.list_scans and security.dast_scan.
security.scanRun a scanner against a registered app: sast, sca, secrets, iac, kspm, apisec, container or dast. Defaults to every code scanner; DAST is left out because it sends live traffic to a running system. Results are deduplicated and saved to your workspace.
security.list_findingsList a scan’s findings, optionally filtered to a minimum severity, with file, line and classification.
security.get_findingOne finding in full.
security.get_scanRe-read a scan by id: status, who triggered it, and its findings.
security.list_scansAn app’s scan history, showing the kind, status and key label behind each run.
list_remediationsThis app’s remediation plans, newest first: which finding each covers and its state.
get_remediation_planThe full remediation plan for a finding: objective, where to change, impact, steps, constraints, test plan and definition of done. It contains no code and no diff; your agent makes the change.
get_test_planJust the test plan: numbered test obligations, who owns each, and the rule for passing.
request_verificationAfter the change is pushed, ask Sentrasec to re-scan that commit and check the test plan’s obligations against it.
security.explainExplain a vulnerability by its knowledge-graph node id: description, CWE, OWASP mapping and remediation guidance.
security.explain_iac_findingWhy an IaC finding was raised: the resource, the rule, the value observed, what was expected, and how risk was scored.
security.scan_localScan a local directory in-process, without an app or credentials. Results stay in the session. Prefer security.scan once an app is registered.
security.list_findings_localList findings from a security.scan_local run.
security.get_finding_localOne finding from a security.scan_local run, in full.
security.fixFor local scans only: propose a tier-1 autofix diff for a finding. Dry run by default, so your agent can review it; apply=true writes the diff to your working copy.
security.dast_scanProbe a URL that is not yet registered as an app. Prefer security.scan with kind=dast when the app exists.
security.list_rulesList the detection rules available in the engine.
security.list_languagesList the languages the scanners support, with tier and parser status.
security.versionReturn the running sentrasec-mcp server version.
security.issue_certIssue a scan certificate covering a set of scans. It is unsigned today, so treat it as a scan summary, not an attestation a third party can verify.
security.verify_certLook up a certificate by id, returning its grade and validity.

Supported clients

Any MCP-capable client works. These are the ones with documented setup guides.

Claude Code

Add the server once; the tools are available in every session.

Cursor

Add the MCP server in settings and the agent can call the tools inline.

Codex

Register the server in the MCP configuration and ask for findings in plain language.

Windsurf

Add the server to the MCP configuration to bring findings into the agent.

GitHub Copilot

Connect through the agent MCP configuration to bring findings into chat.

VS Code

Built-in MCP support connects the server to the editor agent.

Claude Code
$ claude mcp add sentrasec -- sentrasec mcp

The server acts as your authenticated user, so the agent can only read findings you can read. Per-client setup is on the MCP site.

Security as a capability, not a gate

Full MCP reference, tool schemas and per-client setup.

MCP documentation
MCP Security for Claude Code, Cursor and Codex · Sentrasec