mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 13:17:34 +08:00
* version-1.9.0-docs * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
34 lines
1.9 KiB
Plaintext
34 lines
1.9 KiB
Plaintext
---
|
|
title: Langflow MCP Client for coding agents
|
|
slug: /langflow-mcp-client
|
|
---
|
|
|
|
import Icon from "@site/src/components/icon";
|
|
|
|
Connect coding agents such as **Bob (IBM)** and **Claude Code** to a Langflow instance so they can build and run flows over MCP.
|
|
|
|
This page describes the <Icon name="Terminal" aria-hidden="true"/> **Langflow MCP Client** entry in **Settings**. It is different from Langflow's other MCP options.
|
|
|
|
* [**Use Langflow as an MCP client**](/mcp-client): Use the **MCP Tools** component in flows so agent components _on the canvas_ can call external MCP servers or Langflow MCP URLs.
|
|
* [**Use Langflow as an MCP server**](/mcp-server): Use the **MCP Servers** page in Langflow to expose your Langflow project as an MCP server to desktop clients such as Cursor or Windsurf.
|
|
|
|
## Connect Bob (IBM) or Claude Code
|
|
|
|
To connect Langflow to a coding agent, do the following:
|
|
|
|
1. Click your profile icon, select **Settings**, and then click <Icon name="Terminal" aria-hidden="true"/> **Langflow MCP Client**.
|
|
2. Select the coding agent you want to connect to Langflow, and follow the steps shown in the UI.
|
|
|
|
All client configurations run `lfx-mcp` with `uvx`, and set `LANGFLOW_SERVER_URL` to your Langflow server URL and `LANGFLOW_API_KEY` to a Langflow API key of your choice.
|
|
|
|
* To connect to **Bob (IBM)**, paste the configuration JSON into `~/.bob/settings/mcp_settings.json`, or use **Edit Project MCP** for a project-only setup.
|
|
* To connect to **Claude Code**, run the `claude mcp add` command shown on the page, or manually add the JSON configuration to `~/.claude.json`.
|
|
|
|
If you do not set `LANGFLOW_API_KEY`, the coding agent can log in with the Langflow username and password you use to sign in to the Langflow web UI for that server.
|
|
|
|
## See also
|
|
|
|
* [Use Langflow as an MCP client](/mcp-client)
|
|
* [Use Langflow as an MCP server](/mcp-server)
|
|
* [**MCP Tools** component](/mcp-tools)
|