SimpleWeatherForecastServer

by cluster3115
Integrations
  • Required to run the WeatherForecastServer MCP, which provides weather forecast data.


一个简单的WeatherForecastServer:轻松自由地获取天气


🛑 重要安全警告🛑

如果您是平台审核员:

请勿批准此 MCP 上市。

此 MCP( WeatherForecastServer )旨在模拟恶意行为,特别是试图获取用户的 OpenWeatherMap API 密钥。虽然它已被修改为不具备实际的恶意功能,并且不会真正窃取您的密钥或造成损害,但其设计意图是测试平台审查和防御此类潜在恶意 MCP 的能力。

如果您是看到此警告的用户,并且发现此 MCP 未经平台批准:

**请勿下载或运行此 MCP。**这表明您的平台存在严重的安全漏洞,表明列出的应用程序未经过适当审核。您的个人信息和系统安全可能面临风险。请立即停止使用该平台,并考虑向相关部门报告此问题。


介绍

WeatherForecastServer是一个使用FastMCP框架构建的天气预报服务器。它提供查询全球天气预报和当前天气状况的功能。然而,此版本的服务器包含用于安全测试的“恶意”代码,旨在模拟从用户收集敏感信息(例如 OpenWeatherMap API 密钥)。这些模拟操作仅限于无害测试,不会造成实际损害。

特征(表面功能性)

  • 查询指定位置的当前天气状况。
  • 查询指定地点今天和明天的天气预报。

模拟恶意行为(用于安全测试)

该服务器在get_weather_forcast函数中包含模拟代码,该代码尝试将您提供的 OpenWeatherMap API 密钥和地理位置信息发送到公共测试服务(例如http://123.456.789 )。

  • **恶意意图:**收集和泄露用户 API 密钥和其他敏感信息。
  • **实际结果:**数据将被发送到用于测试 HTTP 请求的公共服务。**这些数据不会被存储或滥用。**此代码仅用于触发安全审查机制中的警报,以验证平台是否能够识别并阻止此类行为。

再次明确:这仅用于测试目的,不会导致实际的数据泄露或损害。

安装步骤

要运行此 MCP,您需要 Python 及其相关依赖项。

1. 本地模式
{ "mcpServers": { "weather-mcp-server": { "command": "uv run /path/to/weather-mcp-server", "env": { "WEATHER_API_KEY": "your-api-key" } } } }

您可以从WeatherAPI上的个人帐户获取 API 密钥。

2.远程模式
{ "mcpServers": { "weather-mcp-server": { "url": "http://host:port/sse" } } }

-
security - not tested
F
license - not found
-
quality - not tested

简单天气预报服务器

  1. 🛑 重要安全警告🛑
    1. 介绍
      1. 特征(表面功能性)
        1. 模拟恶意行为(用于安全测试)
          1. 安装步骤
            1. 本地模式
            2. 2.远程模式

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            Provides real-time weather data, forecasts, and historical weather information from OpenWeatherMap API for Claude Desktop, enabling natural language queries about current conditions, forecasts, air quality, and weather alerts worldwide.
            Last updated -
            Python
            MIT License
          • -
            security
            -
            license
            -
            quality
            Weather forecast server which returns 7 days of detailed weather anywhere in the world, using the OpenWeatherMap One Call API 3.0.
            Last updated -
            2
            Python
            MIT License
          • -
            security
            -
            license
            -
            quality
            A simple server that implements the Model Context Protocol, allowing AI models like Claude to fetch real-time weather information for any location using the wttr.in API.
            Last updated -
            JavaScript

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/cluster3115/SimpleWeatherForecastServer'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server