npx or a system-installed endorctl and communicates with it over stdio. When the AI agent needs security context, the server calls the Endor Labs cloud platform and returns the results. The server uses the stdio transport only, so configure it with a command and args entry rather than an HTTP (type: http) URL.
The following diagram shows how your IDE or CLI connects to Endor Labs through the local MCP server.
How Endor Labs MCP server helps your development workflow
The Endor Labs MCP server helps developers and AI agents in the following ways:- Provide guardrails for agents before code review: Reduce the number of known vulnerabilities entering your code and save developers time by checking AI agent suggestions in real time. Integrate security before an issue is discovered in CI or in production.
- Improve the speed of remediating security risks: Agents use vulnerability context from Endor Labs to help implement secure changes, from writing more secure code to upgrading dependencies.
How to use the Endor Labs MCP server
The Endor Labs MCP server provides the following tools:check_dependency_for_vulnerabilities: Check if a dependency version in your project (python,java,go,npm, ormaven) has known vulnerabilities.check_dependency_for_risks: Check a dependency version for security risks. Returns confirmed vulnerability IDs (vulnerability_ids) and malware IDs (malware_ids) separately, excluding disputed or withdrawn CVEs and contested malware records.get_endor_vulnerability: Get the details of a specific vulnerability (CVEorGHSAID) from the Endor Labs vulnerability database.describe_resource_schema: Inspect the validsnake_casefield paths for a supported resource type (Project,PackageVersion,Vulnerability,Finding,Metric,ScanRequest,ScanResult, orPolicy), optionally scoped withpath_prefixandmax_depth. Use these paths to request a subset of fields withget_resource.get_resource: Retrieve an Endor Labs resource (Project,PackageVersion,Vulnerability,Finding,Metric,ScanRequest,ScanResult, orPolicy) byuuidor exactname. Accepts an optionalfieldslist of field mask paths to return only the requested fields and avoid timeouts on large resources, and an optionalnamespaceoverride.scan: Run an Endor Labs security scan (vulnerabilities,dependencies,secrets,sast,ai-sast, orghactions). Requires an absolute repositorypathand rejects relative paths. Supports the following options:namespace: Override the server’s configured namespace for a single scan call.scan_options.summary: Returns severity counts and the top five findings by default (true). Setscan_options.summarytofalseto return the full list of findings.scan_options.diff_scope: Limitsast,ai-sast,secrets, orvulnerabilitiesscans to uncommitted local changes (local) or changes relative to the default branch (baseline). Cannot be combined withpr_incremental,pr_baseline,include_path, orexclude_path.scan_options.languages: Limit dependency scanning to specific languages. Passing"c"selects Conan C/C++ dependency scanning only.scan_options.segment_match_languages: Run source-level segment matching, such as["c"]for C/C++ projects that don’t use Conan.
security_review: Perform security review analysis on code diffs (local_changesormain_vs_last_commit). The tool sets the--diff-scopescan option automatically based on the review type, and accepts an optionalnamespaceoverride. Requires the Enterprise Edition and AI security code review enabled for your namespace. See AI security code review for setup instructions.
Choose your IDE or platform to get started
Cursor
Configure the Endor Labs MCP server in Cursor for AI-powered development workflows.
Grok Build
Configure the Endor Labs MCP server in Grok Build for AI-powered development workflows.
Claude Code
Integrate the Endor Labs MCP server with Claude Code for AI-powered development workflows.
OpenAI Codex
Configure the Endor Labs MCP server in OpenAI Codex for AI-powered development workflows.
Visual Studio Code
Configure the Endor Labs MCP server in Visual Studio Code with GitHub Copilot for AI-powered development workflows.
Devin
Configure the Endor Labs MCP server in Devin through the MCP Marketplace.
Gemini CLI
Configure the Endor Labs MCP server in Gemini CLI for AI-powered development workflows.
Augment Code
Configure the Endor Labs MCP server in Augment Code for AI-powered development workflows.
Google Antigravity
Configure the Endor Labs MCP server in Google Antigravity for AI-powered development workflows.
IntelliJ IDEA
Configure the Endor Labs MCP server in IntelliJ IDEA with GitHub Copilot for AI-powered development workflows.
GitHub AgentHQ
Add the Endor Labs agent in GitHub Copilot to check dependencies and vulnerabilities.
OpenCode
Configure the Endor Labs MCP server in OpenCode for AI-powered development workflows.
Related: To run Endor Labs security workflows such as finding triage, dependency remediation, and onboarding checks through your AI coding agent, see the Endor Labs Agent Kit.