From 0445c31feffa5581b1e47cbe3ea75eaabed18f9d Mon Sep 17 00:00:00 2001 From: "marvin-context-protocol[bot]" <225465937+marvin-context-protocol[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 02:23:33 +0100 Subject: [PATCH] chore: Update SDK documentation (#4223) --- docs/python-sdk/fastmcp-apps-config.mdx | 10 +++++----- docs/python-sdk/fastmcp-utilities-http.mdx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/python-sdk/fastmcp-apps-config.mdx b/docs/python-sdk/fastmcp-apps-config.mdx index 74828bbdd..9d0c3acf1 100644 --- a/docs/python-sdk/fastmcp-apps-config.mdx +++ b/docs/python-sdk/fastmcp-apps-config.mdx @@ -15,7 +15,7 @@ UI metadata for clients that support interactive app rendering. ## Functions -### `app_config_to_meta_dict` +### `app_config_to_meta_dict` ```python app_config_to_meta_dict(app: AppConfig | dict[str, Any]) -> dict[str, Any] @@ -37,7 +37,7 @@ load resources from. Hosts use these declarations to build the ``Content-Security-Policy`` header for the sandboxed iframe. -### `ResourcePermissions` +### `ResourcePermissions` Iframe sandbox permissions for MCP App resources. @@ -48,7 +48,7 @@ iframe. Hosts MAY honour these; apps should use JS feature detection as a fallback. -### `AppConfig` +### `AppConfig` Configuration for MCP App tools and resources. @@ -63,7 +63,7 @@ values appear on the wire. Aliases match the MCP Apps wire format (camelCase). -### `PrefabAppConfig` +### `PrefabAppConfig` App configuration for Prefab tools with sensible defaults. @@ -83,7 +83,7 @@ Example:: **Methods:** -#### `model_post_init` +#### `model_post_init` ```python model_post_init(self, __context: Any) -> None diff --git a/docs/python-sdk/fastmcp-utilities-http.mdx b/docs/python-sdk/fastmcp-utilities-http.mdx index ae9685aaf..644128612 100644 --- a/docs/python-sdk/fastmcp-utilities-http.mdx +++ b/docs/python-sdk/fastmcp-utilities-http.mdx @@ -10,7 +10,7 @@ sidebarTitle: http ### `find_available_port` ```python -find_available_port() -> int +find_available_port(host: str = '127.0.0.1') -> int ```