Skip to content

Commit ef7944c

Browse files
committed
add TODO on user auth context propagation
1 parent 36c80a1 commit ef7944c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mcp/server/lowlevel/result_cache.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ class ResultCache:
4646
Its purpose is to act as a central point for managing in progress
4747
async calls, allowing multiple clients to join and receive progress
4848
updates, get results and/or cancel in progress calls
49+
TODO CRITICAL not obvious user context will be passed to background thread
50+
add tests to assert behaviour with authenticated calls
4951
TODO MAJOR needs a lot more testing around edge cases/failure scenarios
5052
TODO MAJOR decide if async.Locks are required for integrity of internal
5153
data structures

0 commit comments

Comments
 (0)