Skip to main content
Glama
mikewegmann

baramundi MCP Server

by mikewegmann
README.md
# baramundi MCP Server

MCP (Model Context Protocol) Server für das baramundi Management Center.
Erlaubt Claude, Geräte abzufragen, Jobs zu starten und Compliance-Reports zu generieren.

## Voraussetzungen

- Python 3.11+
- [uv](https://docs.astral.sh/uv/) (`pip install uv`)
- Zugang zum baramundi Management Center mit REST API und Bearer Token

## Einrichtung

### 1. Abhängigkeiten installieren

```bash
uv sync
```

### 2. Konfiguration

Erstelle eine `.env`-Datei (basierend auf `.env.example`):

```bash
BARAMUNDI_API_URL=https://dein-bmc-server/api
BARAMUNDI_API_TOKEN=dein-bearer-token
# Optional: SSL-Verifikation deaktivieren (nur für Testumgebungen!)
# BARAMUNDI_SSL_VERIFY=false
```

### 3. Server testen

```bash
# Alle Tools im Browser testen (MCP Inspector)
uv run mcp dev src/baramundi_mcp/server.py
```

## In Claude Desktop einbinden

Füge folgendes in `%APPDATA%\Claude\claude_desktop_config.json` ein:

```json
{
  "mcpServers": {
    "baramundi": {
      "command": "uv",
      "args": ["--directory", "C:\\INST\\Git\\Antigravity\\baramundi_MCP", "run", "baramundi-mcp"]
    }
  }
}
```

## Verfügbare Tools

| Tool | Beschreibung |
|---|---|
| `list_devices` | Alle verwalteten Geräte auflisten |
| `get_device` | Details zu einem Gerät abrufen |
| `get_device_status` | Patch-Level und Status eines Geräts |
| `list_jobs` | Jobs auflisten (aktiv, geplant, abgeschlossen) |
| `get_job_status` | Status eines laufenden Jobs |
| `start_job` | Job auf einem Gerät starten (**schreibend!**) |
| `get_compliance_report` | Patch-Compliance-Übersicht |
| `list_software_inventory` | Software-Inventar abfragen |

TDQS

A4.2/5.0

Scored across 17 tools

Disambiguation5/5

Each tool targets a distinct resource and action: device queries, update status, software inventory, VLAN, job definitions, instances, and various reports. No overlapping purposes; descriptions clearly differentiate even similar-sounding report tools.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case (e.g., get_device, list_devices, search_devices, start_job). No mixing of styles or vague verbs.

Tool Count5/5

17 tools cover the main functionalities of a device management server: device query, update status, software inventory, job management, and reports. The count is well-scoped for the domain without unnecessary redundancy.

Completeness4/5

The tool surface covers core operations: reading devices, updates, software, jobs, and reports, plus starting jobs. Missing write operations like creating/deleting devices or job definitions, but these may be out of scope for a read/execute-focused server.

Maintenance

ActivityStale
ResponsivenessNo issues