@@ -269,13 +269,7 @@ https://ggozad.github.io/oterm/
269
269
If you need to configure a proxy for your Java process when using the standalone JAR, you can set the Java system properties for HTTP and HTTPS proxies:
270
270
271
271
```bash
272
- java -Dhttp.proxyHost=proxy.example.com -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.example.com -Dhttps.proxyPort=8080 -jar /path/to/mcp-contrast-0.0.1-SNAPSHOT.jar --CONTRAST_HOST_NAME=example.contrastsecurity.com --CONTRAST_API_KEY=example --CONTRAST_SERVICE_KEY=example --CONTRAST_USERNAME=example@example.com --CONTRAST_ORG_ID=example
273
- ```
274
-
275
- If your proxy requires authentication, you can also set:
276
-
277
- ```bash
278
- java -Dhttp.proxyHost=proxy.example.com -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.example.com -Dhttps.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password -Dhttps.proxyUser=username -Dhttps.proxyPassword=password -jar /path/to/mcp-contrast-0.0.1-SNAPSHOT.jar --CONTRAST_HOST_NAME=example.contrastsecurity.com --CONTRAST_API_KEY=example --CONTRAST_SERVICE_KEY=example --CONTRAST_USERNAME=example@example.com --CONTRAST_ORG_ID=example
272
+ java -Dhttp_proxy_host=proxy.example.com -Dhttp_proxy_port=8080 -jar /path/to/mcp-contrast-0.0.1-SNAPSHOT.jar --CONTRAST_HOST_NAME=example.contrastsecurity.com --CONTRAST_API_KEY=example --CONTRAST_SERVICE_KEY=example --CONTRAST_USERNAME=example@example.com --CONTRAST_ORG_ID=example
279
273
```
280
274
281
275
When configuring in your config.json file, include the proxy settings in the args array:
@@ -285,10 +279,8 @@ When configuring in your config.json file, include the proxy settings in the arg
285
279
"contrast-assess" : {
286
280
"command" : " /usr/bin/java" ,
287
281
"args" : [
288
- " -Dhttp.proxyHost=proxy.example.com" ,
289
- " -Dhttp.proxyPort=8080" ,
290
- " -Dhttps.proxyHost=proxy.example.com" ,
291
- " -Dhttps.proxyPort=8080" ,
282
+ " -Dhttp_proxy_host=proxy.example.com" ,
283
+ " -Dhttp_proxy_port=8080" ,
292
284
" -jar" ,
293
285
" /Users/name/workspace/mcp-contrast/mcp-contrast/target/mcp-contrast-0.0.1-SNAPSHOT.jar" ,
294
286
" --CONTRAST_HOST_NAME=example.contrastsecurity.com" ,
0 commit comments