generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
🚀 Browser-Free MCP Client Solution
I've developed a browser-free MCP client that solves OAuth callback issues in headless environments.
🔗 Solution Repository
https://github.com/ajitnk-lab/aws-mcp-browser-free
🎯 Problem Solved
The current MCP client requires browser OAuth callbacks which fail in:
- Headless environments
- CI/CD pipelines
- Server deployments
- Docker containers
✅ Key Features
- No browser required - Direct username/password authentication with Cognito
- Command line parameters - Pass state codes for weather alerts
- SSE support - Handles StreamableHTTP transport responses
- Simple deployment - Single Python file, no complex dependencies
- Fully tested - Works with deployed AWS MCP weather servers
📁 Files Provided
working_mcp_client.py- Main browser-free clientBROWSER_FREE_CLIENT.md- Complete documentationcognitoupdates.md- Required Cognito configuration changes
🧪 Testing Results
✅ Successfully connects to AWS MCP servers
✅ Retrieves weather alerts and forecasts
✅ Handles SSE responses correctly
✅ Works without any browser interaction
💡 Integration Suggestion
This solution could be added to the official guidance as an alternative client for headless environments, maintaining full compatibility with the existing browser-based approach.
Would you be interested in reviewing this contribution for potential inclusion in the official guidance?
Metadata
Metadata
Assignees
Labels
No labels