Flows & projects
Find, create, update and organize flows. Import, export and manage their versions.
OPEN SOURCE / LANGFLOW MCP
Connect Langflow to Codex, Claude Code and other MCP clients. Explore your flows, run workflows and work with knowledge bases from the tools you already use.
tools/callREST APIA connection diagram, not a live execution.
01 / Capabilities
The repository exposes Langflow operations as MCP tools. Choose individual tools or a smaller, action-based interface.
Find, create, update and organize flows. Import, export and manage their versions.
Run workflows, inspect results and resume runs waiting for a human decision.
Manage knowledge bases, ingestion and memory. Availability depends on your Langflow configuration.
Discover model providers and inspect policies. Administrative changes use your Langflow permissions.
Inspect messages, sessions and execution traces. Check health and readiness.
Use agentic assistance and Agent-to-Agent endpoints when enabled on your Langflow server.
02 / How it works
Point the server at your Langflow URL and API key.
Your MCP client discovers the available tools and sends a request.
Read the result or error returned by Langflow before taking the next action.
03 / Install
You need Node.js 20+, a running Langflow instance and its API key. Build from source for the capabilities described on this page.
git clone https://github.com/nobrainer-tech/langflow-mcp.git
cd langflow-mcp
npm ci
npm run buildReplace the example URL and API key locally. Run the client command from the cloned repository. Never commit your key.
codex mcp add langflow \
--env LANGFLOW_BASE_URL=http://localhost:7860 \
--env LANGFLOW_API_KEY=YOUR_LANGFLOW_API_KEY \
--env LANGFLOW_CONSOLIDATED_TOOLS=true \
-- node "$PWD/dist/mcp/index.js"claude mcp add langflow \
-e LANGFLOW_BASE_URL=http://localhost:7860 \
-e LANGFLOW_API_KEY=YOUR_LANGFLOW_API_KEY \
-e LANGFLOW_CONSOLIDATED_TOOLS=true \
-- node "$PWD/dist/mcp/index.js"The repository also supports Streamable HTTP at /mcp. Use HTTPS and bearer authentication for a remote deployment; the README contains the setup details.
04 / FAQ
No. It is an open-source MCP bridge to your existing Langflow instance. You run and configure Langflow separately.
The repository documents Codex, Claude Code and Claude Desktop. Other clients need compatible MCP stdio or Streamable HTTP support. Support for every client has not been tested end to end.
Yes. Some tools modify flows, projects and administrative settings. Review requested actions and use an API key with appropriate permissions.
Several upstream endpoints use SSE. The client currently buffers their text rather than exposing every event incrementally.
Inspect the source, connect your instance and start with a read-only request.