Multiple-Tool-Chatbot-Using-Langchain-and-OpenAI
Verified Safeby anshu57
Overview
An agent-based chatbot integrating local and remote (Multi-Tool Communication Protocol - MCP) tools, supporting conversational AI, RAG, and stock price lookup through a FastAPI backend and a Streamlit frontend.
Installation
uvicorn src.backend.main:app --host 0.0.0.0 --port 8000Environment Variables
- OPENAI_API_KEY
- ALPHAVANTAGE_API_KEY
- API_BASE_URL
Security Notes
The application avoids direct 'eval' and includes some input validation (e.g., for messages and uploaded files). However, the 'MCPClient' hardcodes a local subprocess command execution (`python3 /Users/anshugangwar/Desktop/mcp-math-server/main.py`) and an external HTTP endpoint, which introduces potential risks if the local script is untrusted, or if external MCP services are compromised. Users should ensure the security of any referenced local scripts and external services.
Similar Servers
mcpstore
MCPStore acts as an orchestration layer for managing Microservice Context Protocol (MCP) services and adapting them as tools for AI frameworks like LangChain, AutoGen, and others.
AgentChat
AgentChat is an AI agent orchestration platform that enables users to create, configure, and manage AI assistants with integrated LLMs, external tools, knowledge bases, and multi-context protocol (MCP) servers for complex conversational and task automation scenarios.
Little_MCP
A local AI assistant that leverages open-source LLMs with RAG for document Q&A and provides real-time information via multi-tool capabilities (weather, datetime, calculation, SQL).
MCP---Agent-Starter-Kit
A FastAPI server that exposes a local 'docs' folder as a tool for document retrieval, supporting both simple HTTP endpoints and optional integration with the Multi-Agent Collaboration Protocol (MCP).