Developer Edition not supported
The Endor Labs MCP server Developer Edition is currently not supported with Devin AI.
The Endor Labs MCP server Developer Edition is currently not supported with Devin AI.
Prerequisites for Endor Labs MCP server
Ensure that the following prerequisites are met:- A Devin account with access to the MCP Marketplace
- Your organization’s Endor Labs namespace
- Endor Labs API key and secret. See Endor Labs’ API keys for more information
Tools in the Endor Labs MCP server
The Endor Labs MCP server provides the following tools:check_dependency_for_vulnerabilities: Check if a dependency in your project is vulnerable.check_dependency_for_risks: Check a dependency for security risks including vulnerabilities and malware.get_endor_vulnerability: Get the details of a specific vulnerability from the Endor Labs vulnerability database.get_resource: Retrieve additional context from commonly used Endor Labs resources about your software, such as findings, vulnerabilities, and projects.scan: Run an Endor Labs security scan to detect risks in your open source dependencies, find common security issues, and spot any credentials accidentally exposed in your Git repository.security_review: Perform security review analysis on code diffs. Analyzes local uncommitted changes (both staged and unstaged) compared to HEAD, or diffs between the main branch and the last commit. Requires the Enterprise Edition. You must specify your namespace in the MCP server configuration. You must also enable AI security code review for your namespace in the Endor Labs platform. See AI security code review for setup instructions.
Add Endor Labs MCP server through the MCP Marketplace
- Navigate to Settings > MCP Marketplace in Devin.
- Click Add Your Own to add a custom MCP server.
-
Add the following secrets with the corresponding values:
ENDOR_API_CREDENTIALS_KEY: Your Endor Labs API keyENDOR_API_CREDENTIALS_SECRET: Your Endor Labs API secretENDOR_NAMESPACE: Your Endor Labs namespace
-
Add the following configuration under STDIO Configuration:
- Command:
npx - Arguments:
-y endorctl ai-tools mcp-server -n $ENDOR_NAMESPACE --api-key $ENDOR_API_CREDENTIALS_KEY --api-secret $ENDOR_API_CREDENTIALS_SECRET
- Command:
- Click Save Changes to save the MCP server configuration.
Configuration parameters
The following parameters are used to configure the MCP server in Devin:ENDOR_API_CREDENTIALS_KEY: (Required) Your Endor Labs API key. See API keys for more information.ENDOR_API_CREDENTIALS_SECRET: (Required) Your Endor Labs API secret.ENDOR_NAMESPACE: (Required) Your Endor Labs namespace to access your organization’s policies.
Manage MCP server tools
- Navigate to Settings > MCP Marketplace in Devin.
- Locate the endor-cli-tools server in the list.
- Click the server to view its details and manage its tools.
Configure Devin Knowledge
To enhance the MCP server integration, you can add instructions through Devin Knowledge. Knowledge entries guide Devin’s AI development with your project-specific instructions.- Navigate to Settings > Knowledge in Devin.
- Create a new Knowledge entry for Endor Labs security scanning.
- Add appropriate instructions for your project. For example, you can add a rule to check if the code is free from vulnerabilities.
Example Knowledge instructions
You can use the following Knowledge instructions as a quick start for the Endor Labs MCP server. Modify the instructions to meet your specific organization’s needs. For more information, refer to the Devin Knowledge documentation.- SCA Rule Example
- Secrets Rule Example
- SAST Rule Example
Watch how to use Endor Labs with Devin
Troubleshooting
Use the following troubleshooting steps to resolve common issues with the Endor Labs MCP server.MCP server shows disconnected
MCP server shows disconnected
Run
npx --version in your terminal. If the command fails, install Node.js version 18 or later. After installing, restart your IDE or CLI to reload the MCP server configuration.Browser auth window does not open
Browser auth window does not open
Ensure your IDE or CLI can open a browser. Check firewall or security software that might block browser launch. For Enterprise Edition with SSO, verify that
ENDOR_MCP_SERVER_AUTH_MODE and ENDOR_MCP_SERVER_AUTH_TENANT are set correctly in your MCP configuration.npx times out behind a corporate proxy
npx times out behind a corporate proxy
Install endorctl globally and update your MCP config to call it directly instead of using npx. For more information, see Install endorctl.Replace the
command and args entries with:Tools return errors (Enterprise)
Tools return errors (Enterprise)
Verify your namespace is correct and your user has
Read-Only permissions in Endor Labs. See Authorization policies for details. Also ensure endorctl is on your PATH if you installed it globally instead of using npx.MCP server fails to start on Windows
MCP server fails to start on Windows
On Windows, ensure the following prerequisites are met:If this returns a version number, your Windows setup is complete and the MCP server can use
- Node.js is installed
- npm global bin directory is in your PATH
Install Node.js
If Node.js is not installed, download and install the LTS version from nodejs.org. During installation, ensure the option to add Node.js to PATH is selected.Configure the PATH environment variable
After installing Node.js, verify that the npm global bin directory is in your PATH:-
Run the following command in the command line.
This returns the npm global directory path, typically
C:\Users\<YourUsername>\AppData\Roaming\npm. - Add the npm global directory path to the Path variable under User variables in your system’s environment variables settings.
- Restart for the PATH changes to take effect.
Verify the setup
Run the following command in your terminal.npx to run endorctl.