Skip to content

Add streamable HTTP transport support#134

Merged
jssmith merged 1 commit intomainfrom
feat/streamable-http-transport
Jan 22, 2026
Merged

Add streamable HTTP transport support#134
jssmith merged 1 commit intomainfrom
feat/streamable-http-transport

Conversation

@jssmith
Copy link
Contributor

@jssmith jssmith commented Jan 20, 2026

Summary

  • Add support for the streamable-http transport option alongside the existing stdio and sse transports
  • This addresses the deprecation of SSE transport in favor of streamable HTTP

Changes

  • Add streamable-http as a transport choice
  • Add --streamable-http-host and --streamable-http-port arguments
  • Call mcp.run_streamable_http_async() for streamable-http transport
  • Add comprehensive tests for all transport options

Usage

uv run postgres-mcp --transport streamable-http --streamable-http-port 8000

Attribution

Based on work by @ahmedmustahid in #78. This PR extracts just the streamable HTTP functionality with tests, without the signal handling and formatting changes.

Related

Test plan

  • All existing tests pass (191 passed)
  • New transport tests verify correct method dispatch for stdio/sse/streamable-http
  • Host/port argument tests verify settings are applied correctly

🤖 Generated with Claude Code

Add support for the streamable-http transport option alongside the existing
stdio and sse transports. This addresses the deprecation of SSE transport
in favor of streamable HTTP.

Changes:
- Add 'streamable-http' as a transport choice
- Add --streamable-http-host and --streamable-http-port arguments
- Call mcp.run_streamable_http_async() for streamable-http transport
- Add comprehensive tests for all transport options

Based on work by @ahmedmustahid in #78.

Closes #102

Co-Authored-By: Ahmed Mustahid <ahmedmustahid@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jssmith jssmith merged commit 07eb329 into main Jan 22, 2026
1 check passed
@jssmith jssmith deleted the feat/streamable-http-transport branch January 22, 2026 14:50
@EMoeini
Copy link

EMoeini commented Jan 26, 2026

Hello @jssmith ,

Do you have a rough estimate when a new release will be published with the new changes? It'd be great to have a new docker image released with the new changes

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.

Support for StreamableHttp in the Postgres MCP server

2 participants