mcp_custom_server
Verified Safeby sahilpate3345
Overview
A Streamlit-based chatbot that uses MCP and LangGraph to perform general math tasks.
Installation
python custom_mcp_server.pyEnvironment Variables
- GOOGLE_API_KEY
Security Notes
The server defines specific math tools (add, multiply, divide, square_root, factorial) which are inherently safe and do not allow for arbitrary code execution. Secrets (GOOGLE_API_KEY) are loaded from environment variables using `dotenv` rather than being hardcoded. The `FastMCP` server binds to a local address (127.0.0.1), limiting direct external exposure. No explicit use of dangerous functions like `eval` or `exec` is present in the provided code snippets for user input processing.
Similar Servers
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.
fastchat-mcp
A Python client for integrating Language Models with Model Context Protocol (MCP) servers, allowing natural language interaction with external tools, resources, and prompts.
tiny_chat
A RAG-enabled chat application that integrates with various LLM backends (OpenAI, Ollama, vLLM) and a Qdrant vector database, offering web search capabilities and an OpenAI-compatible API.
nova-llm
A full-stack LLM agent workflow with custom tool calling capabilities and configuration with Model Context Protocol (MCP) servers, supporting multiple Gemini models.