Skip to content

OAuth support for MCPServerSse #657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
damien-king opened this issue May 7, 2025 · 1 comment
Open

OAuth support for MCPServerSse #657

damien-king opened this issue May 7, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@damien-king
Copy link

As per https://openai.github.io/openai-agents-python/ref/mcp/server/#agents.mcp.server.MCPServerSse

MCPServerSse only appears to support header based authentication. Most high quality remote servers are now using OAuth2.1 as a standard for authentication. Would love to see that in this project, thanks!

@damien-king damien-king added the enhancement New feature or request label May 7, 2025
@rm-openai
Copy link
Collaborator

@damien-king can you tell me more about what changes you'd want? As I understand it, you should still be sending the oauth token via an auth header. Authorization: Bearer <token>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants