Skip to content

Commit 42edeb1

Browse files
committed
LangChain: Use designated transport label http for MCP Server
That was called `streamable-http` before.
1 parent 45f0704 commit 42edeb1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

topic/machine-learning/llm-langchain/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ crash < init.sql
145145
Spin up the [CrateDB MCP server], connecting it to CrateDB on localhost.
146146
```bash
147147
export CRATEDB_CLUSTER_URL=http://crate:crate@localhost:4200/
148-
export CRATEDB_MCP_TRANSPORT=streamable-http
148+
export CRATEDB_MCP_TRANSPORT=http
149149
uvx cratedb-mcp serve
150150
```
151151

topic/machine-learning/llm-langchain/agent_with_mcp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
crash < init.sql
1414
1515
# Start MCP server.
16-
export CRATEDB_MCP_TRANSPORT=streamable-http
16+
export CRATEDB_MCP_TRANSPORT=http
1717
export CRATEDB_MCP_HOST=0.0.0.0
1818
export CRATEDB_MCP_PORT=8000
1919
export CRATEDB_CLUSTER_URL=http://crate:crate@localhost:4200/
@@ -33,7 +33,7 @@ async def amain():
3333
client = MultiServerMCPClient(
3434
{
3535
"cratedb": {
36-
"transport": "streamable_http",
36+
"transport": "http",
3737
"url": "http://localhost:8000/mcp/"
3838
},
3939
}

0 commit comments

Comments
 (0)