Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, I wished you could somehow pass the user's id token to the MCP server when you are calling a tool when implementing an AI model. You could then either let the mcp server fetch a token using the `token-exchange` endpoint. So that it can fetch the user info (e.g. user id)

For example, when you try to integrate with AI model that supports function calling in the backend and want to use MCP server to enhance the model.

I haven't figured that out yet. Maybe you would need to use Client-Initiated Backchannel Authentication Flow ?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: