Comparing v1.22.0...v1.23.0 · modelcontextprotocol/python-sdk

Commits on Nov 20, 2025

  1. Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

Commits on Nov 23, 2025

  1. Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

Commits on Nov 24, 2025

  1. Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

  3. Configuration menu

    Browse the repository at this point in the history

  4. Configuration menu

    Browse the repository at this point in the history

  5. Configuration menu

    Browse the repository at this point in the history

Commits on Nov 25, 2025

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Nov 26, 2025

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Nov 28, 2025

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Dec 1, 2025

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Dec 2, 2025

  1. Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

  3. Configuration menu

    Browse the repository at this point in the history

  4. Merge commit from fork

    * Auto-enable DNS rebinding protection for localhost servers
    
    When a FastMCP server is created with host="127.0.0.1" or "localhost"
    and no explicit transport_security is provided, automatically enable
    DNS rebinding protection. Both 127.0.0.1 and localhost are allowed
    as valid hosts/origins since clients may use either to connect.
    
    * Add tests for auto DNS rebinding protection on localhost
    
    Tests verify that:
    - Protection auto-enables for host=127.0.0.1
    - Protection auto-enables for host=localhost
    - Both 127.0.0.1 and localhost are in allowed hosts/origins
    - Protection does NOT auto-enable for other hosts (e.g., 0.0.0.0)
    - Explicit transport_security settings are not overridden
    
    * Add IPv6 localhost (::1) support for DNS rebinding protection
    
    Extend auto-enable DNS rebinding protection to also cover IPv6
    localhost. When host="::1", protection is now auto-enabled with
    appropriate allowed hosts ([::1]:*) and origins (http://[::1]:*).
    
    * Fix import ordering in test file
    Configuration menu

    Browse the repository at this point in the history