Langflow Document Q&A Server

Integrations

  • Enables document question-answering capabilities by connecting to a Langflow backend, allowing users to upload documents and query them using natural language through a Langflow Document Q&A Flow.

Langflow-DOC-QA-SERVER

Langflow を利用したドキュメント Q&A 用のモデル コンテキスト プロトコル サーバー

これは、ドキュメントQ&Aシステムを実装したTypeScriptベースのMCPサーバーです。Langflowバックエンドを介してドキュメントをクエリするためのシンプルなインターフェースを提供することで、MCPのコアコンセプトを実証しています。

前提条件

1. LangflowドキュメントQ&Aフローを作成する

  1. Langflowを開き、「ドキュメントQ&A」テンプレートから新しいフローを作成します。
  2. 必要なコンポーネント (ChatInput、ファイルアップロード、LLM など) を使用してフローを構成します。
  3. フローを保存する

2. Flow APIエンドポイントを取得する

  1. Langflowの右上隅にある「API」ボタンをクリックします。
  2. cURL コマンドから API エンドポイント URL をコピーします。例: http://127.0.0.1:7860/api/v1/run/<flow-id>?stream=false
  3. このURLはAPI_ENDPOINT設定に必要となるので保存してください。

特徴

ツール

  • query_docs - ドキュメントQ&Aシステムを照会する
    • クエリ文字列を入力として受け取ります
    • Langflowバックエンドからの応答を返します

発達

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

インストール

Claude Desktop で使用するには、サーバー設定を追加します。

MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "langflow-doc-qa-server": { "command": "node", "args": [ "/path/to/doc-qa-server/build/index.js" ], "env": { "API_ENDPOINT": "http://127.0.0.1:7860/api/v1/run/480ec7b3-29d2-4caa-b03b-e74118f35fac" } } } }

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Document Q&A Server を自動的にインストールするには:

npx -y @smithery/cli install @GongRzhe/Langflow-DOC-QA-SERVER --client claude

環境変数

サーバーは、構成用に次の環境変数をサポートしています。

  • API_ENDPOINT : Langflow APIサービスのエンドポイントURL。指定されていない場合は、デフォルトでhttp://127.0.0.1:7860/api/v1/run/480ec7b3-29d2-4caa-b03b-e74118f35facになります。

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

📜 ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

自然言語の質問を使用して Langflow バックエンドを介してドキュメントをクエリできるようにし、Langflow ドキュメントの Q&A フローと対話するためのインターフェースを提供します。

  1. 前提条件
    1. LangflowドキュメントQ\&Aフローを作成する
    2. Flow APIエンドポイントを取得する
  2. 特徴
    1. ツール
  3. 発達
    1. インストール
      1. Smithery経由でインストール
      2. 環境変数
      3. デバッグ
    2. 📜 ライセンス

      Related MCP Servers

      • A
        security
        F
        license
        A
        quality
        Enables interaction with the Metal Framework by providing documentation search and code generation capabilities using natural language queries.
        Last updated -
        2
        2
        TypeScript
      • -
        security
        F
        license
        -
        quality
        This server provides an API to query Large Language Models using context from local files, supporting various models and file types for context-aware responses.
        Last updated -
        1
        TypeScript
      • A
        security
        A
        license
        A
        quality
        Enables Claude to interact with Webflow's APIs for managing sites, retrieving information, and executing tasks using natural language.
        Last updated -
        2
        4
        TypeScript
        MIT License
        • Apple
        • Linux
      • -
        security
        F
        license
        -
        quality
        A natural language interface for MLflow that allows users to query and manage their machine learning experiments and models using plain English through the Model Context Protocol.
        Last updated -
        3
        Python
        • Linux
        • Apple

      View all related MCP servers

      ID: trl2y8nuig