Replies: 2 comments
-
|
If I understand the protocol and the typescript SDK implementation correctly, there is no possibility for this for now. I think it would be helpful to be able to communicate to the client a 401/403 response and let it act accordingly. Currently, the response is sent back to the agent, and all it can do is to inform the user that it received such a response. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
By the way @hemanth, this idea is now being actively discussed in #475 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Discussion Topic
Use case: If we are using OAuth within an MCP server, is there a way to check for a 401 in a tool call and redirect the client for re-authentication?
Will it be solved with HTTP Streaming, this use case if for a
/sseendpoint on a remote MCP.Beta Was this translation helpful? Give feedback.
All reactions