LM

Langflow MCP server

Call the flows in a Langflow project as tools.

⚙️ Automation / agent buildersGitHub stars155,761Updated 2026-10-17By LangflowLicense: MITAuth: Langflow instance + Langflow API keyGitHub ↗
Runner-up · best for automation / agent builders

See the pick for the verdict.

Test results

Last passed 2026-10-16
Claude CodePassed2026-10-16 · install, connect, tools, agent taskTested with Claude Code 2.1.296 · server reported v1.30.0 · connect time not recorded
CursorPassed2026-10-16 · install, connect, tools, agent taskTested with Cursor CLI 2026.10.14-941492e · server reported v1.30.0 · connect time not recorded
Claude DesktopNot tested yet—
ChatGPT (Codex)Not tested yet—

Server package and resolved dependency versions: not recorded for these runs (our harness records them from Oct 19, 2026 on).

Full result per app: Does it work with Claude Code? · Does it work with Cursor?

Protocol: 1 tools + tool call OK · 2026-10-16 · connected in 1.3s
🧪 Test-box note: Tested against a local Langflow 1.12.6 (pip in a sandbox venv, 127.0.0.1:7860, SQLite, default AUTO_LOGIN) with an API key generated on that local instance. Fixture flow 'toolpassed fixture' (Chat Input -> Chat Output, returns the input unchanged) is in the Starter Project and enabled as MCP tool toolpassed_fixture. Snippet as in Langflow's docs (uvx mcp-proxy, streamable HTTP). No Langflow cloud account.

Real test

Passed

One run from our records. When two runs share a date, we show a failure if there is one.

Client
Cursor · Cursor CLI 2026.10.14-941492e
Date
Oct 16, 2026
The task we gave
Using only the langflow MCP tools, find the workflow or flow named 'toolpassed fixture', run it with the input text TP-13F48E, and reply with the exact text it returns.
What it promised
details not recorded for this run
What happened

Tool calls:

langflow:toolpassed_fixture

Other calls recorded:

getMcpToolsToolCall

Tool result

{"success": {"content": [{"text": {"text": "TP-13F48E"}}], "isError": false, "systemReminders": []}}

Agent reply

I’ll use the `langflow` MCP namespace only: first I’ll inspect its tool schema, then invoke the flow with `TP-13F48E`, and return the exact output text.TP-13F48E
Verdict
Passed

Install

claude mcp add langflow -- uvx mcp-proxy --transport streamablehttp --headers x-api-key <YOUR_LANGFLOW_API_KEY> http://localhost:7860/api/v1/mcp/project/<YOUR_LANGFLOW_PROJECT_ID>/streamable

Run in your terminal. This exact command is what our harness runs in Claude Code; see the results above.

{
  "mcpServers": {
    "langflow": {
      "command": "uvx",
      "args": [
        "mcp-proxy",
        "--transport",
        "streamablehttp",
        "--headers",
        "x-api-key",
        "<YOUR_LANGFLOW_API_KEY>",
        "http://localhost:7860/api/v1/mcp/project/<YOUR_LANGFLOW_PROJECT_ID>/streamable"
      ]
    }
  }
}

Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.

{
  "mcpServers": {
    "langflow": {
      "command": "uvx",
      "args": [
        "mcp-proxy",
        "--transport",
        "streamablehttp",
        "--headers",
        "x-api-key",
        "<YOUR_LANGFLOW_API_KEY>",
        "http://localhost:7860/api/v1/mcp/project/<YOUR_LANGFLOW_PROJECT_ID>/streamable"
      ]
    }
  }
}

Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.

[mcp_servers.langflow]
command = "uvx"
args = ["mcp-proxy", "--transport", "streamablehttp", "--headers", "x-api-key", "<YOUR_LANGFLOW_API_KEY>", "http://localhost:7860/api/v1/mcp/project/<YOUR_LANGFLOW_PROJECT_ID>/streamable"]

Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.

Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)

Test history

DateCheckResultVersions tested
2026-10-16Protocol (direct stdio)Protocol: 1 tools + tool call OKserver reported v1.30.0
2026-10-16Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · server reported v1.30.0
2026-10-16CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.14-941492e · server reported v1.30.0

Tools seen by our harness (1)

toolpassed_fixture
Sponsors