mcp -for-pc
针对操作个人电脑的mcp服务器,该项目当前主要针对smart-pet-with-mcp项目的搭配演示用
claude mcp add --transport stdio shijianzhong-mcp-server-for-pc npx -y pc-mcp
How to use
This MCP server (PC-MCP) exposes a set of PC-oriented automation commands that leverage weather data and system utilities. It provides weather alerts by US state code, local weather forecasts by coordinates, and practical system actions such as scheduling shutdowns or restarts. It also includes smart browser search capabilities and the ability to capture screenshots. After starting with npx pc-mcp, you can invoke commands like get_alerts, get_forecast, shutdown_system, open_browser_search, and capture_screenshot, each with their respective parameters. For example, get_alerts requires a two-letter US state code (e.g., CA or NY), while get_forecast needs latitude and longitude within valid ranges. The open_browser_search command can optionally take a URL, a preferred browser, and an autoFindUrl flag to infer a URL from your search terms. capture_screenshot lets you save a screenshot to a specified path if needed.
How to install
Prerequisites:
- Node.js v18 or higher
- npm (comes with Node.js) or yarn/pnpm as alternative package managers
Option A: Run without installing a global package (recommended)
-
Ensure Node.js is installed (node -v) and npm is available (npm -v).
-
Use npx to run the MCP server directly from the npm registry:
npx pc-mcp
Option B: Install globally and run locally
-
Install the package globally:
npm install -g pc-mcp
-
Start the server:
pc-mcp
Option C: Local development workflow (from repository)
-
Clone the repository and navigate into it:
git clone <repository-url> cd pc-mcp
-
Install dependencies:
npm install
or using pnpm
pnpm install
-
Build the project:
npm run build
-
Run locally (from built output):
node build/index.js
Additional notes
Tips and considerations:
- The server uses the US National Weather Service (NWS) API, so weather data is for the US region.
- Logs are written to mcp-server-for-pc.log in the current working directory for troubleshooting.
- Ensure Node.js v18+ is installed and the host system meets the OS requirements (Windows, macOS, Linux).
- When using open_browser_search, you can leverage autoFindUrl to have the tool infer a URL from your search terms.
- The npm package name is pc-mcp. Publishing steps in the README show how to login to npm, build, and publish the package.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.