mirror of
https://github.com/langchain-ai/langchainjs-mcp-adapters.git
synced 2026-07-01 12:27:48 -04:00
[PR #64] [MERGED] feat: support StreamableHTTPClientTransport #69
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langchainjs-mcp-adapters/pull/64
Author: @leo237
Created: 4/22/2025
Status: ✅ Merged
Merged: 5/13/2025
Merged by: @benjamincburns
Base:
main← Head:feature/streamable-http📝 Commits (10+)
0ca7648Added support for basic streamable http adapterb265abfadded tests07ff66bupdated examplee88ef0cUpdated readme05f4b67fixes formatting issuesee26a0fUse Streamable HTTP for all URLs first, fallback to SSEc193c20partial test reworkb33a2defix tests, add example (not working yet)0f42f28fixes, add Streaming HTTP example w/ SSE fallback, update REAMDEce96b23bump to latest MCP sdk📊 Changes
13 files changed (+1453 additions, -416 deletions)
View changed files
📝
.gitignore(+2 -1)📝
README.md(+18 -12)📝
__tests__/client.basic.test.ts(+139 -0)📝
__tests__/client.comprehensive.test.ts(+54 -1)📝
__tests__/mocks.ts(+18 -0)➕
examples/calculator_server_shttp_sse.ts(+173 -0)➕
examples/calculator_sse_shttp_example.ts(+204 -0)📝
langchain.config.js(+1 -0)📝
package.json(+3 -1)📝
src/client.ts(+388 -67)📝
src/index.ts(+8 -1)📝
src/tools.ts(+3 -4)📝
yarn.lock(+442 -329)📄 Description
Description
Adds support for Streamable HTTP. Related to https://github.com/langchain-ai/langchainjs-mcp-adapters/issues/59
Fixes # (issue)
Type of change
How Has This Been Tested?
Checklist:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.