Skip to content

clientContextProvider - client & server side #1

Description

@imod

@Kehrlann following up on modelcontextprotocol/java-sdk#522 (comment) - I managed to inject the customizer on the client side and also see it being called. But I don't see anything being send over the wire and if so, how would I get hold on the context information on the server site? Sorry for the questions...

In my setup, I have a chat calling an mcp server (sse) and the mcp server calling a protected REST server. I do need the auth token to be propagated, but also access to additional context data in the tool.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions