Commit graph

527 commits

Author SHA1 Message Date
ihrpr
cc7f8e4e1b
fix tests after init fix 2025-04-08 16:05:28 +01:00
ihrpr
84ca647d0d
init message to follow normal request path 2025-04-08 15:22:29 +01:00
ihrpr
4e0c2837f5
request id might be 0 2025-04-08 15:11:56 +01:00
ihrpr
95f8986242
Merge branch 'ihrpr/streamable-http-client' into ihrpr/fix-streamable-connection-close 2025-04-08 15:05:08 +01:00
ihrpr
f1827ced10
handle not implemented get 2025-04-08 15:04:07 +01:00
ihrpr
7c4407144c
fix closing connection when there is response 2025-04-08 13:29:03 +01:00
ihrpr
c3b446d424
multiple streams and initial stream with get 2025-04-08 11:11:09 +01:00
ihrpr
640ae5a863
initial client implementation 2025-04-08 09:43:22 +01:00
ihrpr
693fdc3c1a
Merge pull request #266 from modelcontextprotocol/ihrpr/http-streamable-server
Server implementation of Streamable HTTP transport
2025-04-07 19:52:29 +01:00
ihrpr
88dc565f37
pass sessionIdGenerator instead of sessionId 2025-04-07 17:29:49 +01:00
ihrpr
f29cbe7e06
reject session as an array 2025-04-07 16:49:46 +01:00
ihrpr
c275a0d24e
remove session validation in handleUnsupportedRequest 2025-04-07 16:27:28 +01:00
ihrpr
8c2086ec97
refactor handle request types 2025-04-07 16:15:09 +01:00
ihrpr
af64a0e18c
remove custom headers 2025-04-07 16:03:31 +01:00
ihrpr
251bb9d97d
Merge branch 'main' into ihrpr/http-streamable-server 2025-04-07 14:29:09 +01:00
ihrpr
4068e6f9a3
cleanup initialization 2025-04-07 14:22:11 +01:00
ihrpr
6c1b9ba06a
remove local storage for replaying and remove support for sse connection thought get 2025-04-07 12:12:43 +01:00
Justin Spahr-Summers
0d0af5402d
Bump version, npm audit fix 1.9.0 2025-04-07 11:36:52 +01:00
Justin Spahr-Summers
58adcd4d60
Merge pull request #224 from nanbingxyz/main
✨ (client/index.ts): add optional RequestOptions parameter to connect…
2025-04-07 11:31:28 +01:00
Justin Spahr-Summers
39e6ec5efa
Merge pull request #269 from morinokami/patch-3
feat: Add completions capability in ServerCapabilitiesSchema
2025-04-07 11:31:10 +01:00
Justin Spahr-Summers
a76b2639d7
Merge pull request #268 from morinokami/patch-2
fix: Ensure the correct capability is checked for `completion/complete`
2025-04-07 11:29:04 +01:00
Justin Spahr-Summers
4d5ce8fb43
Merge pull request #265 from morinokami/patch-1
docs: Update README to not specify invalid capabilities
2025-04-07 11:28:01 +01:00
Justin Spahr-Summers
0c437a81be
Merge pull request #231 from Exlau/exlau/sse-cache-control-header-fix
fix: 🐛 can't establish sse when server side enable compress
2025-04-07 11:18:32 +01:00
Justin Spahr-Summers
44839ee01d
Merge pull request #272 from modelcontextprotocol/revert-249-main
Revert "feat: support extending McpServer with authorization"
2025-04-07 11:17:03 +01:00
Justin Spahr-Summers
b5024bf170
Merge pull request #188 from li-yechao/main
feat: expose variableNames to retrieve all parameters from UriTemplate
2025-04-07 11:16:44 +01:00
Justin Spahr-Summers
cb6d7dde43
Merge pull request #183 from stonexer/main
docs: Update README for client method usage
2025-04-07 11:10:47 +01:00
Justin Spahr-Summers
4b69f40005
Merge pull request #214 from Shchvova/fixing-for-windows
Fixing for windows terminal forcing \r\n
2025-04-07 11:10:40 +01:00
Justin Spahr-Summers
9980cbf438
Merge pull request #194 from davolokh/console-error-in-test-removed
console.error pollution logs removed in tests
2025-04-07 11:07:02 +01:00
Justin Spahr-Summers
c8bcc21a55
Merge pull request #190 from davolokh/npm-provenance
#89 NPM provenance added
2025-04-07 11:05:30 +01:00
Justin Spahr-Summers
8027ae1593
Revert "feat: support extending McpServer with authorization" 2025-04-07 10:47:37 +01:00
ihrpr
268c9f7469
fix test 2025-04-06 18:42:46 +01:00
ihrpr
873f51f4ac
Merge branch 'main' into ihrpr/http-streamable-server 2025-04-06 17:39:40 +01:00
ihrpr
00135707f6
rename files to use conventioanal typescript names 2025-04-06 17:28:46 +01:00
ihrpr
e3bb99cd5c
remove the use of enableSessionManagement 2025-04-06 17:27:00 +01:00
ihrpr
b0697195a7
add test to cover nested logging withing a tool call 2025-04-06 16:09:15 +01:00
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
Cliff Hall
fbdeb06a41
Merge pull request #249 from ArcBlock/main
feat: support extending McpServer with authorization
2025-04-05 14:12:17 -04: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
Shinya Fujino
11c77cdeb7 docs: Update README to not specify invalid capabilities 2025-04-06 01:52:14 +09:00
Cliff Hall
e2ab858308
Merge pull request #254 from heyitsaamir/aamirj/fixCJSIssue
Bump pkce up to 5.0.0 to fix CJS dependency issue
2025-04-05 11:56:04 -04:00
Cliff Hall
02f817dcb6
Merge branch 'main' into aamirj/fixCJSIssue 2025-04-05 11:51:17 -04:00
Ironben
8592096b6c
Merge branch 'main' into main 2025-04-05 08:30:38 +00:00