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
Orchestrate Microservice Context Protocol (MCP) services and adapt them for integration with various AI frameworks like LangChain, managing tools and their lifecycle.
pa_agent
A conversational AI agent providing retrieval-augmented generation, long/short-term memory, and tool integrations including a CoinMarketCap (MCP) server for financial queries.
Little_MCP
A local AI assistant leveraging Retrieval-Augmented Generation (RAG) and multi-tool agents for document Q&A, real-time information, and SQL database interaction.
MCP---Agent-Starter-Kit
Serves local documents via a REST API for manual retrieval or as a tool for Multi-Agent Collaboration Protocol (MCP) agents.