Skip to main content
Glama

CPU-Z MCP POC

A small Model Context Protocol server that reads the current machine's CPU, memory, and disk information. It runs over stdio, so it can be used from the MCP Inspector or any MCP-compatible client.

Requirements

  • Node.js 24.20.0 or newer

  • pnpm 10.17.1 or newer

Related MCP server: simple-MCP

Install

pnpm install

Run it

Start the MCP server directly:

pnpm mcp:serve

The server waits for an MCP client over stdin/stdout. To explore it through a visual interface, use the MCP Inspector:

pnpm mcp:inspect

mcp:inspect starts the server and opens the MCP Inspector, a small web UI for connecting to the server and trying its MCP capabilities without configuring another client. In the Inspector:

  1. Connect to the server started by the command.

  2. Open Tools and run cpu-info_finder, memory-info_finder, or disk-info_finder.

  3. Open Resources and read cpu://info for structured CPU data.

  4. Open Prompts, choose computer-purpose-upgrade, and set purpose to gaming, home_office, or video_editor.

Use from an MCP client

Add the server to an MCP client's configuration. Use an absolute path to this repository:

{
  "mcpServers": {
    "cpu-z": {
      "command": "node",
      "args": ["/absolute/path/to/my-cpu-z-mcp-poc/src/app/mcp/server.ts"]
    }
  }
}

Restart the client, then ask it to inspect the computer. For example:

Check my CPU, memory, and disk usage, then tell me whether this computer is ready for home office work.

Available capabilities

Type

Name

What it does

Tool

cpu-info_finder

Reads CPU model, architecture, cores, speed, and usage.

Tool

memory-info_finder

Reads total, free, and used system memory.

Tool

disk-info_finder

Reads disk totals and usage for the current working directory.

Resource

cpu://info

Returns structured CPU information as JSON.

Prompt

computer-purpose-upgrade

Creates an upgrade assessment for gaming, home office, or video editing.

Development checks

pnpm typecheck
pnpm lint
pnpm fmt:check

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides system hardware information (CPU, memory, storage, etc.) and system status (OS, network, resource usage) via MCP tools.
      2
      10 npm
      ISC
    • F
      license
      A
      quality
      D
      maintenance
      A minimal MCP server that exposes a single tool to query local hardware information (OS, CPU, memory, architecture).
      1
      -
    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP-aware AI agents to query the local machine's health over stdio, retrieving CPU, memory, disk, and load-average metrics along with boot time and the top processes by CPU usage. It gives coding agents a structured, protocol-standard way to answer questions like whether it is safe to run a build or what is currently consuming resources.
      2
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables administering Ubuntu hosts through MCP over stdio, currently exposing a read-only get_system_info tool that reports OS release, hostname, kernel, architecture, memory, and root filesystem capacity.
      MIT