Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingserver-fetchReference implementation for the Fetch MCP server - src/fetchv2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions