mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-21 13:04:18 +02:00
* feat: auto-sync MCPMixin decorators with from_function signatures Replace hard-coded parameter lists in mcp_tool/mcp_resource/mcp_prompt with **kwargs validated at decoration time against inspect.signature of the underlying from_function. Registration methods now splat **kwargs through directly, so any new from_function parameter is supported automatically without touching the contrib module. Also fixes enabled=False being silently ignored during registration. 🤖 Generated with Claude Code * fix: make enabled keyword-only in mcp_tool and mcp_prompt Prevents silent positional arg remapping — callers who previously passed description/title as the second positional arg would have silently bound to enabled instead. 🤖 Generated with Claude Code |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_bulk_tool_caller.py | ||
| test_component_manager.py | ||
| test_mcp_mixin.py | ||