Skip to main content

set_thread_token

Function set_thread_token 

Source
pub fn set_thread_token(thread_id: impl Into<String>, token: impl Into<String>)
Expand description

Records the MCP bearer token a remote client supplied for thread_id. An empty token is ignored (treated as “use the process default”).