Visual Studio Code

The SecDim MCP Server can be integrated into Visual Studio Code (VS Code) using its built-in MCP support. This enables developers to access secure coding labs, personalised learning pathways, and OWASP Top 10 resources directly within their IDE.

Prerequisites

  • VS Code 1.99 or later (MCP support is built-in).

  • GitHub Copilot extension with an active Copilot subscription.

Configuration

  1. Open VS Code.

  2. Create (or edit) the file .vscode/mcp.json in your project root.

  3. Add the following configuration:

{
  "servers": {
    "secdim": {
      "type": "http",
      "url": "https://mcp.secdim.com/mcp"
    }
  }
}
  1. Open the .vscode/mcp.json file in VS Code and click the Start button that appears above the server entry.

Alternatively, you can add the server via the Command Palette:

  1. Press Ctrl/Cmd + Shift + P.

  2. Type MCP: Add Server.

  3. Select HTTP as the transport type.

  4. Enter https://mcp.secdim.com/mcp as the URL.

See the official VS Code guide for more info on how to add MCP servers to VS Code.

Example Usage

Once the SecDim MCP server is running, open Copilot Chat and ask:

  • Give me a personalised secure coding learning path in Python

  • Find me a lab on SQL Injection

  • List practice labs related to the vulnerabilities in my code

Troubleshooting