Skip to content

Conversation

aarora79
Copy link
Contributor

Summary

  • Fix critical nginx routing bug preventing agent connections to streamable-http servers
  • Add comprehensive streamable-http transport support across the entire MCP Gateway Registry
  • Implement proper authentication method detection for session cookie vs M2M modes
  • Simplify system prompt while preserving essential technical details

Key Changes

Critical Bug Fix

  • Nginx routing fix: Location blocks now properly route /currenttime/mcp to backend /mcp/ endpoint
  • Agent authentication: Automatic detection of auth method based on available credentials
  • System prompt: Streamlined to prioritize existing tools before using intelligent_tool_finder

Comprehensive Transport Support

  • Added streamable-http transport support to MCP client and health checks
  • Updated server configurations to specify supported transports
  • Implemented transport auto-detection and routing capabilities
  • Updated dependencies and Docker configurations
  • Added test client for currenttime server

Test Plan

  • Direct server connections work (tested with curl)
  • Nginx routing properly forwards requests
  • Authentication works for both M2M and session cookie modes
  • System prompt changes preserve functionality
  • No secrets exposed in repository

Related Issues

This completes the streamable-http transport implementation and fixes the production-blocking routing issue.

aarora79 added 2 commits July 15, 2025 18:14
- Fix nginx routing bug preventing agent connections to streamable-http servers
- Add proper authentication method detection for session cookie vs M2M
- Simplify system prompt while preserving essential technical details

Key fixes:
- Nginx location blocks now use /currenttime/mcp with proxy_pass to /mcp/
- Agent auth method determined by available credentials (session_cookie or m2m)
- System prompt prioritizes existing tools before using intelligent_tool_finder
- Add streamable-http transport support to MCP client and health checks
- Update server configurations to specify supported transports
- Add transport auto-detection and routing capabilities
- Update dependencies and Docker configurations
- Add test client for currenttime server
- Update server JSON configurations with transport specifications

This completes the streamable-http transport implementation across
the entire MCP Gateway Registry system.
@aarora79 aarora79 merged commit 3e820e6 into main Jul 15, 2025
1 of 9 checks passed
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.

1 participant