Commit graph

1,285 commits

Author SHA1 Message Date
Olivier Chafik
bf72f87788
cleanups 2025-06-18 11:23:09 +01:00
Achintha Isuru
b92243bbd5
Merge branch 'main' into main 2025-06-17 14:25:48 -04:00
Olivier Chafik
c2150f0cb0
Update README.md 2025-06-17 19:18:27 +01:00
David Dworken
c8f633a691
Merge branch 'main' into main 2025-06-17 10:09:11 -07:00
David Dworken
c5922f8765
Fix node 18 incompatibility caused by race condition with closing server by using a newly allocated port for each test 2025-06-17 10:07:59 -07:00
bhosmer-ant
9b99ffb18d
Merge pull request #647 from modelcontextprotocol/ihrpr/update-version-number
change version
2025-06-17 12:32:15 -04:00
ihrpr
66465abdd9
change version 2025-06-17 17:29:41 +01:00
Olivier Chafik
617faccf8e
Add test for default protocol version negotiation in bearerAuth middleware
- Tests that when mcp-protocol-version header is missing, the middleware
  uses DEFAULT_NEGOTIATED_PROTOCOL_VERSION when calling verifyAccessToken
- Ensures proper fallback behavior for protocol version negotiation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-17 17:08:21 +01:00
Olivier Chafik
40f61d88a0
show how to enable strict resource checking in mcp server 2025-06-17 17:05:34 +01:00
bhosmer-ant
824c1f5d1d
Merge pull request #643 from modelcontextprotocol/ihrpr/june-protocol-version
update latest protocol version
2025-06-17 08:55:55 -04:00
Inna Harper
3e95a8b6a9
Merge pull request #645 from modelcontextprotocol/ihrpr/remove-custom-title-util
remove hasCustomTitle
2025-06-17 12:42:42 +01:00
ihrpr
741a201a3d
remove hasCustomTitle 2025-06-17 12:35:29 +01:00
Olivier Chafik
515abb492f
fix lints 2025-06-17 11:53:26 +01:00
Jerome
fd3165c723
Merge branch 'main' into main 2025-06-17 11:38:49 +01:00
ihrpr
4f708a777f
update latest protocol version 2025-06-17 11:38:00 +01:00
Olivier Chafik
badb5dc990
fix tests 2025-06-17 11:23:41 +01:00
Olivier Chafik
b16a415623
cleanups 2025-06-17 11:15:38 +01:00
Olivier Chafik
ec0c50425e
rm noise 2025-06-17 10:59:36 +01:00
Jerome
8b9aa20b39
Jerome/fix/dev oauth server required scopes change (#629)
* updating lock to latest version

* Added .git-blame-ignore-revs (fixes gitlens)

* Not requiring mcp:tools
2025-06-17 10:18:58 +01:00
Olivier Chafik
6e4fc52c7e
Update demoInMemoryOAuthProvider.test.ts 2025-06-17 00:42:44 +01:00
Olivier Chafik
551a43942e
use URL for resource throughout 2025-06-17 00:33:27 +01:00
Olivier Chafik
224a2e242d
update resource to be a url 2025-06-17 00:18:33 +01:00
Olivier Chafik
36f338ae23
Update demoInMemoryOAuthProvider.ts 2025-06-16 23:39:51 +01:00
Olivier Chafik
02ce81b90c
simplify diff 2025-06-16 23:10:27 +01:00
Olivier Chafik
6656d23d84
Simplify demo in-memory oauth provider
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 22:56:55 +01:00
David Dworken
188c1d3680
Merge branch 'main' into main 2025-06-16 14:08:53 -07:00
dhodun
17897b8ed7
Merge branch 'main' into dhodun/add-streamable-http-comments 2025-06-16 16:40:00 -04:00
Olivier Chafik
e542ec1989
docs: update PR description to clarify server-side validation is in demo provider
- Clarify that core server handlers only pass through resource parameter
- Emphasize that server URL validation is demonstrated in the demo provider
- Update issue references to show #592 is fixed, #635 is related
- Update examples to show DemoOAuthProviderConfig usage

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 21:38:00 +01:00
cliffhall
5a8af45c09 In src/examples/server/simpleStreamableHttp.ts
- In  mcpPostHandler,
    - Get `mcp-session-id` header early so that it can be reported in every incoming request.
    - Helpful for troubleshooting Inspector's ability to retain the session id for the Proxy <-> Server leg
2025-06-16 16:34:46 -04:00
Olivier Chafik
ccccb4b7cc
simplify PR / only keep verification in demo inmemory oauth provider
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 21:34:06 +01:00
Olivier Chafik
cba6a6ea58
Update authorize.config.test.ts
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 20:41:56 +01:00
Olivier Chafik
1f4e42c09e
cleanup auth-utils and remove example files
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 20:05:02 +01:00
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
Olivier Chafik
7b5bfcee52
implementation of RFC 8707 Resource Indicators (Fixes #592, Fixes #635) 2025-06-16 19:29:04 +01:00
Inna Harper
bbc128c2f5
Merge pull request #520 from modelcontextprotocol/ihrpr/elicitation
Introduce Elicitation capability
2025-06-16 19:17:23 +01:00
ihrpr
4af2d4fe9f
separate code block in README 2025-06-16 19:14:52 +01:00
ihrpr
54c30109fb
Merge branch 'main' into ihrpr/elicitation 2025-06-16 19:11:57 +01:00
Konstantin Konstantinov
71abccb874
Merge branch 'main' into request-propagation-in-tools 2025-06-16 18:51:44 +03:00
ihrpr
61ef3c998b
Merge pull request #636 from modelcontextprotocol/fweinberger/addtl-meta
Add missing _meta fields to match spec requirements
2025-06-16 16:42:49 +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
bhosmer-ant
e89137f21a
Merge pull request #634 from modelcontextprotocol/ihrpr/context-for-completable
Include context into completions
2025-06-16 11:11:58 -04:00
Achintha Isuru
5b5e192be0
Merge branch 'main' into main 2025-06-16 11:00:25 -04:00
ihrpr
5b875aa542
clean up 2025-06-16 15:19:21 +01:00
ihrpr
4549250a43
readme 2025-06-16 15:04:33 +01:00
ihrpr
c0c78ad412
add how to use Completions to the readme 2025-06-16 15:04:23 +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
f822c1255e
Merge pull request #632 from modelcontextprotocol/ihrpr/resource-link
Add support for resource link
2025-06-16 12:12:20 +01:00