Files
Max Isbey ac6a957de0 Restore mcp.server.fastmcp as a deprecated import alias for MCPServer
`from mcp.server.fastmcp import FastMCP` (and the Context, Image,
Audio, Icon names v1 exported alongside it) resolves again, to the v2
objects, and emits MCPDeprecationWarning at import. Only the package
init is shimmed; the fastmcp submodule tree still raises
ModuleNotFoundError. The alias is removed in v3.

MCPServer's constructor now takes everything after `name` as
keyword-only, matching the lowlevel Server. A v1 call that passed
`instructions` positionally previously landed the text in the new
`title` parameter silently; it now raises TypeError, which matters
more once the old import path stops forcing users through the guide.
2026-07-27 20:03:02 +00:00
..
2024-09-24 22:04:19 +01:00