mcp-server-for-pc

mcp-server-for-pc

4

PC-MCP is an MCP server designed to provide easy access to weather data and perform various system functions on a PC. It supports features such as querying weather alerts, obtaining weather forecasts, and scheduling system shutdowns or restarts.

PC-MCP

A Model Context Protocol (MCP) server for accessing weather data and system functions from PC.

Features

  • Weather Alerts: Query active weather alerts by US state code
  • Weather Forecasts: Get detailed local weather forecasts by coordinates
  • System Shutdown/Restart: Schedule system shutdown or restart
  • Smart Browser Search: Open browser and perform searches with intelligent URL detection
  • Screenshot Capture: Capture and save screenshots

Technology Stack

  • TypeScript
  • Node.js
  • Model Context Protocol (MCP) SDK
  • Zod for parameter validation

API Information

This tool uses the US National Weather Service (NWS) API for weather data, supporting weather information queries only for US regions.

Logging System

The application automatically creates a mcp-server-for-pc.log file in the current working directory, recording all operations and error information for troubleshooting.

System Requirements

  • Node.js v18 or higher
  • Supports Windows, macOS, and Linux systems.