Migrate from httpx + httpx-sse to httpx2 (native SSE support) · Issue #3735 · modelcontextprotocol/python-sdk · GitHub
Skip to content

Migrate from httpx + httpx-sse to httpx2 (native SSE support) #3735

Open

Description

@blshkv

httpx is deprecated in downstream Linux distributions (e.g. Gentoo has marked it as package.deprecated in favor of httpx2, the Pydantic-maintained fork). This causes packaging warnings for mcp and everything that depends on it.

httpx2 has native SSE support built in, making httpx-sse unnecessary. The httpx-sse maintainer is tracking this in florimondmanca/httpx-sse#45.

Migrating mcp to httpx2 and dropping the httpx-sse dependency would resolve the deprecation for all downstream packages (fastmcp, migadu-mcp, etc.).

Activity

  1. added
    enhancementRequest for a new feature that's not currently supported
    on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequest for a new feature that's not currently supported

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions