From it-operations
Use this skill when working with the Auvik MCP tools - JSON:API envelope shape, basic-auth credential model, region routing, cursor-based pagination, rate-limit handling, and the v1 vs v2 device API distinction.
How this skill is triggered — by the user, by Claude, or both
Slash command
/it-operations:auvik-api-patternsWhen to use
When working with Auvik authentication, region selection, pagination, rate limits, or interpreting the JSON:API response shape
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
The Auvik MCP server wraps the Auvik REST API (`https://auvikapi.{region}.my.auvik.com/v1` and `/v2`) and exposes tools across tenants, devices, networks, interfaces, configurations, alerts, statistics, and billing. Two quirks to know up front: Auvik uses HTTP Basic auth with `username:apiKey` (not a bearer token), and the API base URL is region-pinned - your credentials only work against the c...
The Auvik MCP server wraps the Auvik REST API (https://auvikapi.{region}.my.auvik.com/v1 and /v2) and exposes tools across tenants, devices, networks, interfaces, configurations, alerts, statistics, and billing. Two quirks to know up front: Auvik uses HTTP Basic auth with username:apiKey (not a bearer token), and the API base URL is region-pinned - your credentials only work against the cluster your tenant lives in.
Auvik authenticates with HTTP Basic - the username is the Auvik user's email and the password is the API key.
| Field | Value |
|---|---|
| Auth scheme | HTTP Basic |
| Username | AUVIK_USERNAME (your Auvik login email) |
| Password | AUVIK_API_KEY |
The MCP server handles the basic-auth encoding. Set the env vars; do not pre-encode.
Auvik tenants live in one of several regional clusters:
| Region | Base host |
|---|---|
us1 | auvikapi.us1.my.auvik.com |
us2 | auvikapi.us2.my.auvik.com |
us3 | auvikapi.us3.my.auvik.com |
us4 | auvikapi.us4.my.auvik.com |
eu1 | auvikapi.eu1.my.auvik.com |
eu2 | auvikapi.eu2.my.auvik.com |
au1 | auvikapi.au1.my.auvik.com |
ca1 | auvikapi.ca1.my.auvik.com |
Set AUVIK_REGION to pin the region. If omitted, the server attempts to detect the region from the credentials. Misroutes typically surface as 404 or redirect loops on calls that should obviously succeed.
Auvik returns JSON:API-shaped responses. The tools surface this through to users, so know the shape:
{
"data": [
{
"id": "...",
"type": "device",
"attributes": { ... },
"relationships": { ... }
}
],
"links": { "next": "...", "prev": "...", "first": "...", "last": "..." },
"meta": { "totalRecords": 1284, "totalPages": 26 },
"included": [ ... ]
}
Key points:
attributes, not the top level.relationships, not embedded - use included (when present) for sideloads.links.next for the next page rather than constructing the URL yourself.Singletons (*_get style tools) return data as an object, not an array.
Auvik uses cursor-style pagination via links.next. Pattern:
data and links.next.links.next is non-null, the tool exposes a way to fetch the next page (usually a page_first / page_after argument that the MCP server populates from the cursor).links.next is null or your accumulated count reaches a sane cap.Use page sizes of 100-500. Larger pages can time out on big tenants.
meta.totalRecords is the authoritative count - prefer it over counting accumulated rows when reporting size.
Auvik enforces per-API-key rate limits. Behavior at limit:
Retry-After header.Statistics endpoints (auvik_statistics_*) are noticeably heavier than entity listings - rate-limit pressure usually shows up there first when scanning a large tenant.
Auvik exposes two generations of device endpoints. The MCP tools split them:
| Tool | API |
|---|---|
auvik_devices_list, auvik_devices_get | v1 - light record, fast |
auvik_devices_get_details | v2 - extended attributes |
auvik_devices_get_lifecycle | v2 - lifecycle fields |
auvik_devices_get_warranty | v2 - warranty fields |
Default to v1 for bulk listings; reach for v2 only when you need the extended fields. Calling v2 tools in a tight loop over a large device set is the single most common cause of rate-limit problems.
Auvik is multi-tenant by design - a single MSP credential sees every client tenant the MSP manages. Pattern:
auvik_tenants_list to enumerate visible tenants.tenant_id (or tenantId, depending on the tool) on subsequent calls.| Code | Meaning | Fix |
|---|---|---|
| 401 | Bad credentials | Check AUVIK_USERNAME + AUVIK_API_KEY |
| 403 | Credentials valid, no access to the resource | Wrong tenant, or key lacks scope |
| 404 | Unknown ID, or wrong region | Verify region; verify ID |
| 429 | Rate limit | Back off; narrow the query |
| 500 | Auvik-side hiccup | Retry, then escalate |
tenant_id explicitly on per-tenant reports - implicit scoping is a source of cross-tenant data leaks in human-facing output.auvik_tenants_list results within a session - the tenant list rarely changes.npx claudepluginhub p/henssler-financial-it-operations-plugins-it-operationsGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Provides Slack GIF creation utilities with dimension/FPS/color constraints and Python PIL-based frame generation. Use for animated Slack emoji or message GIFs.