Skip to content
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/typescript-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.11.1
Choose a base ref
...
head repository: modelcontextprotocol/typescript-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.11.2
Choose a head ref
  • 8 commits
  • 4 files changed
  • 5 contributors

Commits on May 2, 2025

  1. feat: Add scope parameter to startAuthorization function

    - Add optional scope parameter to startAuthorization function signature
    - Include scope in authorization URL query parameters when provided
    - Update auth function to pass through scope from provider.clientMetadata
    - Add tests to verify scope is correctly included/excluded from auth URL
    
    This enhancement allows clients to specify authorization scopes during the OAuth flow.
    pcarleton committed May 2, 2025
    Configuration menu
    Copy the full SHA
    30b5544 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2025

  1. Fix Zod object detection logic

    Previously, this check was `value instanceof ZodType`, which breaks if
    the user is using a different version of Zod than the library. Instead,
    do the check using the structure of the input object rather than its
    prototype chain.
    
    Additionally, this adds a vendored version of Zod to use for tests, which
    ensures that regressions like this would be caught next time.
    geelen committed May 9, 2025
    Configuration menu
    Copy the full SHA
    b6617dc View commit details
    Browse the repository at this point in the history
  2. Merge pull request #464 from pcarleton/pcarleton/oauth-scope

    feat: Add scope parameter to startAuthorization function
    ihrpr authored May 9, 2025
    Configuration menu
    Copy the full SHA
    bf7fd44 View commit details
    Browse the repository at this point in the history
  3. tweak heuristic type test for isZodRawShape

    - simpler test for empty object
    - only test public zod properties (parse, safeParse)
    
    Confirmed that vendored-library tests still pass. Note that you need the --testPathIgnorePatterns to avoid the __tests__ directory (this is what was breaking the build):
    $ npm test -- --testPathIgnorePatterns="vendor"
    bhosmer-ant committed May 9, 2025
    Configuration menu
    Copy the full SHA
    3c94968 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4a295a4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #468 from geelen/fix-tool-annotation-confusion

    Fix Zod object detection logic
    bhosmer-ant authored May 9, 2025
    Configuration menu
    Copy the full SHA
    bced33d View commit details
    Browse the repository at this point in the history

Commits on May 12, 2025

  1. bump version

    ihrpr committed May 12, 2025
    Configuration menu
    Copy the full SHA
    e590950 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #482 from modelcontextprotocol/version-1-11-2

    Release 1.11.2 - update version
    ihrpr authored May 12, 2025
    Configuration menu
    Copy the full SHA
    048bc4f View commit details
    Browse the repository at this point in the history
Loading