chatbot-with-search
Verified Safeby danielecelsa
Overview
An advanced AI client for autonomous web research, utilizing a decoupled microservices architecture with the Model Context Protocol (MCP) for tool communication.
Installation
streamlit run app.pyEnvironment Variables
- GOOGLE_API_KEY
- GENAI_MODEL
- MCP_TAVILY_URL
- MCP_SERVER_NAME
- COST_PER_1K_TOKENS_USD_INPUT
- COST_PER_1K_TOKENS_USD_OUTPUT
- REDIS_URL
- LOGTAIL_SOURCE_TOKEN
- LOGTAIL_URL
- CHECKPOINT_DB
- RENDER
Security Notes
The project follows good security practices by externalizing API keys to environment variables and implements a decoupled security model where the client (agent) does not directly hold sensitive API keys like the Tavily key. However, it relies on an external MCP server URL (`MCP_TAVILY_URL`) which, if compromised or misconfigured, could lead to unexpected behavior or data exposure. The `get_user_info` helper function relies on undocumented Streamlit internal APIs, which could be a stability risk for future Streamlit versions, but not a direct security vulnerability.
Similar Servers
gpt-researcher
The GPT Researcher MCP Server enables AI assistants to conduct comprehensive web research and generate detailed, factual, and unbiased reports. It supports multi-agent workflows, local document analysis, and integration with external tools via the Machine Conversation Protocol (MCP) for various research tasks.
mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to search and retrieve curated documentation for the Strands Agents framework, facilitating AI coding assistance.
Docker_MCPGUIApp
This repository provides a starter template for building full-stack AI assistants that integrate with real-world tools using Docker MCP Gateway and a Large Language Model.
Crawleo-MCP
Provides AI assistants with real-time web search and crawling capabilities via the Model Context Protocol (MCP).