Commit graph

661 commits

Author SHA1 Message Date
Ram Ananth
dc24098d15
Update README.md to use correct location of InMemoryEventStore 2025-04-18 12:46:34 -04:00
ihrpr
5b6d35eb12
Merge pull request #363 from modelcontextprotocol/ihrpr/stateless-example-fix 1.10.1
Streamable Http - fix examples for streamable HTTP
2025-04-18 11:59:22 +01:00
ihrpr
b6c8c6019b
bump package version 2025-04-18 11:58:18 +01:00
ihrpr
1414d6a52c
improve test 2025-04-18 11:57:59 +01:00
ihrpr
ea04be4cf8
fix build 2025-04-18 11:52:51 +01:00
ihrpr
0bf8b376df
examples for stateless servers 2025-04-18 11:46:17 +01:00
ihrpr
64653f54bd
Merge pull request #351 from modelcontextprotocol/ihrpr/clean-up-examples 1.10.0
StreamableHttp - Update examples and README
2025-04-17 18:32:20 +01:00
ihrpr
f10d1ff93f
change sessionIdGenerator to be either undefined or generate a string 2025-04-17 18:22:11 +01:00
ihrpr
1781d31efc
readme suggested changes 2025-04-17 18:08:58 +01:00
ihrpr
12d8ac9301
Merge pull request #347 from modelcontextprotocol/ihrpr/backwards_compatibility
StreamableHttp transport - backwards compatibility examples
2025-04-17 17:45:31 +01:00
ihrpr
29ae6b8e49
appying suggested changes 2025-04-17 17:43:14 +01:00
ihrpr
9e6041135b
Merge branch 'main' into ihrpr/backwards_compatibility 2025-04-17 17:37:33 +01:00
ihrpr
4e3ddf4566
Merge pull request #345 from modelcontextprotocol/ihrpr/session_management
StreamableHttp transport - session management
2025-04-17 17:36:47 +01:00
ihrpr
5dba9477ff
small fixes after suggested changes 2025-04-17 17:34:15 +01:00
ihrpr
864aa2155c
update readme with StreamableHttp 2025-04-16 18:22:55 +01:00
ihrpr
8806c0ecb4
examples readme improvements 2025-04-16 17:49:22 +01:00
ihrpr
16df308d4f
remove logs how to ititialize with curl - not needed anymore as we have client 2025-04-16 14:51:09 +01:00
ihrpr
c3f08567a2
share implementation of in memory store between examples and integration tests 2025-04-16 14:48:47 +01:00
ihrpr
7341c9a288
fix lint 2025-04-16 14:44:45 +01:00
ihrpr
80b0bab08b
backwards compatible client 2025-04-16 14:20:55 +01:00
ihrpr
8328cfe327
example of sse server 2025-04-16 13:36:37 +01:00
ihrpr
4d2968cec3
backward compatible server example 2025-04-16 13:30:00 +01:00
ihrpr
c053c2e97d
handle session termination 2025-04-16 11:56:28 +01:00
ihrpr
a5144dc022
use utility to check for message types 2025-04-16 11:34:21 +01:00
ihrpr
8775c1fefc
add integratoin test 2025-04-16 11:26:39 +01:00
ihrpr
585dc06708
introduce onsessioninitialized to avoid race conditions 2025-04-16 11:09:47 +01:00
ihrpr
31f44e0b68
add isInitializeRequest and isInitializedNotification utility 2025-04-16 10:19:46 +01:00
ihrpr
09e5d5b450
Merge pull request #333 from modelcontextprotocol/ihrpr/resume-long-running-requests
StreamableHttp transport - resume long running requests
2025-04-15 22:25:45 +01:00
ihrpr
f9f2ba4717
Merge branch 'main' into ihrpr/resume-long-running-requests 2025-04-15 22:10:58 +01:00
ihrpr
8bc49f9f34
change names to resumptionToken instead of last event id 2025-04-15 22:06:10 +01:00
ihrpr
f1c5ef1a8d
apply suggested changes 2025-04-15 20:40:26 +01:00
ihrpr
9ed22547da
Merge pull request #332 from modelcontextprotocol/resumability
Streamable HTTP - resume streams on disconnect
2025-04-15 18:45:05 +01:00
ihrpr
f900592a2f
lint 2025-04-15 16:43:24 +01:00
ihrpr
84c2618c1e
Merge branch 'resumability' into ihrpr/resume-long-running-requests 2025-04-15 16:42:24 +01:00
ihrpr
b062d75a73
change standalone sse key 2025-04-15 16:41:33 +01:00
ihrpr
f1e6acb17d
resumed tool to return value 2025-04-15 16:37:31 +01:00
ihrpr
54d6929149
don't need to re-initialize when we reconnect a session 2025-04-15 11:58:43 +01:00
ihrpr
1359e9fe6a
pull transport send options into own named type 2025-04-15 11:42:16 +01:00
ihrpr
621e65c42b
Merge branch 'resumability' into ihrpr/resume-long-running-requests 2025-04-15 11:14:39 +01:00
ihrpr
67a4595ae7
improve event store interface 2025-04-15 11:03:44 +01:00
Justin Spahr-Summers
2f5fc1744d
Merge pull request #166 from allenzhou101/request-auth-info
Include Authorization Info in Tool Calls (and request handlers generally)
2025-04-15 10:02:47 +01:00
ihrpr
643ef5c5e7
remove redundant check for onlyNotifications 2025-04-15 09:26:08 +01:00
ihrpr
583202f81a
address client comments 2025-04-15 09:24:11 +01:00
ihrpr
f9f380738f
Merge branch 'main' into resumability 2025-04-15 09:10:24 +01:00
ihrpr
ff4cf8452f
Merge branch 'main' into resumability 2025-04-15 09:09:43 +01:00
ihrpr
dd254f9929
Merge pull request #316 from modelcontextprotocol/streamablehttp-server-tests
Refactor StreamableHttp Server tests
2025-04-15 09:07:05 +01:00
Allen Zhou
b30a77e1b9
Update types.ts 2025-04-14 10:10:57 -07:00
Allen Zhou
ab3bb94290
Adjust arbitrary keys to custom claims field to prevent conflicts 2025-04-14 10:10:08 -07:00
ihrpr
7aeb67988a
improve comments 2025-04-14 09:37:19 +01:00
ihrpr
c21b9a0ac2
fix lint 2025-04-14 09:08:01 +01:00