Skip to content
Discussion options

You must be logged in to vote

Hi @hariraogotit

You can instantiate SseClientTransport from mcp kotlin-sdk that accepts a Ktor HttpClient, where you can configure authentication (e.g., Basic auth) (ktor doc)
After that, either create an MCP Client with this transport and pass it to fromClient(...), or call fromTransport(...) and pass the transport directly

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by aozherelyeva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants