Back to Home
small-xiexu icon

mcp-server-computer-study

Verified Safe

by small-xiexu

Overview

An AI agent tool server implementing Model Context Protocol (MCP) to provide various functionalities for AI models, such as system information retrieval, database exports, weather queries, and CSDN article publishing.

Installation

Run Command
mvn spring-boot:run

Environment Variables

  • CSDN_CA_KEY
  • CSDN_CA_NONCE
  • CSDN_CA_SIGNATURE

Security Notes

The server implements robust multi-layered security for database operations, including a business-layer SQL validator and a Druid SQL firewall, explicitly blocking write/DDL operations and SQL injection vectors. File path validation prevents path traversal attacks during CSV export. CSDN API authentication secrets (cookies, x-ca-* headers) are externalized to local files and environment variables, avoiding hardcoding. The `ComputerService` executes fixed system commands (`systeminfo`, `system_profiler`, `lshw`) which inherently carry environmental risks but are not directly exploitable via user input in this implementation. The default 'admin'/'admin123' credentials for the Druid monitoring page are a minor weakness, though the web server and thus the monitoring UI are disabled by default in `application.yml` for MCP server's STDIO communication model.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2026-01-19

Tags

MCP ServerSpring AIAI ToolsDatabase ExportCSDN Publishing