Skip to content

Using SOCKS proxy, but the 'socksio' package is not installed. #1401

@Jinx-1120

Description

@Jinx-1120

Describe the bug
When I configure the use of fetch in cursor mcp, the configuration takes effect, but when fetch is triggered, an error always occurs:Using SOCKS proxy, but the 'socksio' package is not installed. Make sure to install httpx using pip install httpx[socks].

To Reproduce
Steps to reproduce the behavior:
cursor mcp config:

{
  "mcpServers": {
    "brave-search": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-brave-search"],
      "env": {
        "BRAVE_API_KEY": "xxxxx"
      }
    },
    "fetch": {
      "command": "uvx",
      "args": ["mcp-server-fetch"]
    }
  }
}

Expected behavior
My device has already installed uv, and the error still exists after performing the following operations:

  1. uv venv

  2. source .venv/bin/activate

  3. uv pip install "httpx[socks]"

Similarly, I also tried using brew install pipx, pipx install "httpx[socks]", but the error still exists.

Logs
If applicable, add logs to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions