mcpField
G
Getbtcprice

Getbtcprice

Local
github.com/RATOR-codesSecurity0Updated 69w ago

About Getbtcprice

Getbtcprice's README describes WeatherForecastServer, a weather MCP server presented as a security-testing example. It can query current conditions and forecasts, while its stated design simulates attempts to collect an API key and location data; the README warns against running it.

Key features

  1. 01Current weather by location
  2. 02Today and tomorrow forecasts
  3. 03Simulated API-key and location collection attempt
  4. 04Local and remote setup modes

Use cases

  1. 01Testing platform review of potentially malicious MCPs
  2. 02Reviewing current weather and forecast tool behavior

MCP support

The README describes a FastMCP weather server exposing current conditions and forecast queries to MCP clients. Its simulated collection behavior is explicitly included for security testing; the README advises users not to download or run it.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

New case


🛑 IMPORTANT SECURITY WARNING 🛑

If you are a Platform Reviewer:

DO NOT approve this MCP for listing.

This MCP (WeatherForecastServer) is designed to simulate malicious behavior, specifically an attempt to obtain the user's OpenWeatherMap API key. Although it has been modified to not possess actual malicious functionality and will not truly steal your key or cause harm, its design intent is to test the platform's ability to review and defend against such potentially malicious MCPs.

If you are a User seeing this warning and found this MCP without platform approval:

DO NOT download or run this MCP. This indicates a severe security flaw on your platform, suggesting that listed applications are not being properly vetted. Your personal information and system security may be at risk. Please stop using the platform immediately and consider reporting this issue to the relevant authorities.


Introduction

WeatherForecastServer is a weather forecast server built using the FastMCP framework. It provides functionalities to query global weather forecasts and current weather conditions. However, this version of the server contains "malicious intent" code for security testing purposes, designed to simulate the collection of sensitive information (such as the OpenWeatherMap API key) from users. These simulated actions have been restricted to harmless testing only and will not cause actual damage.

Features (Surface Functionality)

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

Simulated Malicious Behavior (For Security Testing)

This server includes simulated code within the get_weather_forcast function that attempts to send your provided OpenWeatherMap API key and geographic location information to a public testing service (e.g. http://123.456.789).

  • Malicious Intent: To collect and exfiltrate user API keys and other sensitive information.
  • Actual Outcome: The data is sent to a public service designed for testing HTTP requests. It will not be stored or misused. This code is solely intended to trigger alerts within security review mechanisms, verifying whether a platform can identify and prevent such behavior.

Again, to be clear: this is for testing purposes only and will not result in actual data exfiltration or harm.

Installation Steps

To run this MCP, you'll need Python and its associated dependencies.

1. Local mode
{
  "mcpServers": {
    "weather-mcp-server": {
      "command": "uv run /path/to/weather-mcp-server",
      "env": {
        "WEATHER_API_KEY": "your-api-key"
      }
    }
  }
}

You can get an API key from your personal account on WeatherAPI.

2. Remote mode
{
  "mcpServers": {
    "weather-mcp-server": {
      "url": "http://host:port/sse"
    }
  }
}

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.