Commit graph typescript-sdk/src
Author SHA1 Message Date
Shinya Fujino
1c1178143c feat: add completions capability in ServerCapabilitiesSchema 2025-04-06 22:46:02 +09:00
Ironben
78a7754e20
Merge branch 'main' into main 2025-04-06 04:42:02 +00:00
Shinya Fujino
6807345063
Merge branch 'main' into patch-2 2025-04-06 12:32:05 +09:00
Shinya Fujino
87dc5eb4a2 fix: Ensure the correct capability is checked for completion/complete 2025-04-06 11:42:18 +09:00
ihrpr
bafd9e74f3
Add ways to associate related requests and notifications 2025-04-05 19:52:29 +01:00
Geng Yan
e9caa5a12f
✨ feat: add customHeaders options 2025-04-05 18:59:26 +01:00
Geng Yan
e3a61095ae
✨ feat: add pre-rarsed body support 2025-04-05 18:59:26 +01:00
Geng Yan
4c7c434e7c
✨ feat: try add stateless mod 2025-04-05 18:59:26 +01:00
Geng Yan
970cf9d5b1
fix: Use lowercase header names 2025-04-05 18:59:26 +01:00
Geng Yan
cc9ae5b4ac
✨ feat: StreamableHTTPServerTransport implement 2025-04-05 18:59:26 +01:00
Ironben
8592096b6c
Merge branch 'main' into main 2025-04-05 08:30:38 +00:00
shijun
9482d936d4
Merge branch 'main' into main 2025-04-05 11:36:43 +08:00
wangshijun
473dc6cad5 chore: add test case for McpServer with auth 2025-04-05 11:33:40 +08:00
Cliff Hall
781d8fcb9a
Merge branch 'main' into request-auth-info 2025-04-04 14:50:02 -04:00
Ironben
37e0f7da56
Merge branch 'main' into main 2025-04-04 03:22:07 +00:00
Allen Zhou
9aee425c38
Merge remote-tracking branch 'upstream/main' into request-auth-info 2025-04-03 10:25:28 -07:00
Cliff Hall
1899d5cc52
Merge branch 'main' into server-authorization-proxy 2025-04-02 19:10:50 -04:00
Cliff Hall
deb2737d0f
Merge branch 'main' into fix-reset-timeout-on-progress 2025-04-02 18:52:22 -04:00
Exlau
e5eecd4308
Merge branch 'main' into exlau/sse-cache-control-header-fix 2025-04-02 11:16:00 +08:00
Nathan Arseneau
9f5b4bf00d Add audio content 2025-04-01 19:01:22 -04:00
wangshijun
3571fc353f feat: support extending McpServer with subclass 2025-04-01 12:21:08 +08:00
Yechao LI
7c115ed0e2
Merge branch 'main' into main 2025-03-30 11:03:43 +08:00
Ironben
3139be6cb8
Merge branch 'main' into main 2025-03-29 01:03:22 +08:00
Jerome
592c91fc86
Merge pull request #222 from modelcontextprotocol/praboud/redirect-uri-fix
Correctly pass redirect_uri to tokens call
2025-03-28 15:51:02 +00:00
ExlauChen
6c15dcb65f fix: 🐛 can't establish sse when server side enable compress 2025-03-28 14:50:59 +08:00
Ironben
b6cfddf04d
Merge branch 'main' into main 2025-03-26 20:41:54 +08:00
Justin Spahr-Summers
c6635d71d6
Fix lints 2025-03-26 10:12:19 +00:00
Ironben
b6749998f5 ✨ (client/index.ts): add optional RequestOptions parameter to connect method to allow additional configuration options 2025-03-26 11:54:48 +08:00
Peter Raboud
2a2392be26
Correctly pass redirect_uri to tokens call 2025-03-25 14:20:34 -07:00
Vlad Svoka
b2655cdd46
Fixing for windows terminal forcing \r\n 2025-03-21 17:08:18 -07:00
Allen Zhou
514f5493b0
Merge branch 'main' into server-authorization-proxy 2025-03-17 15:35:51 -07:00
zhibisora
46ae2a17af Fix test for cross-spawn 2025-03-16 05:15:50 +08:00
zhibisora
d4bf73b06e Replace native spawn with cross-spawn for improved cross-platform compatibility 2025-03-16 05:00:36 +08:00
Dmitry Volokh
fee4bbec58 console.error pollution removed in tests 2025-03-14 19:54:03 +01:00
Yechao Li
670d98863d
feat: add variableNames for UriTemplate 2025-03-13 15:42:20 +08:00
akazwz
dad9eafe3e Improve SSE endpoint sessionId parameter handling
Add dynamic query parameter separator for sessionId to handle endpoints with existing query parameters more robustly
2025-03-09 10:01:07 +08:00
Allen Zhou
af025e26a7
Include AuthInfo from bearer validation in transport request handler 2025-02-28 15:20:55 -08:00
Allen Zhou
b90192a020
Add skipLocalPkceValidation param and create providers folder 2025-02-28 13:59:23 -08:00
Jerome
a22092bea2
Merge branch 'main' into add-sessionid-to-context 2025-02-28 11:50:37 +00:00
Allen Zhou
8d7b387545
Clean up pkce skip check for proxy providers 2025-02-27 13:35:40 -08:00
Allen Zhou
89c4ec3272 Add baseUrl param to override issuerUrl for fallback construction 2025-02-27 10:45:17 -08:00
Allen Zhou
d93814f4df
Merge branch 'main' into server-authorization-proxy 2025-02-26 14:00:48 -08:00
Allen Zhou
57f59c69a1 Make authorizationUrl and tokenUrl mandatory 2025-02-26 14:00:34 -08:00
Allen Zhou
96f3d81aa3 Adjust function types to be accessible to subclasses 2025-02-25 15:29:20 -08:00
Jason Victor
c396b4af1d added test for session id using in memory transport 2025-02-25 17:57:45 -05:00
Jason Victor
57f3b07bb9 docstring 2025-02-25 17:48:14 -05:00
Tuomas
d63324e34e Fix resetTimeoutOnProgress option not being checked, add test 2025-02-25 11:32:24 -06:00
Tuomas
92da5861f4 Fix resetTimeoutOnProgress option not being checked 2025-02-25 11:30:50 -06:00
Jerome
42b1738d54
Merge pull request #157 from modelcontextprotocol/jerome/fix/no-mcp-header-in-metadata-fetching
* Check token expiry in requireAuth middleware
* Gracefully handle cors issues in metadata fetching (experienced due to MCP-Protocol-Version header)
* Don't set client secret expiry for public clients
2025-02-25 09:54:32 +00:00
Jerome
c521710b86
Lint 2025-02-25 09:51:17 +00:00