MCP Installation in VSCode
Install and configure Xygeni VSCode Plugin
Login in Copilot using Github
Change Copilot mode to Agent
Create mcp.json file
Create the following file on this path:
home/{USER}/.config/Code/User{
"servers": {
"xygeni-mcp-server": {
"timeout": 60,
"type": "stdio",
"command": "java",
"args": [
"-jar",
"/home/{USER}/.vscode/extensions/xygeni-security.xygeni-scanner-vscode-1.2.6/.xygeni-mcp/xygeni-mcp-server.jar",
"--scannerPath=/home/{USER}/.vscode/extensions/xygeni-security.xygeni-scanner-vscode-1.2.6/.xygeni"
],
"env": {
"JAVA_HOME": "/home/{USER}/.sdkman/candidates/java/current",
"XYGENI_URL": "https://api.xygeni.io",
"XYGENI_TOKEN": "{TOKEN}"
}
}
}
}Create the following file on this path:
Restart VSCode
MCP is installed, but it is usually disabled by default. For enable it, go to configure tools:

Open xygeni-mcp-server and select all tools

Now, if you ask copilot to analyze or scan your code for vulnerabilities, he will ask for permission to launch xygeni app.

Last updated

