Metadata-Version: 2.4
Name: macos-sysinfo-mcp
Version: 0.1.0
Summary: MCP server for macOS system information
Project-URL: Homepage, https://github.com/QIMING/macos-sysinfo-mcp
Project-URL: Repository, https://github.com/QIMING/macos-sysinfo-mcp
Project-URL: Issues, https://github.com/QIMING/macos-sysinfo-mcp/issues
Author-email: QIMING <13728724090@163.com>
License: MIT
Keywords: macos,mcp,model-context-protocol,system-info
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.12
Requires-Dist: mcp[cli]>=1.0.0
Requires-Dist: psutil>=6.0.0
Description-Content-Type: text/markdown

# macOS System Info MCP

An MCP (Model Context Protocol) server that collects macOS system information — OS version, CPU, memory, disk, network, processes, and uptime — exposed via a single `get_os_info` tool.

## Usage

### In MCP Client Configuration

```json
{
  "mcpServers": {
    "macos-sysinfo-mcp": {
      "command": "python",
      "args": ["-m", "get_sys_info"]
    }
  }
}
```

Or with `uv` (no pre-install needed):

```json
{
  "mcpServers": {
    "macos-sysinfo-mcp": {
      "command": "uv",
      "args": [
        "run",
        "--with", "macos-sysinfo-mcp",
        "python", "-m", "get_sys_info"
      ]
    }
  }
}
```

### Tool: `get_os_info`

- **Required parameter**: `output_path` — absolute path to save the JSON result

## Development

```bash
uv sync
source .venv/bin/activate
uv run python -m get_sys_info
```
