Olivier Chafik
33257f14d4
switch to optional Transport.setProtocolVersion
2025-06-13 13:36:04 +01:00
Olivier Chafik
4aaa26d900
remove protocol version mismatch warning
2025-06-13 13:35:38 +01:00
ihrpr
dd69efa1de
Merge pull request #623 from modelcontextprotocol/ihrpr/1.12.3
...
1.12.3
1.12.3
2025-06-12 19:23:37 +01:00
ihrpr
ea6d97d5ab
1.12.3
2025-06-12 19:21:45 +01:00
bhosmer-ant
b6f0273569
Merge pull request #621 from modelcontextprotocol/carlpeaslee/fix-resource-template-list-metadata
...
1.12.2
Adding tests to prevent regressions for: fixes metadata for listed resources from resource templates so that they favor their own metadata
2025-06-12 13:53:43 -04:00
ihrpr
9d3374c519
Merge pull request #574 from loopwork-ai/carlpeaslee/fix-resource-template-list-metadata
...
fixes metadata for listed resources from resource templates so that they favor their own metadata
2025-06-12 18:50:23 +01:00
ihrpr
bc5312991e
adding tests to prevent regressions
2025-06-12 18:47:16 +01:00
Olivier Chafik
4e9d6a707d
Merge branch 'ochafik/protocol-version' of https://github.com/modelcontextprotocol/typescript-sdk into ochafik/protocol-version
2025-06-12 18:45:10 +01:00
Olivier Chafik
e573a0f342
nits: remove dead comment & align test style on local idioms
2025-06-12 18:43:49 +01:00
Olivier Chafik
a28e25a9c0
use const in test
2025-06-12 18:43:06 +01:00
Olivier Chafik
bb0592bd50
add supported versions to error message
2025-06-12 18:42:51 +01:00
ihrpr
255d30cbf2
Rename ResourceReference to ResourceTemplateReference
2025-06-12 15:10:12 +01:00
Diego García
28e2efa0b2
Merge branch 'main' into main
2025-06-12 13:38:59 +02:00
Olivier Chafik
18f8b40d00
Merge branch 'main' into ochafik/protocol-version
2025-06-11 18:53:04 +01:00
David Dworken
449671dfe8
Merge branch 'main' into main
2025-06-11 09:42:34 -07:00
Olivier Chafik
84971c83ea
Set Mcp-Protocol-Version in client requests after init, and warn when it doesn't match negotiated version (it SHOULD match)
2025-06-11 17:29:09 +01:00
ihrpr
c088719985
tests
2025-06-10 17:26:48 +01:00
ihrpr
2d61b4b8fc
adding README
2025-06-10 15:52:20 +01:00
ihrpr
eed97c9d17
Merge branch 'main' into ihrpr/elicitation
2025-06-10 14:43:35 +01:00
ihrpr
2cf4f0ca86
Merge pull request #546 from fredericbarthelet/register-completions-capabilities
...
fix: Ensure completions capability is registered on setCompletionRequestHandler call
2025-06-10 13:21:12 +01:00
sinedied
921ce70fa3
fix: missing "properties" property in empty schema
2025-06-09 14:17:53 +02:00
Basil Hosmer
1878143f1a
bump version
2025-06-05 11:52:59 -04:00
Carl Peaslee
6cf034595d
updates listed resources from resource templates to favor their own metadata
2025-05-30 11:32:10 -07:00
David Dworken
ab900839fb
Invert variable to improve code readability
2025-05-30 09:06:01 -07:00
Diego García
be063e4bb8
fix: extra Headers when they are a Headers object
2025-05-30 16:05:05 +02:00
David Dworken
970905c313
Fix SSE content-type error message format
2025-05-29 14:01:36 -07:00
David Dworken
88c6098495
Clean up
2025-05-29 13:54:49 -07:00
David Dworken
41c7ed0995
Revert package-lock change
2025-05-29 13:53:31 -07:00
David Dworken
ebf2535b90
Add protections for streamable HTTP too
2025-05-29 13:52:30 -07:00
David Dworken
adbacc6388
Add DNS rebinding protection for SSE transport
2025-05-29 13:32:26 -07:00
ihrpr
590d484137
Merge pull request #561 from modelcontextprotocol/ihrpr/1.12.1
...
1.12.1
bump version
2025-05-29 15:40:04 +01:00
ihrpr
d46d4882e6
bump version
2025-05-29 15:39:24 +01:00
ihrpr
b2b426fb67
Merge pull request #560 from daidi/main
...
fix: Ensure _meta object is not lost when onprogress option is passed
2025-05-29 15:02:51 +01:00
ihrpr
cdcb00975c
fix build and add tests
2025-05-29 14:59:47 +01:00
PapacyDai
49777d5652
fix: Ensure _meta object is not lost when onprogress option is passed
...
When the onprogress option is passed, the _meta object in the request
params was being overwritten, causing any existing _meta content to be lost.
2025-05-29 15:15:52 +08:00
ihrpr
df0d9c4ffc
Merge pull request #538 from danielgek/add-request-init-headers-to-sse-start
...
Add request init headers defined on the sse transport on the start phase
2025-05-27 09:36:39 +01:00
오병진
823fc43d4c
Merge branch 'main' into fix/1
2025-05-26 18:58:12 +09:00
Frédéric Barthelet
7e0521550b
Add tests for completions capability registration on template resource with completion or prompt completable argument registration
2025-05-25 19:07:26 -07:00
Frédéric Barthelet
269c8caf8e
Remove server-specific capabilities definition from Client constructor in mcp tests
2025-05-25 18:00:28 -07:00
Frédéric Barthelet
5f5180c4d3
Register completions capabilities
2025-05-25 17:20:02 -07:00
ihrpr
d5c996bbcb
Merge pull request #315 from Skn0tt/patch-1
...
chore: fix typo
2025-05-24 20:52:35 +01:00
dhodun
eefdcf5bf3
docs: Add clarifying comments for stateless streamable HTTP endpoints
...
Add inline comments explaining why GET and DELETE endpoints return 405 in stateless mode:
- GET: SSE notifications not supported without session management
- DELETE: Session termination not needed in stateless mode
2025-05-23 20:01:38 -05:00
Daniel Leal
d38a5979ac
Add request init headers defined on the sse transport to the start
2025-05-22 19:11:23 +01:00
ihrpr
0c4b308275
Merge pull request #537 from modelcontextprotocol/ihrpr/1.12.0
...
1.12.0
bump package version
2025-05-22 16:43:25 +01:00
ihrpr
c69168cf93
Merge pull request #534 from modelcontextprotocol/ihrpr/fix-example-shttp
...
Fix StreamableHttp example for tool calls - have a separate option for testing notifications resumption
2025-05-22 16:43:03 +01:00
ihrpr
acefd57b74
bum package version
2025-05-22 16:00:28 +01:00
Jeff Escalante
0516f9898b
add state param to oauth provider ( #529 )
2025-05-22 12:55:00 +01:00
ihrpr
3d76bbe6c6
Merge pull request #526 from modelcontextprotocol/ihrpr/auth-example-client3
...
Example Auth client
2025-05-22 11:14:51 +01:00
ihrpr
cbe9279206
add new tool for testing resumability - leave the rest normal
2025-05-22 10:38:43 +01:00
Basil Hosmer
eea1519994
lint
2025-05-21 23:42:00 -04:00