Overview
Langflow-DOC-QA-SERVER is a TypeScript-based MCP server that enables document question answering via a Langflow backend. It demonstrates core MCP concepts by exposing a simple interface to query documents through a Langflow flow, rather than requiring a custom document retriever. The server relies on a Langflow Document Q&A Flow created in Langflow, and requires the Flow API endpoint to be configured via the API_ENDPOINT environment variable. The README describes steps to create the flow and obtain the endpoint, for example: http://127.0.0.1:7860/api/v1/run/<flow-id>?stream=false. At runtime, the server uses the Tools feature query_docs to send a user query to the Langflow API and returns the backend responses. Development and installation steps include npm install, npm run build, and npm run watch for auto-rebuild during development. For Claude Desktop integration, you configure mcpServers with command node and the path to build/index.js, and set API_ENDPOINT to the Langflow flow endpoint. The server can be debugged with MCP Inspector via npm run inspector. The API_ENDPOINT defaults to a local Langflow endpoint if not provided. This project is MIT-licensed.
Features
Tools: query_docs
Query the document Q&A system by sending a query string to the Langflow backend and returning responses.
Who Is This For?
- Developers:Build and deploy an MCP server for document Q&A using Langflow as the backend.
- Claude Desktop users:Integrate the server with Claude Desktop via config to enable Langflow Document Q&A queries.




