Replies: 3 comments 5 replies
|
Please let me know if this is appropriate more as an issue. |
2 replies
|
We do intend to provide this. We are currently designing it. |
2 replies
|
Is there any particular reason this has to be middleware? What if there were a server option that was a token verify function? It would take a bearer token and return authentication info or an error. Our streamable transport could inspect the error and send a response with the appropriate resource URL, or pass on the auth info to request handlers. |
1 reply
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.
Pre-submission Checklist
Question Category
Your Question
Our MCP Server is implemented in Go and we are planning to migrate to this SDK soon. We had to implement all authentication/authorization logic from scratch and I'm wondering there are any plans to provide built-in authentication middlewares that seem to exist in other SDKs?;
As far as I understand, if this is provided, once MCP Server owners define token verification mechanism as suggested in #174 (comment), the rest will be handled by SDK. That would drastically simplify the MCP Server implementations.
All reactions