Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions docs/docs/Agents/mcp-client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ slug: /mcp-client

import Icon from "@site/src/components/icon";
import McpIcon from '@site/static/logos/mcp-icon.svg';
import PartialMcpNodeTip from '@site/docs/_partial-mcp-node-tip.mdx';

Langflow integrates with the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) as both an MCP server and an MCP client.

Expand Down Expand Up @@ -35,11 +36,8 @@ This component has two modes, depending on the type of server you want to access
* **SSE**: Enter your Langflow MCP server's **Name**, **SSE URL**, and any **Headers** and **Environment Variables** the server uses, and then click **Add Server**.
The default **SSE URL** is `http://localhost:7860/api/v1/mcp/sse`. For more information, see [Use SSE mode](#mcp-sse-mode).

:::tip
`uvx` is included with `uv` in the Langflow package.
To use `npx` server commands, you must first install an LTS release of [Node.js](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).
For an example of an `npx` MCP server in Langflow, see [Connect an Astra DB MCP server to Langflow](/mcp-component-astra).
:::
<PartialMcpNodeTip />


3. To use environment variables in your server command, enter each variable in the **Env** fields as key-value pairs.

Expand Down
3 changes: 3 additions & 0 deletions docs/docs/Agents/mcp-component-astra.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ slug: /mcp-component-astra
---

import Icon from "@site/src/components/icon";
import PartialMcpNodeTip from '@site/docs/_partial-mcp-node-tip.mdx';

This guide demonstrates how to [use Langflow as an MCP client](/mcp-client) by using the **MCP Tools** component to run a [DataStax Astra DB MCP server](https://github.com/datastax/astra-db-mcp) in an agent flow.

1. Install an LTS release of [Node.js](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).

<PartialMcpNodeTip />

2. Create an [OpenAI](https://platform.openai.com/) API key.

3. Create an [Astra DB Serverless (Vector) database](https://docs.datastax.com/en/astra-db-serverless/databases/create-database.html#create-vector-database), if you don't already have one.
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/Deployment/deployment-docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ title: Deploy Langflow on Docker
slug: /deployment-docker
---

import PartialPodmanAlt from '@site/docs/_partial-podman-alt.mdx';

<PartialPodmanAlt />

Running applications in Docker containers ensures consistent behavior across different systems and eliminates dependency conflicts.

You can use the Langflow Docker image to start a Langflow container.
Expand Down
3 changes: 3 additions & 0 deletions docs/docs/Deployment/develop-application.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ slug: /develop-application
---

import Icon from "@site/src/components/icon";
import PartialPodmanAlt from '@site/docs/_partial-podman-alt.mdx';

<PartialPodmanAlt />

Designing flows in the visual editor is only the first step in building an application that uses Langflow.

Expand Down
8 changes: 8 additions & 0 deletions docs/docs/_partial-mcp-node-tip.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:::tip
`uvx` is included with `uv` in the Langflow package.

To use `npx` server commands, you must first install an LTS release of [Node.js](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm). If you run Langflow in Docker, install Node.js inside the container image and rebuild so that `npx`-based MCP servers are available at runtime. For more information, see [Package management](/develop-application#package-management).

For an example of an `npx` MCP server in Langflow, see [Connect an Astra DB MCP server to Langflow](/mcp-component-astra).
:::

3 changes: 3 additions & 0 deletions docs/docs/_partial-podman-alt.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:::tip
Podman can be used instead of Docker for all commands shown here. For more information, see the [Podman documentation](https://podman.io/docs).
:::
Loading