Add Authorization Flow for MCP client server host extension by sberyozkin · Pull Request #27 · modelcontextprotocol/ext-auth · GitHub
Skip to content

Add Authorization Flow for MCP client server host extension#27

Draft
sberyozkin wants to merge 1 commit into
modelcontextprotocol:mainfrom
sberyozkin:server_authorization_code_flow
Draft

Add Authorization Flow for MCP client server host extension#27
sberyozkin wants to merge 1 commit into
modelcontextprotocol:mainfrom
sberyozkin:server_authorization_code_flow

Conversation

@sberyozkin

@sberyozkin sberyozkin commented Apr 7, 2026

Copy link
Copy Markdown

Fixes #26

Motivation and Context

It introduces an authorization flow extension for MCP client hosts such as traditional HTTP server applications

How Has This Been Tested?

This scenario has been described in the Quarkus blog post at https://quarkus.io/blog/secure-mcp-client/, and demoed in the Quarkus LangChain4j repository at https://github.com/quarkiverse/quarkus-langchain4j/tree/main/samples/secure-mcp-client-server.

This scenario is not Quarkus specific. Any HTTP server application that requires OAuth or OIDC login and needs to use AI Service with MCP to complete a user request may benefit from adapting this extension.

Breaking Changes

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

I'll appreciate any advice and recommendations from @localden, @D-McAdams, @PieterKas, @aaronpk and the community at large on how to finalize this extension proposal

@PieterKas

PieterKas commented Apr 8, 2026

Copy link
Copy Markdown

@sberyozkin

Copy link
Copy Markdown
Author

@taka-44report taka-44report left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ありがとう😭

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Authorization Flow for MCP client server hosts extension

3 participants