Add Docker container with URL mode elicitation for headless device code auth #48
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds Docker container support for the PingOne MCP server, enabling deployment in containerized environments where binary installation is impractical or undesired. The implementation leverages the device code grant type with URL mode elicitation for secure, headless authentication.
Key Changes
Docker Implementation
Authentication Flow
Documentation
Technical Details
Breaking Change: The
TokenSourceinterface now requires a*mcp.ServerSessionparameter:This enables access to server session capabilities like URL mode elicitation for secure authorization URL presentation.
Testing
All unit tests passing:
Test Results (make test)
Exit code: 0 ✅
Summary:
Usage
Quick Start with Docker
Docker Compose
See docker-usage-instructions.md for complete Docker Compose examples and configuration options.
Documentation
Requirements
MCP Client Compatibility: This Docker implementation requires MCP clients that support URL mode elicitation (e.g., VS Code Copilot Chat). This feature ensures authorization URLs are securely presented to human users and not processed by AI agents.
Testing Recommendations
Related Issues
Implements containerized deployment for PingOne MCP server with secure headless authentication.