Skip to content

Cannot use MCP servers on corporate proxy #198

@liamhv

Description

@liamhv

Is there any documentation on how to use thee MCP servers while on a corporate proxy? I cannot get it to work.

cline_mcp_settings.json:

{
  "mcpServers": {
    "gti": {
      "autoApprove": [],
      "disabled": false,
      "timeout": 30,
      "type": "stdio",
      "command": "uv",
      "args": [
        "--directory",
        "C:/Users/my_user/github_projects/mcp-security/server/gti/gti_mcp",
        "run",
        "server.py"
      ],
      "env": {
        "VT_APIKEY": "${VT_APIKEY}",
        "HTTP_PROXY": "${HTTP_PROXY}",
        "HTTPS_PROXY": "${HTTPS_PROXY}"
      }
    }
  }
}

Have HTTP_PROXY and HTTPS_PROXY set as system wide Windows environment variables. I keep getting the following error:

Error:
Error executing tool search_malware_families: Cannot connect to host www.virustotal.com:443 ssl:default [The semaphore timeout period has expired]

My MCP servers are connected:

Image

SSL certificate validation is strictly enforced so the proxy is passing it's certificate, not the one for https://www.virustotal.com/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions