Commit graph

469 commits

Author SHA1 Message Date
Justin Spahr-Summers
8027ae1593
Revert "feat: support extending McpServer with authorization" 2025-04-07 10:47:37 +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
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
shijun
9482d936d4
Merge branch 'main' into main 2025-04-05 11:36:43 +08:00
wangshijun
473dc6cad5 chore: add test case for McpServer with auth 2025-04-05 11:33:40 +08:00
wangshijun
730cd670b0 chore: add prettierrc to enforce consistent coding style 2025-04-05 11:33:40 +08:00
wangshijun
a3590b9bee chore: add coverage npm script 2025-04-05 11:33:40 +08:00
Cliff Hall
854b55e0a1
Merge pull request #159 from allenzhou101/server-authorization-proxy
Add Proxy OAuth Server Provider
2025-04-04 14:48:59 -04:00
Allen Zhou
8e23c7c730
clean up proxy oauth provider doc 2025-04-02 20:29:42 -07:00
Allen Zhou
5edf379f80
Add documentation on ProxyOAuthServerProvider 2025-04-02 20:28:10 -07:00
Cliff Hall
1899d5cc52
Merge branch 'main' into server-authorization-proxy 2025-04-02 19:10:50 -04:00
Cliff Hall
1909bbcc67
Merge pull request #160 from Ozamatash/fix-reset-timeout-on-progress
Fix bug in reset timeout on progress
2025-04-02 19:09:07 -04:00
Cliff Hall
deb2737d0f
Merge branch 'main' into fix-reset-timeout-on-progress 2025-04-02 18:52:22 -04:00
Cliff Hall
ba07d807f3
Merge pull request #252 from nathanArseneau/add-audio-content
Add audio content
2025-04-02 12:33:34 -04:00
heyitsaamir
39481027ec Bump up to 5.0.0 2025-04-01 16:59:57 -07:00
Nathan Arseneau
9f5b4bf00d Add audio content 2025-04-01 19:01:22 -04:00
wangshijun
3571fc353f feat: support extending McpServer with subclass 2025-04-01 12:21:08 +08:00
Jerome
592c91fc86
Merge pull request #222 from modelcontextprotocol/praboud/redirect-uri-fix
Correctly pass redirect_uri to tokens call
2025-03-28 15:51:02 +00:00
Justin Spahr-Summers
784012946d
Bump version 1.8.0 2025-03-26 10:15:46 +00:00
Justin Spahr-Summers
a7922a8d57
Merge pull request #198 from zhibisora/add-cross-spawn
Add cross spawn and the test for it
2025-03-26 10:14:54 +00:00
Justin Spahr-Summers
c6635d71d6
Fix lints 2025-03-26 10:12:19 +00:00
Peter Raboud
2a2392be26
Correctly pass redirect_uri to tokens call 2025-03-25 14:20:34 -07:00
Justin Spahr-Summers
54aa316d3e
Merge pull request #197 from modelcontextprotocol/sse-server-transport
Improve transport in SSE server example
2025-03-25 11:11:03 +00:00
Allen Zhou
3573afda31 Update package-lock.json 2025-03-18 11:13:29 -07:00
Allen Zhou
514f5493b0
Merge branch 'main' into server-authorization-proxy 2025-03-17 15:35:51 -07:00
zhibisora
46ae2a17af Fix test for cross-spawn 2025-03-16 05:15:50 +08:00
zhibisora
d4bf73b06e Replace native spawn with cross-spawn for improved cross-platform compatibility 2025-03-16 05:00:36 +08:00
Samuel Colvin
3c0081f2ec
add improve transport in SSE server example 2025-03-15 13:22:15 +00:00
Justin Spahr-Summers
0fa2397174
Bump version 1.7.0 2025-03-11 10:54:21 +00:00
Justin Spahr-Summers
f4d113172a
Merge pull request #158 from jwvictor/add-sessionid-to-context
Add sessionID to RequestHandlerExtra type for tool invocations so multi-user services can distinguish users
2025-03-11 10:52:49 +00:00
Allen Zhou
b90192a020
Add skipLocalPkceValidation param and create providers folder 2025-02-28 13:59:23 -08:00
Jerome
66e1508162
Bumping version 1.6.1 2025-02-28 11:55:10 +00:00
Jerome
a22092bea2
Merge branch 'main' into add-sessionid-to-context 2025-02-28 11:50:37 +00:00
Allen Zhou
8d7b387545
Clean up pkce skip check for proxy providers 2025-02-27 13:35:40 -08:00
Allen Zhou
89c4ec3272 Add baseUrl param to override issuerUrl for fallback construction 2025-02-27 10:45:17 -08:00
Jerome
170e656dcb
Merge pull request #163 from modelcontextprotocol/ashwin/claudemd
Add CLAUDE.md with SDK development guide
2025-02-27 09:47:34 +00:00
Ashwin Bhat
ac72918951
Add CLAUDE.md with SDK development guide
🤖 Generated with [Claude Code](https://docs.anthropic.com/s/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-02-26 16:10:31 -08:00
Allen Zhou
d93814f4df
Merge branch 'main' into server-authorization-proxy 2025-02-26 14:00:48 -08:00
Allen Zhou
57f59c69a1 Make authorizationUrl and tokenUrl mandatory 2025-02-26 14:00:34 -08:00
Allen Zhou
96f3d81aa3 Adjust function types to be accessible to subclasses 2025-02-25 15:29:20 -08:00
Jason Victor
c396b4af1d added test for session id using in memory transport 2025-02-25 17:57:45 -05:00
Jason Victor
57f3b07bb9 docstring 2025-02-25 17:48:14 -05:00
Tuomas
d63324e34e Fix resetTimeoutOnProgress option not being checked, add test 2025-02-25 11:32:24 -06:00
Tuomas
92da5861f4 Fix resetTimeoutOnProgress option not being checked 2025-02-25 11:30:50 -06:00
Jerome
42b1738d54
Merge pull request #157 from modelcontextprotocol/jerome/fix/no-mcp-header-in-metadata-fetching
* Check token expiry in requireAuth middleware
* Gracefully handle cors issues in metadata fetching (experienced due to MCP-Protocol-Version header)
* Don't set client secret expiry for public clients
2025-02-25 09:54:32 +00:00
Jerome
c521710b86
Lint 2025-02-25 09:51:17 +00:00
Allen Zhou
aa5690b182 Zod parsing for registration response 2025-02-24 20:17:08 -08:00
Allen Zhou
c7ce1a29c5 improve proxy code verifier test naming 2025-02-24 17:43:16 -08:00
Allen Zhou
cb8135840c Change verifyToken to match parent interface name 2025-02-24 17:39:50 -08:00