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 MCP (Model Context Protocol) server for processing AI-driven career orientation requests using various frameworks and storing conversation history.
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.
mcp-weather-bot
Provides real-time weather information to AI agents (like Claude/Cursor) via a FastMCP server.