fastmcp/docs/python-sdk
Jeremiah Lowin ee5f465a82
2.14 deprecation removals (#2329)
* Initialize 2.14 deprecation removal branch

* Remove deprecated FASTMCP_SERVER_ environment variable prefix (#2330)

* Remove deprecated Context.get_http_request method (#2332)

* Remove fastmcp.Image top-level import (deprecated 2.8.1) (#2334)

* Remove test warnings (#2331)

* Create new branch and fix issue

* Remove deprecated client parameter from FastMCPProxy (#2333)

* Remove deprecated run_streamable_http_async method (#2338)

* Remove deprecated sse_app method (#2337)

* Remove deprecated run_sse_async method (#2335)

* Remove deprecated run_sse_async method

* Update CLI and tests to use run_http_async(transport="sse")

- Change CLI to call run_http_async with transport="sse" instead of run_sse_async
- Update test to mock run_http_async with create=True for v1 servers

* Revert CLI changes - v1 servers do have run_sse_async

- Keep CLI calling run_sse_async() for v1 compatibility
- Update test to mock run_sse_async (which exists on v1)

* Remove unnecessary type ignore for run_sse_async

Method exists on v1 FastMCP class, no type error

* Remove unused imports after test deletion

* Remove deprecated streamable_http_app method (#2336)

* Remove deprecated dependencies parameter from FastMCP constructor (#2340)

* Remove output_schema=False support (deprecated 2.11.4) (#2339)

* Remove deprecated client parameter from FastMCPProxy (#2333)

* Delete deprecated test_output_schema_false.py

Tests functionality that has been removed

* Remove deprecated BearerAuthProvider module (#2341)

* Remove resource_prefix_format="protocol" support (deprecated 2.4.0) (#2342)

* Remove resource_prefix_format="protocol" support (fixes #2195)

Removes deprecated protocol format (prefix+resource://path) and keeps only
path format (resource://prefix/path). Since only one format remains:

- Removed resource_prefix_format from settings, FastMCP.__init__, and helpers
- Simplified add_resource_prefix, remove_resource_prefix, has_resource_prefix
- Removed MountedServer.resource_prefix_format field
- Deleted tests for protocol format

All resource prefixes now use path format exclusively.

* Clean up resource_prefix_format references

- Remove from test files
- Update documentation to remove protocol format section
- Move custom HTTP routes note to mounting section
- Remove resource_prefix_format from settings docs

* Use inline version note instead of badge for prefix format

* Remove obsolete test functions and update docs

- Delete test functions that no longer assert anything
- Remove proxy.mdx reference to deleted prefix format section

* Format error messages per ruff

* Remove from_client classmethod (deprecated 2.8.0) (#2343)

* Remove deprecated from_client classmethod (fixes #2192)

* Remove unused Client import

* Remove add_resource_fn method (deprecated 2.7.0) (#2345)

* Update SDK

* Add missing imports for exclude_args deprecation warning
2025-12-01 14:11:00 -05:00
..
fastmcp-cli-__init__.mdx update path and mdxify 2025-06-20 12:59:11 -05:00
fastmcp-cli-cli.mdx 2.14 deprecation removals (#2329) 2025-12-01 14:11:00 -05:00
fastmcp-cli-install-__init__.mdx update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
fastmcp-cli-install-claude_code.mdx chore: Update SDK documentation (#1767) 2025-09-07 13:48:25 -04:00
fastmcp-cli-install-claude_desktop.mdx chore: Update SDK documentation (#1767) 2025-09-07 13:48:25 -04:00
fastmcp-cli-install-cursor.mdx chore: Update SDK documentation (#2365) 2025-11-22 12:30:09 -05:00
fastmcp-cli-install-gemini_cli.mdx chore: Update SDK documentation (#1783) 2025-09-26 18:28:43 -04:00
fastmcp-cli-install-mcp_json.mdx chore: Update SDK documentation (#1767) 2025-09-07 13:48:25 -04:00
fastmcp-cli-install-shared.mdx Enhance inspect command with structured output and format options (#1481) 2025-08-26 10:39:28 -04:00
fastmcp-cli-run.mdx chore: Update SDK documentation (#1950) 2025-10-16 21:18:01 -04:00
fastmcp-client-__init__.mdx update path and mdxify 2025-06-20 12:59:11 -05:00
fastmcp-client-auth-__init__.mdx update path and mdxify 2025-06-20 12:59:11 -05:00
fastmcp-client-auth-bearer.mdx update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
fastmcp-client-auth-oauth.mdx chore: Update SDK documentation (#2365) 2025-11-22 12:30:09 -05:00
fastmcp-client-client.mdx chore: Update SDK documentation (#2365) 2025-11-22 12:30:09 -05:00
fastmcp-client-elicitation.mdx refactor: replace auth provider registry with ImportString (#1710) 2025-09-02 08:31:52 -04:00
fastmcp-client-logging.mdx chore: Update SDK documentation (#1950) 2025-10-16 21:18:01 -04:00
fastmcp-client-messages.mdx update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
fastmcp-client-oauth_callback.mdx chore: Update SDK documentation (#2171) 2025-10-21 11:32:32 -04:00
fastmcp-client-progress.mdx update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
fastmcp-client-roots.mdx update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
fastmcp-client-sampling.mdx chore: Update SDK documentation (#1616) 2025-08-24 20:49:58 -04:00
fastmcp-client-transports.mdx chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
fastmcp-exceptions.mdx update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
fastmcp-mcp_config.mdx chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
fastmcp-prompts-__init__.mdx update path and mdxify 2025-06-20 12:59:11 -05:00
fastmcp-prompts-prompt.mdx chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
fastmcp-prompts-prompt_manager.mdx chore: Update SDK documentation (#1950) 2025-10-16 21:18:01 -04:00
fastmcp-resources-__init__.mdx update path and mdxify 2025-06-20 12:59:11 -05:00
fastmcp-resources-resource.mdx chore: Update SDK documentation (#2129) 2025-10-18 12:15:23 -04:00
fastmcp-resources-resource_manager.mdx chore: Update SDK documentation (#1950) 2025-10-16 21:18:01 -04:00
fastmcp-resources-template.mdx chore: Update SDK documentation (#2129) 2025-10-18 12:15:23 -04:00
fastmcp-resources-types.mdx chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
fastmcp-server-__init__.mdx update path and mdxify 2025-06-20 12:59:11 -05:00
fastmcp-server-auth-__init__.mdx update path and mdxify 2025-06-20 12:59:11 -05:00
fastmcp-server-auth-auth.mdx chore: Update SDK documentation (#2365) 2025-11-22 12:30:09 -05:00
fastmcp-server-auth-jwt_issuer.mdx chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
fastmcp-server-auth-middleware.mdx chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
fastmcp-server-auth-oauth_proxy.mdx chore: Update SDK documentation (#2494) 2025-12-01 13:51:12 -05:00
fastmcp-server-auth-oidc_proxy.mdx chore: Update SDK documentation (#2494) 2025-12-01 13:51:12 -05:00
fastmcp-server-auth-providers-__init__.mdx update path and mdxify 2025-06-20 12:59:11 -05:00
fastmcp-server-auth-providers-auth0.mdx chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
fastmcp-server-auth-providers-aws.mdx chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
fastmcp-server-auth-providers-azure.mdx chore: Update SDK documentation (#2494) 2025-12-01 13:51:12 -05:00
fastmcp-server-auth-providers-debug.mdx chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
fastmcp-server-auth-providers-descope.mdx chore: Update SDK documentation (#2365) 2025-11-22 12:30:09 -05:00
fastmcp-server-auth-providers-discord.mdx chore: Update SDK documentation (#2494) 2025-12-01 13:51:12 -05:00
fastmcp-server-auth-providers-github.mdx chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
fastmcp-server-auth-providers-google.mdx chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
fastmcp-server-auth-providers-in_memory.mdx chore: Update SDK documentation (#2365) 2025-11-22 12:30:09 -05:00
fastmcp-server-auth-providers-introspection.mdx chore: Update SDK documentation (#1950) 2025-10-16 21:18:01 -04:00
fastmcp-server-auth-providers-jwt.mdx chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
fastmcp-server-auth-providers-oci.mdx chore: Update SDK documentation (#2365) 2025-11-22 12:30:09 -05:00
fastmcp-server-auth-providers-scalekit.mdx chore: Update SDK documentation (#2365) 2025-11-22 12:30:09 -05:00
fastmcp-server-auth-providers-supabase.mdx chore: Update SDK documentation (#2365) 2025-11-22 12:30:09 -05:00
fastmcp-server-auth-providers-workos.mdx chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
fastmcp-server-auth-redirect_validation.mdx Internal refactor: fastmcp config to mcp server config (#1672) 2025-08-29 21:37:39 -04:00
fastmcp-server-context.mdx 2.14 deprecation removals (#2329) 2025-12-01 14:11:00 -05:00
fastmcp-server-dependencies.mdx chore: Update SDK documentation (#2494) 2025-12-01 13:51:12 -05:00
fastmcp-server-elicitation.mdx refactor: replace auth provider registry with ImportString (#1710) 2025-09-02 08:31:52 -04:00
fastmcp-server-http.mdx chore: Update SDK documentation (#2157) 2025-10-20 21:13:47 -04:00
fastmcp-server-low_level.mdx chore: Update SDK documentation (#1950) 2025-10-16 21:18:01 -04:00
fastmcp-server-middleware-__init__.mdx run api ref gen 2025-06-24 13:02:03 -05:00
fastmcp-server-middleware-caching.mdx chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
fastmcp-server-middleware-error_handling.mdx chore: Update SDK documentation (#2141) 2025-10-19 20:33:47 -04:00
fastmcp-server-middleware-logging.mdx chore: Update SDK documentation (#1950) 2025-10-16 21:18:01 -04:00
fastmcp-server-middleware-middleware.mdx chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
fastmcp-server-middleware-rate_limiting.mdx update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
fastmcp-server-middleware-timing.mdx update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
fastmcp-server-middleware-tool_injection.mdx chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
fastmcp-server-openapi.mdx chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
fastmcp-server-proxy.mdx 2.14 deprecation removals (#2329) 2025-12-01 14:11:00 -05:00
fastmcp-server-server.mdx 2.14 deprecation removals (#2329) 2025-12-01 14:11:00 -05:00
fastmcp-settings.mdx 2.14 deprecation removals (#2329) 2025-12-01 14:11:00 -05:00
fastmcp-tools-__init__.mdx update path and mdxify 2025-06-20 12:59:11 -05:00
fastmcp-tools-tool.mdx 2.14 deprecation removals (#2329) 2025-12-01 14:11:00 -05:00
fastmcp-tools-tool_manager.mdx chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
fastmcp-tools-tool_transform.mdx 2.14 deprecation removals (#2329) 2025-12-01 14:11:00 -05:00
fastmcp-utilities-__init__.mdx update path and mdxify 2025-06-20 12:59:11 -05:00
fastmcp-utilities-auth.mdx chore: Update SDK documentation (#1617) 2025-08-26 10:51:31 -04:00
fastmcp-utilities-cli.mdx chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
fastmcp-utilities-components.mdx chore: Update SDK documentation (#2129) 2025-10-18 12:15:23 -04:00
fastmcp-utilities-exceptions.mdx update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
fastmcp-utilities-http.mdx update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
fastmcp-utilities-inspect.mdx chore: Update SDK documentation (#2129) 2025-10-18 12:15:23 -04:00
fastmcp-utilities-json_schema.mdx chore: Update SDK documentation (#1783) 2025-09-26 18:28:43 -04:00
fastmcp-utilities-json_schema_type.mdx update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
fastmcp-utilities-logging.mdx chore: Update SDK documentation (#2365) 2025-11-22 12:30:09 -05:00
fastmcp-utilities-mcp_config.mdx chore: Update SDK documentation (#1616) 2025-08-24 20:49:58 -04:00
fastmcp-utilities-mcp_server_config-__init__.mdx Internal refactor: fastmcp config to mcp server config (#1672) 2025-08-29 21:37:39 -04:00
fastmcp-utilities-mcp_server_config-v1-__init__.mdx Internal refactor: fastmcp config to mcp server config (#1672) 2025-08-29 21:37:39 -04:00
fastmcp-utilities-mcp_server_config-v1-environments-__init__.mdx chore: Update SDK documentation (#1675) 2025-08-29 22:35:28 -04:00
fastmcp-utilities-mcp_server_config-v1-environments-base.mdx chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
fastmcp-utilities-mcp_server_config-v1-environments-uv.mdx chore: Update SDK documentation (#1767) 2025-09-07 13:48:25 -04:00
fastmcp-utilities-mcp_server_config-v1-mcp_server_config.mdx chore: Update SDK documentation (#1783) 2025-09-26 18:28:43 -04:00
fastmcp-utilities-mcp_server_config-v1-sources-__init__.mdx Internal refactor: fastmcp config to mcp server config (#1672) 2025-08-29 21:37:39 -04:00
fastmcp-utilities-mcp_server_config-v1-sources-base.mdx chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
fastmcp-utilities-mcp_server_config-v1-sources-filesystem.mdx chore: Update SDK documentation (#1679) 2025-08-30 10:36:31 -04:00
fastmcp-utilities-openapi.mdx Update static checks (#1448) 2025-08-11 17:35:41 -04:00
fastmcp-utilities-tests.mdx chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
fastmcp-utilities-types.mdx chore: Update SDK documentation (#2365) 2025-11-22 12:30:09 -05:00
fastmcp-utilities-ui.mdx chore: Update SDK documentation (#2494) 2025-12-01 13:51:12 -05:00