Commit graph

740 commits

Author SHA1 Message Date
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
Jeremiah Lowin
063c63f590 Fix syntax issue prior to 3.12 2025-06-28 15:07:41 -04:00
Jeremiah Lowin
a34fb9e3bb Support constrained choice 2025-06-28 14:59:31 -04:00
Jeremiah Lowin
3805ac9b44 Provide a response type to client 2025-06-28 09:47:14 -04:00
Jeremiah Lowin
45d9814374 Handler must be async; add to sessionkwargs 2025-06-28 08:32:48 -04:00
Jeremiah Lowin
11d2bacbb4 Merge branch 'main' into elicitation 2025-06-28 08:26:55 -04:00
Jeremiah Lowin
79c086febe
Merge branch 'main' into auth 2025-06-28 08:16:16 -04:00
Jeremiah Lowin
e22267142e
Merge pull request #901 from jlowin/output-schema
MCP 6/18/25: Add output schema to tools
2025-06-28 08:16:06 -04:00
Jeremiah Lowin
c412a63d4e Update docs 2025-06-27 22:38:55 -04:00
Jeremiah Lowin
5e38048b44 Fix typing issues in json_schema_type 2025-06-27 21:45:28 -04:00
Jeremiah Lowin
db24c85359 Update all tests 2025-06-27 21:41:37 -04:00
Jeremiah Lowin
037b1f35b1
Merge pull request #977 from cortexapps/add-extensions
Add OpenAPI extensions support to HTTPRoute
2025-06-27 20:45:01 -04:00