Back to MCP directory
publicPublicdnsLocal runtime

os-info-mcp-server

一个用于获取操作系统实时信息的MCP服务器项目

article

README

🚀 MCP 服务器用于获取操作系统信息

MCP 服务器可用于获取您操作系统的最新信息,帮助您及时了解系统状态。

🚀 快速开始

MCP 服务器旨在为您提供操作系统的最新信息,让您对系统状况了如指掌。

📦 安装指南

如果您克隆了此仓库,则可以使用以下配置:

{
  "mcpServers": {
    "os-info": {
        "command": "您的 node 路径",
        "args": [
            "到您的 dist 文件夹的路径/index.js"
        ]
    }
  }
}

您还可以使用 npx

{
  "mcpServers": {
    "os-info": {
        "command": "您的 npx 路径",
        "args": [
            "os-info-mcp-server"
        ]
    }
  }
}

💻 使用示例

基础用法

您可以通过以下示例提示来获取操作系统信息:

告诉我我的操作系统信息
我的操作系统是什么
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client