Langflow-DOC-QA-SERVER
Langflow を利用したドキュメント Q&A 用のモデル コンテキスト プロトコル サーバー
これは、ドキュメントQ&Aシステムを実装したTypeScriptベースのMCPサーバーです。Langflowバックエンドを介してドキュメントをクエリするためのシンプルなインターフェースを提供することで、MCPのコアコンセプトを実証しています。
前提条件
1. LangflowドキュメントQ&Aフローを作成する
- Langflowを開き、「ドキュメントQ&A」テンプレートから新しいフローを作成します。
- 必要なコンポーネント (ChatInput、ファイルアップロード、LLM など) を使用してフローを構成します。
- フローを保存する
2. Flow APIエンドポイントを取得する
- Langflowの右上隅にある「API」ボタンをクリックします。
- cURL コマンドから API エンドポイント URL をコピーします。例:
http://127.0.0.1:7860/api/v1/run/<flow-id>?stream=false
- このURLは
API_ENDPOINT
設定に必要となるので保存してください。
特徴
ツール
query_docs
- ドキュメントQ&Aシステムを照会する- クエリ文字列を入力として受け取ります
- Langflowバックエンドからの応答を返します
発達
依存関係をインストールします:
サーバーを構築します。
自動リビルドを使用した開発の場合:
インストール
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Document Q&A Server を自動的にインストールするには:
環境変数
サーバーは、構成用に次の環境変数をサポートしています。
API_ENDPOINT
: Langflow APIサービスのエンドポイントURL。指定されていない場合は、デフォルトでhttp://127.0.0.1:7860/api/v1/run/480ec7b3-29d2-4caa-b03b-e74118f35fac
になります。
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
📜 ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
自然言語の質問を使用して Langflow バックエンドを介してドキュメントをクエリできるようにし、Langflow ドキュメントの Q&A フローと対話するためのインターフェースを提供します。
Related MCP Servers
- AsecurityFlicenseAqualityEnables interaction with the Metal Framework by providing documentation search and code generation capabilities using natural language queries.Last updated -22TypeScript
- -securityFlicense-qualityThis 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 -1TypeScript
- AsecurityAlicenseAqualityEnables Claude to interact with Webflow's APIs for managing sites, retrieving information, and executing tasks using natural language.Last updated -24TypeScriptMIT License
- -securityFlicense-qualityA 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 -7Python