Visual Studio Code

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

Configuration

  1. Open VS Code

  2. Add the file .vscode/mcp.json to your project

  3. Add the following configuration:

{
  "servers": {
    "secdim": {
      "type": "http",
      "url": "https://mcp.secdim.dev/mcp"
    }
  }
}
  1. Click Start to start the server

See the official VSCode guide for more info on how to add MCP servers to VSCode

Example Usage

Once the SecDim MCP server is added, you can:

  • Open the MCP panel in VS Code

  • Ask queries such as:

    • 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