Back to Home
htzzzzzz icon

streamable_http_mcp_server

Verified Safe

by htzzzzzz

Overview

This project implements a Multi-tool Communication Protocol (MCP) server that provides a weather lookup tool and a client that orchestrates LLM function calling with such MCP servers, allowing an AI to dynamically use external tools.

Installation

Run Command
python server.py

Environment Variables

  • OPENAI_API_KEY
  • XINZHI_WEATHER_API_KEY

Security Notes

API keys are correctly loaded from environment variables (OPENAI_API_KEY, XINZHI_WEATHER_API_KEY). The server handles different MCP protocol methods and performs basic input validation for the 'city' parameter. No 'eval', code obfuscation, or obvious malicious patterns were detected. Users should ensure any configured MCP server endpoints in `servers_config.json` are trusted.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2025-11-27

Tags

MCPLLMFunction CallingFastAPIStreaming