Skip to content

Possibility to configure MCP Client so it uses an existing OAuth Token #4178

@dvag-joerg-winter

Description

@dvag-joerg-winter

Expected Behavior

Add a config (application.properties) that enables passing of an existing Token
An existing Token was aquired in the Host application (which includes MCP Client Starter) from an Authserver in a previous step, outside/before the use of ChatClient/MCP Client

Current Behavior

when understanding correctly from the single example here
https://github.com/Kehrlann/spring-ai-mcp-authorization-demo
MCP Client Starter seems to be dependent on an AuthorizationServer configuration to execute the first Auth-exchange itself (instead of just using&passing an existing token in the Hostapplication.

Context

MCP Auth Specification
MCP Client/Server version 1.0.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions