bhosmer-ant
2e119aaca2
Merge pull request #639 from modelcontextprotocol/basil/_meta_language
...
update _meta usage guidance in `types.ts`
2025-06-16 15:00:17 -04:00
Basil Hosmer
784d944377
update _meta comments
2025-06-16 14:52:33 -04:00
ihrpr
54c30109fb
Merge branch 'main' into ihrpr/elicitation
2025-06-16 19:11:57 +01:00
Felix Weinberger
3df732545f
Add missing _meta fields to match spec requirements
...
Added optional _meta field to ResourceContentsSchema, PromptSchema, and EmbeddedResourceSchema to align with spec change PR #710 . These were the only schemas missing the _meta field that were required by the specification update.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 16:18:13 +01:00
ihrpr
0e86a6d139
improve readme
2025-06-16 14:36:35 +01:00
ihrpr
42c3967d8b
add to readme
2025-06-16 14:23:17 +01:00
ihrpr
c90d6c9853
add context with arguments to completable
2025-06-16 14:11:10 +01:00
ihrpr
1e5f0e16ba
whitespaces
2025-06-16 12:08:59 +01:00
ihrpr
cacc3bc09e
Merge branch 'main' into ihrpr/resource-link
2025-06-16 11:56:19 +01:00
ihrpr
f1a07a940a
ci fix
2025-06-16 11:45:35 +01:00
ihrpr
90e45950b3
show name and title in example
2025-06-16 11:36:08 +01:00
ihrpr
3f939be6c7
readme fixes and template tests for title
2025-06-16 11:21:07 +01:00
ihrpr
8719f93357
clean up mcp.ts
2025-06-16 11:00:20 +01:00
ihrpr
bce2dbfb83
small fixes like argsSchema
2025-06-16 10:55:02 +01:00
ihrpr
d1c94a2c69
refactor
2025-06-16 10:43:31 +01:00
ihrpr
7e59081b43
add resource link
2025-06-15 22:19:53 +01:00
ihrpr
4d03b243e3
add title
2025-06-15 20:42:25 +01:00
ihrpr
e7284d29c8
added _meta to more objects
2025-06-15 18:47:44 +01:00
ihrpr
9bf5c62979
Merge pull request #619 from modelcontextprotocol/ihrpr/602
...
Rename ResourceReference to ResourceTemplateReference
2025-06-15 17:30:24 +01:00
ihrpr
6b3d326cf7
Merge pull request #614 from modelcontextprotocol/ochafik/protocol-version
...
feat: implement MCP-Protocol-Version header requirement for HTTP transport
2025-06-13 18:31:03 +01:00
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
bhosmer-ant
b6f0273569
Merge pull request #621 from modelcontextprotocol/carlpeaslee/fix-resource-template-list-metadata
...
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
Olivier Chafik
18f8b40d00
Merge branch 'main' into ochafik/protocol-version
2025-06-11 18:53:04 +01: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
Carl Peaslee
6cf034595d
updates listed resources from resource templates to favor their own metadata
2025-05-30 11:32:10 -07: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
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
Daniel Leal
d38a5979ac
Add request init headers defined on the sse transport to the start
2025-05-22 19:11:23 +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
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
Basil Hosmer
a89f950222
post-rebase fixes
2025-05-21 17:12:42 -04:00
ihrpr
04cbbfbb0d
elicitation example
2025-05-21 16:59:37 -04:00