modelcontextprotocol / modelcontextprotocol/servers

Update server-fetch proxy implementation for httpx 0.28+

Open
#1,146 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement server-fetch
Dominant language
TypeScript
Stars
90.5k
Forks
11.7k
Avg merge
2d 2h
Merged PRs (30d)
5

Description

Is your feature request related to a problem? Please describe.
Proxy handling was recently added to server-fetch using the deprecated proxies argument from httpx<0.28.0: https://github.com/modelcontextprotocol/servers/pull/816

Describe the solution you'd like
Switch to explicit AsyncClient creation as described here: https://github.com/encode/httpx/issues/3424
That way we can update the httpx dependency to newer versions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the server-fetch implementation and inspect how proxy handling currently passes the deprecated httpx proxies argument. Consult the linked httpx guidance, then verify that explicit AsyncClient creation works with newer httpx versions and that the dependency can be updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, typescript
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.