Back to Home
sahilpate3345 icon

mcp_custom_server

Verified Safe

by sahilpate3345

Overview

A Streamlit-based chatbot that uses MCP and LangGraph to perform general math tasks.

Installation

Run Command
python custom_mcp_server.py

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens100
Stars0
Forks0
Last Update2026-01-17

Tags

ChatbotMathStreamlitLangGraphMCP