Spaces:
Running
Running
Jeremiah Lowin commited on
Add 2.11 version badge for state management (#1289)
Browse files
docs/servers/middleware.mdx
CHANGED
|
@@ -280,6 +280,8 @@ You have complete control over the request flow:
|
|
| 280 |
|
| 281 |
#### State Management
|
| 282 |
|
|
|
|
|
|
|
| 283 |
In addition to modifying the request and response, you can also store state data that your tools can (optionally) access later. To do so, use the FastMCP Context to either `set_state` or `get_state` as appropriate. For more information, see the [Context State Management](/servers/context#state-management) docs.
|
| 284 |
|
| 285 |
## Creating Middleware
|
|
|
|
| 280 |
|
| 281 |
#### State Management
|
| 282 |
|
| 283 |
+
<VersionBadge version="2.11.0" />
|
| 284 |
+
|
| 285 |
In addition to modifying the request and response, you can also store state data that your tools can (optionally) access later. To do so, use the FastMCP Context to either `set_state` or `get_state` as appropriate. For more information, see the [Context State Management](/servers/context#state-management) docs.
|
| 286 |
|
| 287 |
## Creating Middleware
|