Commit graph

751 commits

Author SHA1 Message Date
Jeremiah Lowin
3c6cfe7e7e Use isawaitable instead of iscoroutine 2025-07-06 12:08:05 -04:00
Jeremiah Lowin
a975db6e6c Merge main into concurrency-fix-1054
Resolved conflicts in client.py by keeping our improved RuntimeError
checks instead of the assert statements from main.
2025-07-06 11:14:53 -04:00
Jeremiah Lowin
5d5126babd Add documentation 2025-07-06 11:11:39 -04:00
hopeful0
d16e1179dd
Refactor Client context management to avoid concurrency issue (#1054) 2025-07-06 11:08:43 -04:00
Jeremiah Lowin
5f6dfe2d5c Replace asserts with runtime checks 2025-07-06 10:57:17 -04:00
Jeremiah Lowin
f9a698dcf9
Add MCP json output from CLI (#1056) 2025-07-06 10:23:50 -04:00
hopeful
5d9636cb54 Refactor Client context management to avoid concurrency issue 2025-07-06 18:47:12 +08:00
Jeremiah Lowin
84f0229acc
Add Claude Code install integration (#1053)
* Add Cursor support

* Use url-safe encoding

* Add claude code integration

* Delete test_install_dependencies.py

* Fix windows tests
2025-07-05 21:23:47 -04:00
Jeremiah Lowin
e50f4ae965
Add Cursor support via CLI integration (#1052)
* Add Cursor support

* Use url-safe encoding
2025-07-05 20:30:47 -04:00
Jeremiah Lowin
ef742d9400
Ensure multi-client configurations use new ProxyClient (#1045)
* Validate elicitation responses are dicts

* Ensure advanced MCP features are forwarded through proxy

* Use proxy client in tests
2025-07-05 11:57:03 -04:00
Jeremiah Lowin
228425e309
Avoid propagating logs (#1042)
* Avoid propagating logs

* Set up caplog for non-root loggers

* Update tests
2025-07-04 12:22:11 -04:00
hopeful0
f7dfd5be9c
Proxy support advanced MCP features (#1022)
* Proxy support advanced MCP features

* Optimize ProxyClient testing

* Add documentation for ProxyClient
2025-07-04 12:21:57 -04:00
Jeremiah Lowin
32890c0b5f
Update banner and use console.log (#1041)
* Update banner and use console.log

* Update cli.py
2025-07-04 11:52:37 -04:00
Jeremiah Lowin
e182231fc8
Add path expansion to image/audio/file (#1038)
* Add path expansion to image/audio/file

* Make path tests platform agnostic
2025-07-04 09:51:30 -04:00
Jeremiah Lowin
54276a589d
Merge pull request #1033 from jlowin/claude-wt-20250703-195810
Support 'scp' claim for OAuth scopes in BearerAuthProvider
2025-07-03 20:37:29 -04:00
Jeremiah Lowin
d8de72ee13 Update bearer.py 2025-07-03 20:35:15 -04:00
Jeremiah Lowin
63f3940c6f Support 'scp' claim for OAuth scopes in BearerAuthProvider
Some Identity Providers use 'scp' claim instead of the standard 'scope' claim for OAuth scopes. This change updates the scope extraction logic to support both claims, with 'scope' taking precedence when both are present.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-03 20:18:54 -04:00
Jeremiah Lowin
d4bbfc66d6 Lint updates 2025-07-03 20:05:13 -04:00
Jeremiah Lowin
c62269ac1b
Merge branch 'main' into mcpconfig-timeout 2025-07-03 20:04:42 -04:00
Jeremiah Lowin
cfd4ab7969
Merge pull request #1018 from jlowin/stateless-arg
Expose stateless_http kwarg for mcp.run()
2025-07-03 19:57:52 -04:00
Jeremiah Lowin
e7fe4ff1a3 Remove second settings object; deprecate 2025-07-03 19:55:42 -04:00
Chris Egersdoerfer
d98cc3ca47
Merge branch 'main' into mcpconfig-timeout 2025-07-03 18:31:35 -04:00
Jeremiah Lowin
af88da7aa9
Merge pull request #1030 from jlowin/banner
Reduce banner padding
2025-07-03 17:29:00 -04:00
Jeremiah Lowin
e85a5fc802 Reduce banner padding 2025-07-03 17:23:36 -04:00
Chris Egersdoerfer
3a304b46af accept timeouts in MCPConfig 2025-07-03 16:09:50 -05:00
Jeremiah Lowin
02b451149b Reintroduce splash screen 2025-07-03 10:54:17 -04:00
Jeremiah Lowin
756e5c31e3 Reapply "Add CLI banner"
This reverts commit 41359ec99d.
2025-07-02 18:28:29 -04:00
Jeremiah Lowin
5d3d97b220 Expose stateless_http kwarg 2025-07-02 18:27:37 -04:00
Jeremiah Lowin
41359ec99d
Revert "Add CLI banner" 2025-07-02 00:53:20 -04:00
Jeremiah Lowin
39f7b30a8b
Merge pull request #1008 from jlowin/claude-wt-20250701-104804
Fix OpenAPI array parameter explode handling
2025-07-01 19:17:06 -04:00
Jeremiah Lowin
ff0c513611 Refactor array parameter formatting to reduce code duplication
Extract common array formatting logic into format_array_parameter utility function.
Addresses automated review feedback about code duplication between path and query parameter handling.
2025-07-01 19:15:24 -04:00
Jeremiah Lowin
f14be9ab77 Fix OpenAPI array parameter explode handling 2025-07-01 19:06:35 -04:00
Jeremiah Lowin
3a528d86a3 Add CLI banner 2025-07-01 10:39:35 -04:00
Jeremiah Lowin
79822ac731
Merge pull request #997 from sstene1/auth-alg
Add Support for Configurable Algorithms
2025-06-30 18:44:03 -04:00
Jeremiah Lowin
703002da91
Merge pull request #999 from jlowin/middleware-docs
Update middleware imports and documentation
2025-06-30 18:37:36 -04:00
Jeremiah Lowin
2690878412 Update middleware imports and documentation 2025-06-30 18:35:16 -04:00
Jeremiah Lowin
e17397af91 Remove automatic trailing slash modification from server paths
Closes #991

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-30 18:32:53 -04:00
Shane Stene
f4122e6e17 fix ruff formatting 2025-06-30 17:20:00 -05:00
sstene1
cce1889fd9
Update bearer.py
Remove TODO
2025-06-30 17:13:21 -05:00
Shane Stene
1c3ee67828 Merge branch 'auth-alg' of https://github.com/sstene1/fastmcp into auth-alg 2025-06-30 16:47:24 -05:00
Shane Stene
4a5a2b6d17 config algorithm support 2025-06-30 16:33:25 -05:00
Jeremiah Lowin
7e0a237945 Fix schema wrapping for non-object union types in output schemas 2025-06-30 14:12:40 -04:00
Jeremiah Lowin
eaf27c710d Support "no response" elicitation requests 2025-06-30 13:03:57 -04:00
CfirTsabari
8cc5711756 Fix type hints for FunctionResource:fn 2025-06-29 15:38:51 +03:00
Jeremiah Lowin
753afb0d30 Pass httpxerrors through 2025-06-28 21:51:32 -04:00
Jeremiah Lowin
ed331e717b Improve early error handling for stdio transport 2025-06-28 21:37:48 -04:00
Jeremiah Lowin
ecfbf5de00 Support implicit Elicitation acceptance 2025-06-28 20:15:23 -04:00
Jeremiah Lowin
e0b6c321d2 Update title precedence 2025-06-28 20:01:21 -04:00
Jeremiah Lowin
24deabf568 Add title field support to FastMCP components
- Add optional title field to FastMCPComponent base class
- Support title parameter in all component decorators (@tool, @resource, @prompt)
- Include title in MCP protocol serialization when provided
- Add get_display_name() method to prefer title over name for display
- Add comprehensive tests for title functionality

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-28 18:11:29 -04:00
Jeremiah Lowin
9b9c0fce2c Merge branch 'main' into elicitation 2025-06-28 15:08:16 -04:00