Commit graph

2,704 commits

Author SHA1 Message Date
Jeremiah Lowin
fe31e5252a Treat unawaited coroutine warnings as errors in tests
Add pytest filterwarnings to catch unawaited coroutine warnings as
errors. Fix the underlying issue in _await_with_session_monitoring
where a coroutine was not closed before raising when session task
was already done.
2026-01-07 13:00:32 -05:00
Jeremiah Lowin
0adecf15df Fix event loop closed warning during stdio cleanup (#2792)
Add GC call and yield after stdio_client context exits to clean up
asyncio subprocess transport references while the loop is still running.
2026-01-07 11:29:10 -05:00
Jeremiah Lowin
befaad8a08
Configure ty to fail on warnings (#2804) 2026-01-07 11:17:49 -05:00
Jeremiah Lowin
4dca48e980
Turn off negative CLI flags by default (#2801) 2026-01-07 09:50:57 -05:00
Jeremiah Lowin
517a860f53
Fix client hanging on HTTP 4xx/5xx errors (#2803) 2026-01-07 09:50:41 -05:00
Jeremiah Lowin
10fb217f73
Return 401 for invalid_grant token errors per MCP spec (#2800) 2026-01-06 17:51:33 -05:00
Jeremiah Lowin
151b0ae46f
Use consistent refresh_ttl for JTI mapping store (#2799) 2026-01-06 17:46:39 -05:00
Jeremiah Lowin
945dac57e4
Add debug logging for OAuth token expiry diagnostics (#2797) 2026-01-06 17:18:39 -05:00
Jeremiah Lowin
5a95050762
Fix OAuth token storage TTL calculation (#2796) 2026-01-06 16:55:33 -05:00
Adam Azzam
38ec476f2e
Merge pull request #2786 from jlowin/conference
add link to py ai conf in banner
2025-12-30 20:04:13 -06:00
Adam Azzam
cffde77560 Update docs.json 2025-12-30 20:37:24 -05:00
Adam Azzam
7173e33b03 Update docs.json 2025-12-30 20:18:22 -05:00
Jeremiah Lowin
ad50f73bdc
Lazy import DiskStore to avoid sqlite3 dependency on import (#2784) 2025-12-30 19:20:21 -05:00
Taisei Mima
df3d4e19ec
Fix base_url fallback when url is not set (#2776) 2025-12-29 18:43:51 -05:00
Bryan Thompson
30a239637b
Add MCP tool annotations to smart_home example (#2777)
Co-authored-by: triepod-ai <noreply@github.com>
2025-12-29 18:40:51 -05:00
Shea Parkes
6ce967643e
Enhance documentation on tool transformation (#2781) 2025-12-29 14:30:34 -05:00
Jeremiah Lowin
9c83482f4c
Make FASTMCP_SHOW_SERVER_BANNER apply to all server startup methods (#2771) 2025-12-29 08:29:15 -05:00
Jeremiah Lowin
3d485f0c51
Fix titled enum elicitation schema to comply with MCP spec (#2773) 2025-12-29 08:28:36 -05:00
Danglewood
ef84f84d1e
[BugFix] Fix openapi_version Check So 3.1 Is Included (#2768) 2025-12-27 23:07:19 -05:00
Jeremiah Lowin
c5a61a7e19
Update CLI banner with FastMCP 3.0 notice (#2766) 2025-12-26 22:12:58 -05:00
Jeremiah Lowin
7cb00c9686
Fix OAuth Proxy resource parameter validation (#2764) 2025-12-26 21:23:31 -05:00
Jeremiah Lowin
2e8adafdf5
Add regression tests for caching with mounted server prefixes (#2762) 2025-12-26 16:33:03 -05:00
marvin-context-protocol[bot]
74eb8a0645
chore: Update SDK documentation (#2717)
Co-authored-by: marvin-context-protocol[bot] <225465937+marvin-context-protocol[bot]@users.noreply.github.com>
2025-12-26 16:15:08 -05:00
Eloi Zalczer
fb11282e9b
Feature/supabase custom auth route (#2632)
Co-authored-by: Eloi Zalczer <eloi@entropia.io>
Co-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>
2025-12-26 16:14:56 -05:00
Jeremiah Lowin
a3123176b3
Deprecate tool_serializer parameter (#2753) 2025-12-26 16:03:04 -05:00
Jeremiah Lowin
e454294ea8
Add tests for OAuth generator cleanup and use aclosing (#2759) 2025-12-26 16:01:27 -05:00
Jeremiah Lowin
5e0e6bbc49
fix: set pytest-asyncio default fixture loop scope to function (#2758) 2025-12-26 15:56:30 -05:00
Jeremiah Lowin
4519ef734d
Fix rate limit detection during teardown phase (#2757) 2025-12-26 15:50:11 -05:00
Luke
650b103dbf
fix: Client OAuth async_auth_flow() method causing MCP-SDK self.context.lock error. (#2644)
Co-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>
2025-12-26 15:41:41 -05:00
Jeremiah Lowin
568300e8b5
Remove automatic environment variable loading from auth providers (#2752) 2025-12-26 15:37:59 -05:00
Jeremiah Lowin
b796f6e14a
Parallelize provider access when executing components (#2744) 2025-12-26 15:37:27 -05:00
Jeremiah Lowin
7d0b49bfb4
Remove unused include_tags/exclude_tags settings (#2756) 2025-12-26 15:04:41 -05:00
Jeremiah Lowin
7b0de84ba7
Add task_meta to prompts and centralize fn_key enrichment (#2751) 2025-12-26 15:04:25 -05:00
Jeremiah Lowin
fc19f1f8de
Add task_meta parameter to read_resource() for explicit task control (#2750) 2025-12-26 12:59:01 -05:00
Jeremiah Lowin
bf1c222e20
Add explicit task_meta parameter to FastMCP.call_tool() (#2749) 2025-12-26 11:38:35 -05:00
Jeremiah Lowin
5f1aa274cc
Convert provider tests to use direct server calls (#2748) 2025-12-26 08:42:47 -05:00
Jeremiah Lowin
a39ab0734e
Update classes to inherit from FastMCPBaseModel instead of BaseModel (#2739) 2025-12-26 08:33:23 -05:00
Jeremiah Lowin
5a6f71503b
Align prompt handler with resource pattern (#2740) 2025-12-25 22:47:50 -05:00
Jeremiah Lowin
70fac26f9f
Fix prompt return type documentation (#2741) 2025-12-25 22:34:11 -05:00
Jeremiah Lowin
1ed1032ca5
Fix Proxy provider to return all resource contents (#2742) 2025-12-25 22:33:45 -05:00
Jeremiah Lowin
61ebc64730
Introduce Message and PromptResult as canonical prompt types (#2738) 2025-12-25 22:16:26 -05:00
Jeremiah Lowin
7da06025e2
Bump ty to 0.0.7+ (#2737) 2025-12-25 21:22:24 -05:00
Jeremiah Lowin
648684d2bb
Introduce ResourceResult as canonical resource return type (#2734) 2025-12-25 21:21:55 -05:00
Jeremiah Lowin
04cf7bc458
Make ToolResult a BaseModel for serialization support (#2736) 2025-12-25 21:06:37 -05:00
Jeremiah Lowin
4de06d7f73
Fix documentation to use 'meta' instead of '_meta' for MCP spec field (#2735) 2025-12-25 21:05:11 -05:00
Jeremiah Lowin
9f5a177126
Consistent decorator-based MCP handler registration (#2732) 2025-12-25 17:48:54 -05:00
Jeremiah Lowin
9f72096c67
Parallelize list_* calls in Provider.get_tasks() (#2731) 2025-12-25 12:16:44 -05:00
Jeremiah Lowin
9d8a608c37
Add documentation check to required PR workflow (#2730) 2025-12-25 10:52:37 -05:00
Jeremiah Lowin
e7128b0295
Fix Provider.get_tasks() to include custom component subclasses (#2729) 2025-12-25 10:49:48 -05:00
Jeremiah Lowin
b05801d66f
Consolidate execution method chains into single public API (#2728) 2025-12-25 10:38:12 -05:00