streamable_http_mcp_server
Verified Safeby 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
python server.pyEnvironment 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
mcp-framework-server
A Python-based server for a Model Context Protocol (MCP) enabling interactive career orientation (proforientation) dialogues via a REST API, designed to integrate with a Telegram bot.
Weather-MCP-Server
Provides comprehensive weather information and tools via a Model Context Protocol (MCP) server using FastMCP and WeatherAPI.com.
mcp-weather-server
Provides a production-ready Model Context Protocol (MCP) server for integrating AI applications with external weather data via streamable HTTP transport.
streamable-http-mcp
Implements a basic StreamableHTTP MCP (Multi-Agent Communication Protocol) server with a weather information tool.