主机信息获取工具需要什么运行环境?
需要Java 17或更高版本。若从源码构建,还需要Maven 3.6.3或更高版本。
@netbuffer
Basic information
一个轻量级的主机信息获取MCP工具,通过MCP(模型上下文协议)接口提供系统信息,基于Spring Boot3+Spring AI+OSHI(操作系统和硬件信息)库构建。
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"machine-info-mcp-server": {
"args": [
"-jar",
"machine-info-mcp-server.jar"
],
"command": "java",
"description": "获取系统信息的MCP服务",
"env": {
"JAVA_HOME": "/path/to/your/java17"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
主机信息获取工具是一个轻量级的MCP(模型上下文协议)工具,通过MCP接口提供详细的系统信息。它基于Spring Boot 3、Spring AI和OSHI(操作系统和硬件信息)库构建,适用于需要获取主机CPU、内存、磁盘、操作系统等信息的Java应用或AI集成场景。
从GitHub Releases下载machine-info-mcp-server.jar,确保系统已安装Java 17或更高版本。然后,将MCP客户端的配置文件(如~/.mcp/config.json)中添加如下JSON配置,指定command为java,args为["-jar", "machine-info-mcp-server.jar"]。保存后,重启MCP客户端,工具列表中应出现get_system_info工具。也可从源码使用Maven构建并运行。
需要Java 17或更高版本。若从源码构建,还需要Maven 3.6.3或更高版本。
将下载的jar包本地放置,并在MCP客户端配置(如`mcp.config.json`)中添加对应的`java -jar`启动指令,配置后工具列表应出现`get_system_info`。
提供`get_system_info`一个工具,返回包含CPU、内存、磁盘、操作系统的结构化JSON。
是的,每次调用`get_system_info`都会通过OSHI库实时采集当前系统数据。
理论上OSHI支持Windows、Linux、macOS等主流操作系统,具体支持由底层OSHI库决定。

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。

Model Context Protocol Servers
MCP Toolbox for Databases is an open source MCP server for databases.
Comments