Langflow-DOC-QA-서버
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
API_ENDPOINT
구성에 필요하므로 이 URL을 저장하세요.
특징
도구
query_docs
- 문서 Q&A 시스템 쿼리- 쿼리 문자열을 입력으로 받습니다.
- Langflow 백엔드에서 응답을 반환합니다.
개발
종속성 설치:
지엑스피1
서버를 빌드하세요:
자동 재빌드를 사용한 개발의 경우:
설치
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 라이선스에 따라 라이선스가 부여되었습니다.
You must be authenticated.
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 -3Python