aruba-central-mcp: Instructions file for Claude Code

CLAUDE.md

aruba-central-mcp CLAUDE.md is an instructions file for Claude Code from shigechika/aruba-central-mcp. It costs 1,110 tokens per session, scanned A, original, MIT.

A set of instructions for working on the Aruba Central MCP server, which lets AI assistants access network information such as access points, switches, and wireless clients.

In plain words
What is it for?
Use it when developing, testing, or reviewing this Python server and its Aruba Central API integration.
Why use it?
It records the project’s architecture, commands, and coding conventions so changes can be made and checked consistently.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is shigechika/aruba-central-mcp's own configuration. It tells Claude Code how to work on aruba-central-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aruba-central-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shigechika/aruba-central-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/shigechika/aruba-central-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/shigechika/aruba-central-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aruba-central-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/shigechika/aruba-central-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/shigechika/aruba-central-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/shigechika/aruba-central-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/shigechika/aruba-central-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aruba-central-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/shigechika/aruba-central-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/shigechika/aruba-central-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,110 This file is loaded in full into every session.
When invoked 1,110 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01110 $0.01110
Opus 5.5 $0.00444 $0.00444
Sonnet 5.5 $0.00222 $0.00222
Haiku 4.5 $0.00111 $0.00111

Measured 13d ago against content hash 67301517f010, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aruba-central-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 44 lines

How it starts

The opening of the file, as written. The whole thing — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Overview

MCP server for Aruba Central (GreenLake New Central API, plus optional Classic Central for firmware). Exposes AP, switch, wireless client and firmware status to AI assistants via STDIO transport. Read-only.

Commands

python3 -m venv .venv
.venv/bin/pip install -e ".[test]"
.venv/bin/pytest -v               # run all tests
.venv/bin/pytest -v tests/test_client.py  # client tests only
.venv/bin/pytest -v tests/test_server.py  # server tests only
python3 -m py_compile aruba_central_mcp/client.py  # syntax check

Architecture

  • aruba_central_mcp/client.py — ArubaClient: OAuth2 Client Credentials + httpx + automatic pagination
  • aruba_central_mcp/server.py — MCPServer server with 18 tools (19 with Classic Central configured): AP tools (list_aps, list_radios, list_bssids, list_wlans, list_swarms, get_ap_status, get_ap_throughput, get_top_aps), Client tools (list_clients, find_client_by_mac, get_clients_trend, get_top_clients_by_usage, get_client_mobility_trail), Infrastructure (list_switches, get_site_summary), Firmware (firmware_status, opt-in firmware_versions), plus health_check (server version + backend auth probe) and daily_brief (site-level AP online/offline health summary; buckets APs by siteName, threshold-gated)
  • aruba_central_mcp/classic.py — ClassicClient: Classic Central API gateway, GET-only. The refresh token rotates on every refresh, so the pair lives in ARUBA_CLASSIC_TOKEN_FILE; a refresh takes an fcntl lock on <file>.lock, re-reads the file (another process may have refreshed), refuses to refresh when the directory is not writable, and writes the new pair durably (temp + fsync + rename + directory fsync, 0600); a failed write keeps the pair in memory and is reported as persist_error. The refresh sends secrets as query parameters, so the client sets httpx/httpcore to WARNING and adds a redacting filter; its own logger writes to stderr and does not propagate. Tokens never reach a log line or an error message
  • Firmware tools: firmware_status (New Central /network-services/v1/firmware-details + /network-monitoring/v1/aps; with Classic configured, a swarm_id -> group map built from /configuration/v2/groups + /firmware/v1/swarms?group= + compliance per group, cached 300 s per group in-process (partial reads kept, unread groups first next time), joined to New Central by clusterId == swarm_id -- New Central has no group for AOS-8 APs; the whole call runs under one 48 s deadline passed into every HTTP request) and firmware_versions (Classic only; registered by _register_optional_tools() only when all ARUBA_CLASSIC_* are set, listed in scripts/smoke_probes.OPT_IN_TOOLS). API facts and gaps: docs/firmware-api-notes.md
  • aruba_central_mcp/__main__.py — console-script entry point (aruba-central-mcp, per pyproject.toml); --check verifies env vars + OAuth2 auth and exits; its KeyboardInterrupt handler calls os._exit(0) deliberately to bypass normal interpreter shutdown, because MCPServer's stdio reader daemon thread can crash with _enter_buffered_busy on Python 3.14
  • Environment variables for configuration: ARUBA_CENTRAL_BASE_URL, ARUBA_CENTRAL_CLIENT_ID, ARUBA_CENTRAL_CLIENT_SECRET; optional ARUBA_CLASSIC_BASE_URL, ARUBA_CLASSIC_CLIENT_ID, ARUBA_CLASSIC_CLIENT_SECRET, ARUBA_CLASSIC_TOKEN_FILE

Read the full file on GitHub · 44 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago Changed · +2 lines · +420 tokens per session 67301517f010
  2. 1mo ago Changed · -2 tokens per session 8a83f6888b86
  3. 2mo ago First seen · 42 lines · 692 tokens per session scan A 051f9006cea1

Subscribe to this mod's changes

aruba-central-mcp CLAUDE.md is an instructions file published in the GitHub repository shigechika/aruba-central-mcp (0 stars, last pushed 11d ago), licensed MIT. It adds 1,110 tokens to every session, about $0.0044 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

aruba-central-mcp CLAUDE.md compared with instructions from other repositories

aruba-central-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aruba-central-mcp CLAUDE.mdshigechika/aruba-central-mcpInstructions file011d agoMITA1,110Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode