Back to Home
mdownes icon

ai-langchain-mcp

Verified Safe

by mdownes

Overview

An AI agent that leverages a microservice backend (MCP server) to use tools for fetching weather information and performing basic math operations.

Installation

Run Command
python main.py

Environment Variables

  • OPENAI_API_KEY

Security Notes

The system is generally safe. The `mcp_server.py` listens on `0.0.0.0` (all interfaces), which could expose the tool execution API if the machine has a public IP. However, the `agent.py` is configured to call `localhost:8000`, limiting internal exposure. The tools themselves (`weather_tool`, `math_tool`) have very restricted functionality (dummy data, simple math) and do not expose any dangerous system commands or file access, mitigating the risk of external abuse.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-11-19

Tags

AI AgentLangChainTool UseFastAPIMicroservices