This article explains how to achieve an MCP (Model Context Protocol) connection using the StreamableHTTP
protocol in Langflow version 1.5.1.
Although the current version does not directly support this, a connection can be established via mcp-proxy
.
Configuration Example
{
"mcpServers": {
"mcp_name": {
"command": "uvx",
"args": ["mcp-proxy", "--transport", "streamablehttp", "http://address/mcp"]
}
}
}
Note
Langflow 1.5.1 supports SSE connections, but compatibility with the MCP server-side implementation can be tricky. If you experience instability with SSE, you might consider using StreamableHTTP as an alternative.