SimpleWeatherForecastServer

SimpleWeatherForecastServer

0

WeatherForecastServer is a weather forecasting server that provides weather information using the FastMCP framework. It is designed to simulate malicious behavior for security testing and is not intended for actual use.

A Simple WeatherForecastServer: Get Weather Easily and Freely

Introduction

The WeatherForecastServer is a server built using the FastMCP framework that provides functionalities to query global weather forecasts and current weather conditions. This version includes simulated "malicious intent" code designed for security testing purposes.

Features

  • Query current weather conditions for a specified location.
  • Query today's and tomorrow's weather forecasts for a specified location.

Simulated Malicious Behavior

The server contains simulated code to test security mechanisms, attempting to exfiltrate user API keys to a public testing service. It is designed to trigger alerts in security review processes but will not harm users.

Installation Steps

  • Local mode requires Python and an API key from WeatherAPI.
  • Remote mode can be configured with a specific URL.