We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65260c9 commit 577ed6eCopy full SHA for 577ed6e
docs/servers/context.mdx
@@ -210,8 +210,8 @@ class UserAuthMiddleware(Middleware):
210
# Middleware stores user info in context state
211
context.fastmcp_context.set_state("user_id", "user_123")
212
context.fastmcp_context.set_state("permissions", ["read", "write"])
213
-
214
- return await call_next()
+
+ return await call_next(context)
215
216
@mcp.tool
217
async def secure_operation(data: str, ctx: Context) -> str:
0 commit comments