Skip to main content
Glama

aussiebb-mcp

An MCP server for Aussie Broadband NBN diagnostics — the same tests the MyAussie portal offers under "All Service Tests" (Check/Kick Connection, Loopback, NTD Status/Reset), plus test history, NBN outages, speed test results, and fault tickets. Give your AI assistant the other half of the "is the internet down?" question: when the LAN view says the WAN is dead, these tools say whether it's the ISP/NBN side.

Unofficial API — use at your own risk. This project is not affiliated with or endorsed by Aussie Broadband. It talks to the undocumented MyAussie JSON API (myaussie-api.aussiebroadband.com.au) — the same API the portal SPA and the Home Assistant integration (pyaussiebb) use — which can change or break without notice. Two tools (kick_connection, ntd_reset) deliberately disconnect your service; they refuse to run without confirm=true, but understand what they do before granting it. Your portal credentials go into an env file — protect it accordingly, and use the API respectfully.

Tools

Services are addressed by a site alias (optional, from AUSSIEBB_SERVICES), a raw numeric service_id, or 'all'. Read-only tools default to all; test-running tools require exactly one service.

Tool

Params

Notes

list_services

service_type='NBN'

ids, aliases, plan/speed/POI, WAN IPs

list_diagnostics

service='all'

what AussieBB offers, destructive flags

check_connection

service='all'

instant ISP-side "is it connected" — run this first

ntd_status

service, wait=True, timeout_s=180

~2 min; link state, uptime, flap count (dropout evidence)

loopback_test

service, wait=True, timeout_s=180

~2 min; two-way data proof to the NBN box/node

test_result

service, test_id

fetch one run's status/result (for wait=False flows)

test_history

service='all', limit=10

recent runs with pass/fail summaries

service_outages

service='all'

current + scheduled + resolved NBN/ABB outages

speed_test_results

service='all'

ABB-recorded speed tests

list_faults

include_details=True

open fault tickets (account-wide)

kick_connection

service, confirm=False

DESTRUCTIVE — drops the session (modem swaps); refuses without confirm=true

ntd_reset

service, confirm=False, wait, timeout_s

DESTRUCTIVE — reboots the NBN box; refuses without confirm=true

run_diagnostic

test, service, wait, timeout_s, confirm

escape hatch for any test by name; destructive names still gated

Failed or unfinished tests carry AussieBB's own "report a fault if" guidance in the response — the API's failure payloads are otherwise bare.

Related MCP server: tickiti-mcp

Quick start (stdio)

Most users need exactly two env vars — services are discovered live from the account:

// e.g. Claude Desktop claude_desktop_config.json / Claude Code .mcp.json
{
  "mcpServers": {
    "aussiebb": {
      "command": "uv",
      "args": ["run", "--project", "/path/to/aussiebb-mcp", "aussiebb-mcp", "--stdio"],
      "env": {
        "AUSSIEBB_USERNAME": "you@example.com",
        "AUSSIEBB_PASSWORD": "..."
      }
    }
  }
}

Prefer an env file over inline credentials where your client supports it (uv run --env-file ...). stdio mode has no network surface and skips bearer auth — the client owns the process.

Configuration

Env var

Default

Purpose

AUSSIEBB_USERNAME / AUSSIEBB_PASSWORD

(empty)

MyAussie portal login. Tools error clearly when unset.

AUSSIEBB_SERVICES

(empty)

Optional alias=id map, e.g. home=1000001,office=1000002. Aliases become tool vocabulary (and are baked into the server instructions); without it, services are discovered live.

AUSSIEBB_SESSION_FILE

~/.local/state/aussiebb-mcp/session.json

Where the ~1-year login cookie persists (0600, dir 0700).

PORT

8329

HTTP listen port.

MCP_BEARER_TOKEN

(empty)

Required in HTTP mode; server refuses to start without it. Not used in --stdio mode.

HTTP mode (container)

The bundled Containerfile builds a Streamable HTTP server at /mcp (stateless). HTTP mode refuses to start without MCP_BEARER_TOKEN; clients authenticate with Authorization: Bearer <token>.

podman build -t aussiebb-mcp .   # or: docker build -t aussiebb-mcp .
podman run -d --name aussiebb-mcp -p 8329:8329 -v abb-state:/data \
  -e AUSSIEBB_USERNAME=you@example.com -e AUSSIEBB_PASSWORD=... \
  -e AUSSIEBB_SESSION_FILE=/data/session.json \
  -e MCP_BEARER_TOKEN=some-long-random-token \
  aussiebb-mcp

Persist the session file across restarts (the volume above) — the login endpoint rate-limits hard, and the cookie lives about a year. aussiebb_mcp.healthcheck does a full HTTP round-trip to /mcp (the 401 counts as alive); wire it to your container healthcheck. Terminate TLS at a reverse proxy — the server itself speaks plain HTTP.

