Langflow-DOC-QA-SERVER logo

Langflow-DOC-QA-SERVER

by GongRzhe

A Model Context Protocol (MCP) server for document Q&A powered by Langflow. It provides a simple interface to query documents through a Langflow backend.

View on GitHub

Last updated: N/A

What is Langflow-DOC-QA-SERVER?

This is a TypeScript-based MCP server that implements a document Q&A system, allowing users to query documents using a Langflow backend.

How to use Langflow-DOC-QA-SERVER?

  1. Create a Langflow Document Q&A flow with necessary components (ChatInput, File Upload, LLM, etc.). 2. Get the API endpoint URL from Langflow. 3. Install the server and configure it with the API endpoint. 4. Add the server config to Claude Desktop's configuration file or install via Smithery.

Key features of Langflow-DOC-QA-SERVER

  • Query documents using natural language

  • Integration with Langflow

  • MCP compliant server

  • Uses the query_docs tool to interact with the Langflow backend

Use cases of Langflow-DOC-QA-SERVER

  • Answering questions based on uploaded documents

  • Providing context to language models for document-specific tasks

  • Creating a document chatbot

  • Integrating document Q&A into Claude Desktop

FAQ from Langflow-DOC-QA-SERVER

What is Langflow?

Langflow is a tool for building conversational AI flows.

What is MCP?

MCP stands for Model Context Protocol, a standard for communication between applications and language models.

How do I get the API endpoint for my Langflow flow?

Click the 'API' button in the top right corner of Langflow and copy the API endpoint URL from the cURL command.

What environment variables are supported?

The server supports the API_ENDPOINT environment variable to configure the Langflow API service URL.

How do I debug the server?

Use the MCP Inspector by running npm run inspector to access debugging tools in your browser.