Skip to content

Commit 0445c31

Browse files
chore: Update SDK documentation (#4223)
1 parent 9261793 commit 0445c31

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/python-sdk/fastmcp-apps-config.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ UI metadata for clients that support interactive app rendering.
1515

1616
## Functions
1717

18-
### `app_config_to_meta_dict` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/apps/config.py#L173" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
18+
### `app_config_to_meta_dict` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/apps/config.py#L180" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
1919

2020
```python
2121
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
3737
``Content-Security-Policy`` header for the sandboxed iframe.
3838

3939

40-
### `ResourcePermissions` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/apps/config.py#L52" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
40+
### `ResourcePermissions` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/apps/config.py#L56" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
4141

4242

4343
Iframe sandbox permissions for MCP App resources.
@@ -48,7 +48,7 @@ iframe. Hosts MAY honour these; apps should use JS feature detection
4848
as a fallback.
4949

5050

51-
### `AppConfig` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/apps/config.py#L79" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
51+
### `AppConfig` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/apps/config.py#L84" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
5252

5353

5454
Configuration for MCP App tools and resources.
@@ -63,7 +63,7 @@ values appear on the wire. Aliases match the MCP Apps wire format
6363
(camelCase).
6464

6565

66-
### `PrefabAppConfig` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/apps/config.py#L117" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
66+
### `PrefabAppConfig` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/apps/config.py#L124" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
6767

6868

6969
App configuration for Prefab tools with sensible defaults.
@@ -83,7 +83,7 @@ Example::
8383

8484
**Methods:**
8585

86-
#### `model_post_init` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/apps/config.py#L133" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
86+
#### `model_post_init` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/apps/config.py#L140" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
8787

8888
```python
8989
model_post_init(self, __context: Any) -> None

docs/python-sdk/fastmcp-utilities-http.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sidebarTitle: http
1010
### `find_available_port` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/utilities/http.py#L4" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
1111

1212
```python
13-
find_available_port() -> int
13+
find_available_port(host: str = '127.0.0.1') -> int
1414
```
1515

1616

0 commit comments

Comments
 (0)