Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: mcp integration #6986

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

docs: mcp integration #6986

wants to merge 6 commits into from

Conversation

mendonk
Copy link
Collaborator

@mendonk mendonk commented Mar 10, 2025

This pull request introduces a new integration guide for the Model Context Protocol (MCP) in the documentation and updates the sidebar to include this new guide. The most important changes are:

Documentation Updates:

  • Added a new integration guide for MCP in docs/docs/Integrations/integrations-mcp.md. This guide includes detailed instructions on how to integrate Langflow with MCP, access flows from Claude Desktop, and connect an Astra DB MCP server to Cursor and Langflow.

Sidebar Update:

  • Updated docs/sidebars.js to include the new MCP integration guide in the Integrations section.

@mendonk mendonk self-assigned this Mar 10, 2025
@mendonk mendonk requested review from phact and KimberlyFields March 10, 2025 16:26
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 10, 2025
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Mar 10, 2025
@@ -0,0 +1,113 @@
---
title: MCP (Model context protocol)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use this shortened version of the title for the left nav, but on this page the title should be "Integrate Langflow with MCP (Model context protocol)".

Comment on lines +10 to +12
* Access all of your flows as tools from Claude Desktop
* Connect a [Datastax Astra DB MCP server](https://github.com/datastax/astra-db-mcp) to Cursor
* Connect a [Datastax Astra DB MCP server](https://github.com/datastax/astra-db-mcp) to Langflow
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bulleted lists need an intro sentence. Also, are these three things that you do separately depending on what you want to do with MCP or do you need to do all three of these things sequentially in order to get a certain outcome? It's not clear at this point. Please add more details to define the use cases.

* Connect a [Datastax Astra DB MCP server](https://github.com/datastax/astra-db-mcp) to Cursor
* Connect a [Datastax Astra DB MCP server](https://github.com/datastax/astra-db-mcp) to Langflow

This guide will show you how to use Langflow as an MCP server with Claude Desktop as the client.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This guide will show you how to use Langflow as an MCP server with Claude Desktop as the client.
This guide shows you how to use Langflow as an MCP server with Claude Desktop as the client.

slug: /integrations-mcp
---

# Integrate Langflow with MCP
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the change to the text of the title, this is now a duplicate heading. You can remove this heading.


## Access all of your flows as tools from Claude Desktop

The MCP server configuration is added to Claude, which can then access all of your flows as tools with the MCP protocol.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"is added to Claude" - this implies an action that is done automatically for the user, but I don't think that's the case. Please clarify.


### Add Langflow as an MCP server to Claude

1. Create at least one flow, and note your host, for example, `http://127.0.0.1:7863`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Create at least one flow, and note your host, for example, `http://127.0.0.1:7863`.
1. Create at least one flow, and note your host. For example, `http://127.0.0.1:7863`.


1. Create at least one flow, and note your host, for example, `http://127.0.0.1:7863`.

2. Open Claude Desktop. Go to **Settings** > **Developer** > **Edit Config**.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid documenting the steps for a 3rd-party app. Provide general guidance and link to that product's docs.


### Prerequisites

* [Cursor](https://cursor.com) installed
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* [Cursor](https://cursor.com) installed
* [Cursor](https://cursor.com) is installed.

### Prerequisites

* [Cursor](https://cursor.com) installed
* [An Astra DB vector database](https://docs.datastax.com/en/astra-db-serverless/get-started/quickstart.html) with an **Astra DB API endpoint** and **Astra DB application token**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* [An Astra DB vector database](https://docs.datastax.com/en/astra-db-serverless/get-started/quickstart.html) with an **Astra DB API endpoint** and **Astra DB application token**
* You have [an Astra DB vector database](https://docs.datastax.com/en/astra-db-serverless/get-started/quickstart.html) with an **Astra DB API endpoint** and **Astra DB application token**

Comment on lines +67 to +68
1. Open Cursor. Go to **Cursor** > **Settings** > **Features** > **MCP Servers**.
2. Click **Add new MCP server**.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're documenting steps within the Cursor UI, which could change at any time. We try to avoid documenting exact steps within 3rd-party apps. Suggest providing general guidance and linking to the relevant Cursor docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants