You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/server.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1253,6 +1253,7 @@ The FastMCP server instance accessible via `ctx.fastmcp` provides access to serv
1253
1253
-`host` and `port` - Server network configuration
1254
1254
-`mount_path`, `sse_path`, `streamable_http_path` - Transport paths
1255
1255
-`stateless_http` - Whether the server operates in stateless mode
1256
+
-`max_request_body_size` - Maximum Streamable HTTP POST body size in bytes
1256
1257
- And other configuration options
1257
1258
1258
1259
```python
@@ -1417,6 +1418,14 @@ Note that `uv run mcp run` or `uv run mcp dev` only supports server using FastMC
1417
1418
1418
1419
> **Note**: Streamable HTTP transport is the recommended transport for production deployments. Use `stateless_http=True` and `json_response=True` for optimal scalability.
1419
1420
1421
+
Streamable HTTP POST bodies are limited to 4 MiB by default. Larger requests receive HTTP 413
1422
+
before parsing or session creation. If your server intentionally accepts larger MCP messages,
0 commit comments