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: main
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: fix/sse-custom-endpoint-paths
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 2 contributors

Commits on May 8, 2025

  1. fix: preserve custom paths in SSE endpoint URLs

    When an SSE client connects with a custom path (e.g., /api/v1/custom/sse),
    ensure the endpoint URL maintains the same base path structure but with
    /messages instead of /sse. This fixes issues where custom endpoints were
    getting collapsed to the root path.
    
    Should fix issues reported in modelcontextprotocol/inspector#313 and #296
    Tests demonstrating the issue were added in PR #439
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    bhosmer-ant and Claude committed May 8, 2025
    Configuration menu
    Copy the full SHA
    39629e2 View commit details
    Browse the repository at this point in the history
Loading