Replies: 3 comments 2 replies
|
@pwwpche do you know if we expose http headers in the MCP toolset? |
0 replies
|
The MCP interfaces in ADK leverages the standard MCP interfaces from MCP SDK. To add a request header, simply do |
0 replies
|
I'm running into a similar issue. I'm using FastAPI + agent+MCP, in my case, the MCP server requires passing a user-specific accessToken for data permission checks. Since different users have different accessTokens, I need to pass them dynamically with each request. However, the method mentioned above seems to only allow setting the token during initialization, which doesn't work for my case. Is there a way to pass the token dynamically per request? |
2 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.
Currently, I am using fastapi-mcp to use my FastAPI app as an mcp server
one of my endpoint requires "request-user-id" in the header
does anyone know how to include a customized header in the mcp call request
All reactions