API notes (hard-won)

  • Login (POST myaussie-auth.../login) returns a myaussie_cookie valid ~1 year. The endpoint is aggressively rate-limited (429) — the client persists the session to disk, logs in lazily, re-logs-in at most once per request on 401/419 (invalidating in memory only, so a failed re-login can't destroy a persisted cookie), and serializes login behind a lock. Never retry-loop a 429.

  • Check and Kick share one URL (/broadband/{sid}/connection): GET = harmless check, POST = drops the session. Dispatch is strictly name → (path, method) via the TESTS registry; the link field from the available-tests response is never blind-POSTed.

  • Async tests return a record immediately (status: WaitingToBeQueued) and are polled at GET /tests/{sid}/{test_id} through InProgress to Completed (result: Passed|Failed), ~115 s total in practice.

Testing

# Tier 1+2 — pure units + mocked-transport client/server logic
# (no network, no credentials — fully fabricated fixtures)
uv run --extra test pytest tests/ --ignore=tests/test_integration.py -v

# Tier 3 — live read-only API tests (login, services, check_connection,
# history, outages; starts no test runs, changes nothing)
AUSSIEBB_TEST=1 AUSSIEBB_USERNAME=... AUSSIEBB_PASSWORD=... \
    uv run --extra test pytest tests/test_integration.py -v

# optional: one live NTD Status run (~2 min, shows up in portal history)
AUSSIEBB_TEST=1 AUSSIEBB_TEST_RUN=1 AUSSIEBB_USERNAME=... AUSSIEBB_PASSWORD=... \
    uv run --extra test pytest tests/test_integration.py -v

kick_connection and ntd_reset are never exercised by any automated tier.

License

MIT

Available Tools

13 tools
check_connectionA

Instant ISP-side connectivity check: is the service connected from AussieBB's end? Safe, non-disruptive. THE first diagnostic to run. service: a site alias | service_id | 'all' (default).

Inputs: service.

kick_connectionA

DESTRUCTIVE: drop the service's session at AussieBB (use when swapping the modem/router; reconnection can take ~10 min). Refuses unless confirm=true — get the user's explicit approval first. service: a site alias | service_id (never 'all').

Inputs: service (required), confirm.

list_diagnosticsB

List the diagnostics AussieBB offers for a service (name, summary, which are destructive). service: a site alias | id | 'all'.

Inputs: service.

list_faultsC

Open fault tickets on the AussieBB account (account-wide, not per-service).

Inputs: include_details.

list_servicesA

List services on the AussieBB account: service_id, site alias, plan, speed tier, address, WAN IPs. service_type: 'NBN' (default) or 'all'.

Inputs: service_type.

loopback_testA

Run a Loopback test (~2 min): proves data passes both ways between AussieBB and the NBN box/node. Safe, non-disruptive. service: a site alias | service_id. wait=False returns immediately with a test id to poll via test_result.

Inputs: service (required), wait, timeout_s.

ntd_resetA

DESTRUCTIVE: reboot the NBN box (minutes of outage while it restarts). Only useful when NTD Status errors. Refuses unless confirm=true — get the user's explicit approval first. service: a site alias | service_id (never 'all').

Inputs: service (required), wait, confirm, timeout_s.

ntd_statusA

Run an NTD Status test (~2 min): NBN box link state, uptime, and dropout ('flap') count — the evidence AussieBB's fault process keys on. Safe, non-disruptive. service: a site alias | service_id. wait=False returns immediately with a test id to poll via test_result.

Inputs: service (required), wait, timeout_s.

run_diagnosticA

Run any diagnostic by name ('NTD Status', 'loopback', ...) — escape hatch equivalent to the portal's Run Tests buttons. Destructive tests (kick_connection, ntd_reset) still require confirm=true. service: a site alias | service_id.

Inputs: test (required), service (required), wait, confirm, +1 more.

service_outagesA

Current, scheduled, and resolved NBN/AussieBB outages for the service — check this before blaming local gear. service: a site alias | service_id | 'all' (default).

Inputs: service.

speed_test_resultsB

Speed test results recorded against the service by AussieBB. service: a site alias | service_id | 'all' (default).

Inputs: service.

test_historyC

Recent diagnostic runs (type, status, Passed/Failed, timestamps). service: a site alias | service_id | 'all' (default).

Inputs: limit, service.

test_resultA

Fetch one test's current status/result by id (from test_history or a wait=False run). service: a site alias | service_id.

Inputs: service (required), test_id (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 13 tools

    Disambiguation5/5

    Each tool has a distinct purpose: listing services, listing diagnostics, running specific tests, fetching results, checking history, outages, speed tests, faults, and destructive actions. Even similar diagnostics (check_connection, ntd_status, loopback_test) are clearly differentiated by their descriptions, and run_diagnostic serves as an explicit escape hatch.

    Naming Consistency4/5

    Most tools follow a verb_noun pattern (list_services, check_connection, run_diagnostic), but some are noun-first test names (ntd_status, loopback_test, speed_test_results). The naming is readable and generally predictable, though not perfectly uniform.

    Tool Count5/5

    13 tools is well-scoped for an ISP diagnostics and management server. Each tool covers a real need (service listing, connectivity checks, test execution, result retrieval, outages, faults, destructive actions), and the count is not excessive.

    Completeness4/5

    The server provides comprehensive diagnostic coverage, including running tests, fetching results, and viewing history, plus outages and service info. Minor gaps exist like lack of fault creation, but the presence of run_diagnostic as a catch-all and the account-wide focus mitigate these.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      MCP server for Domotz network monitoring and management. Enables AI assistants to query network devices, alerts, and topology via the Domotz API.
      2
      Apache 2.0
    • A
      license
      B
      quality
      B
      maintenance
      An MCP server that exposes the Tickiti helpdesk API to AI assistants, enabling ticket management and helpdesk operations via natural language.
      11
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that provides tools to look up and verify Australian businesses using the Australian Business Register API, enabling AI agents to retrieve business details via ABN, ACN, or name search.
      3
      ISC