Inna Harper
be845dd4ea
Merge pull request #391 from christian-bromann/cb/sse-tests
...
test(server): add more tests for `SSEServerTransport` class
2025-06-26 18:28:53 +01:00
Christian Bromann
f76652bb10
Update src/server/sse.test.ts
2025-06-26 10:22:27 -07:00
Christian Bromann
362acfc1ce
Update package-lock.json
2025-06-26 09:51:26 -07:00
Christian Bromann
08c767f8e1
Merge branch 'main' into cb/sse-tests
2025-06-26 09:50:41 -07:00
Inna Harper
6e0b699718
Merge pull request #428 from modelcontextprotocol/dependabot/npm_and_yarn/npm_and_yarn-12fbce29b8
...
Bump formidable from 3.5.2 to 3.5.4 in the npm_and_yarn group across 1 directory
2025-06-26 16:06:25 +01:00
Inna Harper
a783c5a5ef
Merge pull request #542 from dhodun/dhodun/add-streamable-http-comments
...
docs: Add clarifying comments for stateless streamable HTTP endpoints
2025-06-26 14:07:20 +01:00
Inna Harper
71d309d0d8
Merge pull request #477 from nichtsam/pr/protocol-overwriting-transport-hooks
...
Pr/protocol overwriting transport hooks
2025-06-26 14:04:16 +01:00
Inna Harper
909fe5df07
Merge pull request #633 from Achintha444/main
...
Update readme file to include a tip to allow `mcp-session-id` in CORS when using StreamableHTTP
2025-06-25 18:20:46 +01:00
Achintha Isuru
5f96ae4d89
update PR#633 to address the comment about improving the example
2025-06-25 11:34:44 -04:00
Achintha Isuru
4954cd7294
Merge branch 'main' into main
2025-06-25 11:20:55 -04:00
Inna Harper
462110508c
Merge pull request #627 from KKonstantinov/request-propagation-in-tools
...
Raw request propagation in tools - passed to callbacks via RequestHandlerExtra<ServerRequest, ServerNotification>
2025-06-25 15:18:41 +01:00
Achintha Isuru
fc85113980
Merge branch 'main' into main
2025-06-25 10:02:15 -04:00
Konstantin Konstantinov
a94a63a2d0
Merge branch 'main' into request-propagation-in-tools
2025-06-25 16:25:24 +03:00
Konstantin Konstantinov
924c1ce56b
Merge branch 'request-propagation-in-tools' of github.com:KKonstantinov/typescript-sdk into request-propagation-in-tools
2025-06-25 16:25:09 +03:00
Konstantin Konstantinov
606c278668
clean up tests - remove mockRequestInfo
2025-06-25 16:24:30 +03:00
Inna Harper
f733207dae
Merge pull request #640 from cliffhall/report-session-id-per-request
...
Show session id per request in simpleStreamableHttp example server
2025-06-25 14:18:49 +01:00
Konstantin Konstantinov
384095c30b
Merge branch 'main' into request-propagation-in-tools
2025-06-25 14:16:18 +03:00
Chris Dickinson
05d98bb3a4
feat(shared/auth): support software_statement in OAuthClientMetadata ( #696 )
...
Per [Section 3.1.1][ref], `software_statement` is an OPTIONAL member
of the client creation request, which may contain a JWT encoding claims
about client software.
[ref]: https://datatracker.ietf.org/doc/html/rfc7591#section-3.1.1
2025-06-25 11:20:26 +01:00
Konstantin Konstantinov
166da76b00
extra parameter - remain optional for backwards compatibility
2025-06-24 19:39:37 +03:00
Konstantin Konstantinov
33895f4520
Merge branch 'main' into request-propagation-in-tools
2025-06-24 19:32:49 +03:00
Inna Harper
c40193933a
Merge pull request #655 from Areo-Joe/fix/skip_validate_if_error
...
fix: skip validation if tool reports error
2025-06-24 17:14:11 +01:00
ihrpr
33e03f499e
Merge branch 'main' into fix/skip_validate_if_error
2025-06-24 17:12:34 +01:00
ihrpr
c20a47a79f
small fixes
2025-06-24 17:09:29 +01:00
Konstantin Konstantinov
dff036ecb8
Merge branch 'main' into request-propagation-in-tools
2025-06-24 18:28:04 +03:00
Inna Harper
600c623fe6
Merge pull request #693 from modelcontextprotocol/pcarleton/resource-only-when-prm-present
...
[auth] refactor resource selection to not include resource if PRM is not present
2025-06-24 15:48:14 +01:00
Konstantin Konstantinov
96ff8573cf
Merge branch 'main' into request-propagation-in-tools
2025-06-24 17:21:09 +03:00
Paul Carleton
15a2277c89
refactor resource selection to not include resource if PRM is not present
2025-06-24 14:47:54 +01:00
Inna Harper
ebf8e2d029
Merge pull request #692 from modelcontextprotocol/ihrpr/fallback-for-auth-well-known
...
Fallback for` /.well-known/oauth-authorization-server` dropping path
2025-06-24 11:58:53 +01:00
ihrpr
03da7cfc66
fallback
2025-06-24 11:38:55 +01:00
Inna Harper
0fc9bd0a32
Merge pull request #687 from smithery-ai/patch-1
...
Fix `/.well-known/oauth-authorization-server` dropping path
2025-06-24 10:51:49 +01:00
Achintha Isuru
0a425f486d
Merge branch 'main' into main
2025-06-24 00:52:23 -04:00
Henry Mao
1ff08e41d7
Add path test
2025-06-23 17:32:08 -04:00
Henry Mao
6220701352
Fix trailing slash
2025-06-23 17:13:13 -04:00
Henry Mao
da6ac79c1e
Fix missing issuer
2025-06-24 04:41:26 +08:00
Henry Mao
4f24b8bc6f
Fix /.well-known/oauth-authorization-server dropping path
2025-06-24 04:36:54 +08:00
Inna Harper
cb4743d0ad
Merge pull request #683 from modelcontextprotocol/ihrpr/1.13.1
...
1.13.1
1.13.1
2025-06-23 14:33:46 +01:00
ihrpr
9c3ef4f944
1.13.1
2025-06-23 14:31:50 +01:00
Achintha Isuru
d897ee8718
Merge branch 'main' into main
2025-06-22 00:52:10 -04:00
Inna Harper
0506addf35
Merge pull request #675 from chrisdickinson/chris/20250620-sse-auththenstart
...
fix(client/sse): extract protected resource from eventsource 401
2025-06-20 23:14:30 +01:00
Chris Dickinson
d89e854133
fix(client/sse): extract protected resource from eventsource 401
...
Previously the SSE connection would always default to the
`/.well-known/oauth-protected-resource` URI, ignoring the `resource_metadata`
portion of the `www-authenticate` returned in a 401.
Extract the metadata from the initial 401, so RS servers with
custom protected resource URIs (as in RFC9728, [section 3.1][1]))
continue to work as expected.
[1]: https://datatracker.ietf.org/doc/html/rfc9728#section-3.1
2025-06-20 12:54:29 -07:00
Samuel Jensen
9edb619600
make protocol class not overwrite existing hooks when connecting transports
2025-06-20 19:59:30 +02:00
Inna Harper
66b7cd2642
Merge pull request #664 from modelcontextprotocol/pcarleton/auth-resource-validation2
...
[auth] adjust default validation for resource parameter in client flow, and server example
2025-06-20 08:54:12 +01:00
Inna Harper
19103582ab
Merge pull request #668 from modelcontextprotocol/ashwin/logremoval
...
feat: remove console statements from SDK code
2025-06-20 08:51:19 +01:00
Ashwin Bhat
f4b8a48ded
feat: remove console statements from SDK code
...
- Remove all console.log, console.warn, and console.error from src/client and src/server
- Add ESLint no-console rule for client and server directories (excluding tests)
- Keep console statements in test files, examples, and CLI tools as intended
Addresses feedback in PR #665
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 22:36:33 -07:00
Achintha Isuru
81570d2544
Merge branch 'main' into main
2025-06-20 01:05:50 -04:00
Olivier Chafik
744b9eade6
build: add watching script targets for build & simple streamable http server ( #663 )
2025-06-19 18:56:25 +01:00
Paul Carleton
eff548c06f
adjust to provided resource
2025-06-19 18:02:00 +01:00
Paul Carleton
87da0e0c3a
adjust default validation for resource parameter in client flow, and server example
2025-06-19 17:52:24 +01:00
Olivier Chafik
2a238905df
simpleStreamableHttp: fix example code ( #660 )
2025-06-19 11:44:43 +01:00
Achintha Isuru
d4c4dccc1a
Merge branch 'main' into main
2025-06-19 01:08:57 -04:00