-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Update MCP Gateway
- Previous: v0.0.39 → New: v0.0.46
- Timeline: 7 intermediate releases (v0.0.40 through v0.0.46) between 2026-01-11 and 2026-01-12
- Breaking Changes: None
- New Features: HTTP transport fallback, improved session handling
- Bug Fixes: HTTP backend session initialization, Accept header support, test stability
- Security: None reported
- CLI Discovery: N/A (Docker image only)
- Subcommand Changes: N/A (Docker image only)
- Impact: Risk Low - Improves HTTP MCP backend compatibility with bug fixes only
- Migration: No - Fully backward compatible
Release Highlights
v0.0.40-41: HTTP Backend Session Initialization Fix
Critical Bug Fix - Fixed HTTP backend initialization to include Mcp-Session-Id headers during session establishment. Previously, HTTP backends that required session ID headers would reject initialization requests with "Missing Mcp-Session-Id header" errors.
Changes:
- Initialization requests now include session ID:
gateway-init-{serverID} - Client requests continue to use session ID from Authorization header
- Fully backward compatible - backends that don't require the header ignore it
v0.0.44: HTTP Transport Fallback
New Feature - Added automatic fallback to HTTP transport for non-standard MCP servers that use HTTP instead of stdio communication protocol.
Changes:
- Transparent fallback mechanism requires no configuration changes
- Expands ecosystem compatibility with HTTP-based MCP servers
- Enables integration with servers that don't follow standard stdio protocol
v0.0.43, v0.0.44: Test Suite Stability
Bug Fix - Fixed unit test hangs during HTTP transport connection attempts, improving development experience and CI reliability.
v0.0.45-46: Accept Header for Session Establishment
Critical Bug Fix - HTTP MCP backends were returning "Session not found" (404) errors because the gateway wasn't sending the required Accept header during session establishment.
Changes:
- Added
Accept: application/json, text/event-streamheader to all HTTP MCP requests - Ensures backends can properly determine response format during initialization
- Maintains consistency across both session creation and subsequent requests
Merged PRs
-
typecheck tweaks #179 - Fix HTTP backend session initialization to include Mcp-Session-Id headers
- Resolves: Session ID requirement for HTTP backends
- Impact: Enables HTTP backends that enforce session ID validation
-
Docs for
output:are not correct #180 - Add HTTP transport fallback for non-standard MCP servers- Adds: Automatic HTTP transport fallback
- Impact: Expands MCP server ecosystem compatibility
-
"gh aw run" reports previous workflow run, not latest #182 - Fix unit test hangs in HTTP transport connection attempts
- Fixes: Test suite stability issues
- Impact: Improves CI reliability and developer experience
-
Fix test-agentics workflow to use compiled gh-aw #183 - Add Accept header for HTTP MCP backend session establishment
- Fixes: Session establishment failures with HTTP backends
- Impact: Enables reliable content negotiation with HTTP MCP servers
Technical Analysis
This update focuses on improving HTTP MCP backend compatibility through three key areas:
- Session Management: Proper session ID headers during initialization prevent authentication errors
- Transport Flexibility: HTTP fallback expands the range of compatible MCP servers
- Content Negotiation: Accept headers ensure proper response format handling
All changes are backward compatible and focused on bug fixes and compatibility improvements. No breaking changes or API modifications.
Package Links
- Repository: https://github.com/githubnext/gh-aw-mcpg
- Release Notes: https://github.com/githubnext/gh-aw-mcpg/releases
- v0.0.40: https://github.com/githubnext/gh-aw-mcpg/releases/tag/v0.0.40
- v0.0.41: https://github.com/githubnext/gh-aw-mcpg/releases/tag/v0.0.41
- v0.0.43: https://github.com/githubnext/gh-aw-mcpg/releases/tag/v0.0.43
- v0.0.44: https://github.com/githubnext/gh-aw-mcpg/releases/tag/v0.0.44
- v0.0.45: https://github.com/githubnext/gh-aw-mcpg/releases/tag/v0.0.45
- v0.0.46: https://github.com/githubnext/gh-aw-mcpg/releases/tag/v0.0.46
- Docker Image: https://github.com/githubnext/gh-aw-mcpg/pkgs/container/gh-aw-mcpg
Implementation
Updated pkg/constants/constants.go:
DefaultMCPGatewayVersion:v0.0.39→v0.0.46
Recompiled 120+ workflow files successfully with make recompile.
Note: This update was automatically detected and applied by the CLI version checker workflow.
Run: https://github.com/githubnext/gh-aw/actions/runs/20913342543
AI generated by CLI Version Checker