Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: modelcontextprotocol/python-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
Loading
...
head repository: modelcontextprotocol/python-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.3.x
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 22 files changed
  • 8 contributors

Commits on Feb 13, 2025

  1. v1.3.0rc1

    dsp-ant committed Feb 13, 2025
    Configuration menu
    Copy the full SHA
    701a86e View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2025

  1. Configuration menu
    Copy the full SHA
    68fcf92 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2025

  1. Force stdin/stdout encoding to UTF-8

    The character encoding of the stdin/stdout streams in Python is platform-
    dependent. On Windows it will be something weird, like CP437 or CP1252,
    depending on the locale. This change ensures that no matter the platform,
    UTF-8 is used.
    rnortman authored and dsp-ant committed Feb 18, 2025
    Configuration menu
    Copy the full SHA
    d92ee8f View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2025

  1. Add client handling for sampling, list roots, ping (#218)

    Adds sampling and list roots callbacks to the ClientSession, allowing the client to handle requests from the server.
    
    Co-authored-by: TerminalMan <84923604+SecretiveShell@users.noreply.github.com>
    Co-authored-by: David Soria Parra <davidsp@anthropic.com>
    3 people committed Feb 20, 2025
    Configuration menu
    Copy the full SHA
    b8a77fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e503de1 View commit details
    Browse the repository at this point in the history
  3. fix: ruff format

    dsp-ant committed Feb 20, 2025
    Configuration menu
    Copy the full SHA
    2ab3d25 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #217 from modelcontextprotocol/jerome/fix/request-…

    …context-typing
    
    Updated typing on request context for the server to use server session
    jerome3o-anthropic authored and dsp-ant committed Feb 20, 2025
    Configuration menu
    Copy the full SHA
    2eb9d17 View commit details
    Browse the repository at this point in the history
  5. Fix #177: Returning multiple tool results (#222)

    * feat: allow lowlevel servers to return a list of resources
    
    The resource/read message in MCP allows of multiple resources
    to be returned. However, in the SDK we do not allow this. This
    change is such that we allow returning multiple resource in
    the lowlevel API if needed. However in FastMCP we stick to
    one, since a FastMCP resource defines the mime_type in the decorator
    and hence a resource cannot dynamically return different mime_typed resources.
    It also is just the better default to only return one resource.
    However in the lowlevel API we will allow this.
    
    Strictly speaking this is not a BC break since the new return value
    is additive, but if people subclassed server, it will break them.
    
    * feat: lower the type requriements for call_tool to Iterable
    dsp-ant committed Feb 20, 2025
    Configuration menu
    Copy the full SHA
    c8ce49c View commit details
    Browse the repository at this point in the history
  6. v1.3.0

    dsp-ant committed Feb 20, 2025
    Configuration menu
    Copy the full SHA
    689c54c View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2025

  1. Configuration menu
    Copy the full SHA
    ec62372 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2025

  1. Configuration menu
    Copy the full SHA
    dda11d4 View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.