feat: add url property to RequestInfo interface (#1353)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
This commit is contained in:
parent
825e9ab803
commit
97ab379e45
1 changed files with 36 additions and 8 deletions
5
.changeset/add-url-to-request-info.md
Normal file
5
.changeset/add-url-to-request-info.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@modelcontextprotocol/sdk': patch
|
||||
---
|
||||
|
||||
Add `url` property to `RequestInfo` interface as a `URL` type, exposing the full request URL to server handlers. The URL is unified across all HTTP transports (SSE and Streamable HTTP) to always provide the complete URL including protocol, host, and path.
|
||||
Loading…
Reference in a new issue