Skip to main content
VertaaUX Docs

Configuration

Settings for the VertaaUX VS Code Extension

Configuration

The VertaaUX VS Code Extension has three configurable settings to customize behavior.

Settings Overview

SettingTypeDefaultDescription
vertaaux.mcpServerstringhttp://localhost:3001MCP Server base URL
vertaaux.maxDiagnosticsPerFilenumber50Maximum diagnostics shown per file
vertaaux.confidenceThresholdnumber0.6Minimum confidence to display issues

How to Configure

VS Code Settings UI

  1. Open Settings: Cmd+, (Mac) or Ctrl+, (Windows/Linux)
  2. Search for "vertaaux"
  3. Modify settings using the UI controls

settings.json

Add settings directly to your VS Code settings file:

  1. Open Command Palette: Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux)
  2. Type "Preferences: Open Settings (JSON)"
  3. Add VertaaUX settings
settings.json
{
  "vertaaux.mcpServer": "http://localhost:3001",
  "vertaaux.maxDiagnosticsPerFile": 50,
  "vertaaux.confidenceThreshold": 0.6
}

MCP Server URL

Setting: vertaaux.mcpServer

Type: string

Default: http://localhost:3001

The base URL of your running MCP Server. The extension sends scan requests to this endpoint.

When to Change

ScenarioValue
Default local serverhttp://localhost:3001
Server on different porthttp://localhost:3002
Remote serverhttp://192.168.1.100:3001

Example

{
  "vertaaux.mcpServer": "http://localhost:3002"
}

The extension uses HTTP transport, not the stdio MCP protocol. Your MCP Server must be started with the --http flag.

Starting MCP Server on Different Port

# Default port 3001
VERTAAUX_API_KEY=vx_live_xxx npx @vertaaux/mcp-server --http

# Custom port 3002
VERTAAUX_API_KEY=vx_live_xxx npx @vertaaux/mcp-server --http --port 3002

Maximum Diagnostics Per File

Setting: vertaaux.maxDiagnosticsPerFile

Type: number

Default: 50

Range: 1-500

Limits the number of diagnostic messages shown for each file. This controls display only - it does not affect the actual scan.

When to Change

ScenarioRecommended Value
Quick review of top issues10-20
Standard development50 (default)
Thorough audit100-200
See all issues500

Example

{
  "vertaaux.maxDiagnosticsPerFile": 100
}

Files with many issues may slow down the editor. Keep this at 50 or lower for large files with known issues.

Use Cases

Low values (10-20): Focus on the most important issues first. Good for iterative fixing.

Default (50): Balanced view of issues without overwhelming the editor.

High values (100+): Full audit mode. Use when you want to see everything before a release.


Confidence Threshold

Setting: vertaaux.confidenceThreshold

Type: number

Default: 0.6

Range: 0.0-1.0

The minimum confidence level required for an issue to be displayed. Issues below this threshold are filtered out.

Understanding Confidence

VertaaUX assigns a confidence score (0.0 to 1.0) to each detected issue:

ScoreMeaning
0.9-1.0Very high confidence - likely a real issue
0.7-0.8High confidence - worth investigating
0.5-0.6Medium confidence - may be context-dependent
0.3-0.4Low confidence - possibly false positive
0.0-0.2Very low confidence - often noise

When to Change

ScenarioRecommended Value
Fewer, more reliable issues0.8
Balanced (default)0.6
See more potential issues0.4
See all issues (including noise)0.0

Example

{
  "vertaaux.confidenceThreshold": 0.8
}

Tuning Strategy

Start high, then lower:

  1. Set to 0.8 to see only high-confidence issues
  2. Fix those issues
  3. Lower to 0.6 to see medium-confidence issues
  4. Review and fix valid ones
  5. Lower further if needed

For mature codebases: Use 0.7-0.8 to avoid noise

For new projects: Use 0.5-0.6 to catch more issues early


Workspace-Specific Settings

You can configure different settings per workspace using .vscode/settings.json:

.vscode/settings.json
{
  "vertaaux.mcpServer": "http://localhost:3001",
  "vertaaux.maxDiagnosticsPerFile": 30,
  "vertaaux.confidenceThreshold": 0.7
}

This overrides your user settings for that specific workspace.


Complete Example

settings.json
{
  // VertaaUX VS Code Extension settings
  "vertaaux.mcpServer": "http://localhost:3001",
  "vertaaux.maxDiagnosticsPerFile": 50,
  "vertaaux.confidenceThreshold": 0.6
}

Was this page helpful?

On this page