diff --git a/fastmcp_slim/fastmcp/server/proxy.py b/fastmcp_slim/fastmcp/server/proxy.py deleted file mode 100644 index fccfd5041..000000000 --- a/fastmcp_slim/fastmcp/server/proxy.py +++ /dev/null @@ -1,43 +0,0 @@ -"""Backwards compatibility - import from fastmcp.server.providers.proxy instead. - -This module re-exports all proxy-related classes from their new location -at fastmcp.server.providers.proxy. Direct imports from this module are -deprecated and will be removed in a future version. -""" - -from __future__ import annotations - -import warnings - -from fastmcp.exceptions import FastMCPDeprecationWarning - -warnings.warn( - "fastmcp.server.proxy is deprecated. Use fastmcp.server.providers.proxy instead.", - FastMCPDeprecationWarning, - stacklevel=2, -) - -# Re-export everything from the new location -from fastmcp.server.providers.proxy import ( # noqa: E402 - ClientFactoryT, - FastMCPProxy, - ProxyClient, - ProxyPrompt, - ProxyProvider, - ProxyResource, - ProxyTemplate, - ProxyTool, - StatefulProxyClient, -) - -__all__ = [ - "ClientFactoryT", - "FastMCPProxy", - "ProxyClient", - "ProxyPrompt", - "ProxyProvider", - "ProxyResource", - "ProxyTemplate", - "ProxyTool", - "StatefulProxyClient", -]