Skip to main content
Glama
README.md
# mcp-oneprobe

MCP server for Infrastructure Monitoring Wrapper (oneprobe extension).

## Tools

### get_infra_health
Get infrastructure health overview.

**Parameters:**
- `host_ids` (array, optional): Host IDs to check (optional, returns all if not provided)

### get_metrics
Get detailed metrics for a host.

**Parameters:**
- `host_id` (string, required): Host identifier
- `metrics` (array, optional): Metrics to fetch - cpu, memory, disk, network, load (default: all)

### get_alerts
Get active alerts for hosts.

**Parameters:**
- `host_id` (string, optional): Host identifier (optional, returns all if not provided)
- `severity` (string, optional): critical, warning, info, or all (default: all)

### get_optimization_recommendations
Get infrastructure optimization recommendations.

**Parameters:**
- `host_id` (string, optional): Host identifier (optional, returns for all if not provided)

## Installation

```bash
pip install -r requirements.txt
```

## Usage

```bash
python main.py
```

## Connecting to Claude Desktop

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "oneprobe": {
      "command": "python",
      "args": ["/path/to/mcp-oneprobe/main.py"],
      "cwd": "/path/to/mcp-oneprobe"
    }
  }
}
```

## License

MIT