主机信息获取工具需要什么运行环境?
需要Java 17或更高版本。若从源码构建,还需要Maven 3.6.3或更高版本。
@netbuffer
基本信息
一个轻量级的主机信息获取MCP工具,通过MCP(模型上下文协议)接口提供系统信息,基于Spring Boot3+Spring AI+OSHI(操作系统和硬件信息)库构建。
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"machine-info-mcp-server": {
"args": [
"-jar",
"machine-info-mcp-server.jar"
],
"command": "java",
"description": "获取系统信息的MCP服务",
"env": {
"JAVA_HOME": "/path/to/your/java17"
}
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
主机信息获取工具是一个轻量级的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库决定。

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
评论