-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[Community Server] safe-omada-mcp: AI-native network management for TP-Link Omada controllers #3826
Copy link
Copy link
Open
Description
safe-omada-mcp
Repository: https://github.com/gaspareduard/Omada-mcp
npm: safe-omada-mcp
Description: Security-focused MCP server that exposes the TP-Link Omada Open API to Claude and other MCP-compatible AI agents. Instead of navigating the Omada web UI or writing custom scripts, you ask Claude — it handles diagnostics, configuration, backups, and network health checks through 364 verified tools.
What makes it different from a basic API wrapper:
- Composite tools —
getNetworkHealthSummary,getGatewayHealth,diagnoseClient,getSecurityOvervieweach run 3–4 parallel API calls internally usingPromise.allSettled, with graceful degradation if individual endpoints fail - Dry-run on every mutation — every write tool supports
dryRun: trueso you see the planned action before it executes - Capability profiles —
safe-read(default, zero writes),ops-write(scoped mutations),admin(full access). Explicit control over how much the AI can touch. - 364 verified tools across 40 API categories — every endpoint validated against the Omada Open API spec, not guessed
- 2,371 tests at 97%+ coverage — production-grade test discipline
Tools provided (highlights):
getNetworkHealthSummary— dashboard overview + WAN status + client distribution + recent threats in one callgetGatewayHealth— auto-discovers gateway, returns detail + WAN + LAN + ports in paralleldiagnoseClient— resolves MAC/IP/hostname, returns status + detail + last 10 connection sessionsgetSecurityOverview— active threat list + firewall settingsbackupController/restoreController— controller backup/restore with dry-run supportblockClient/unblockClient/reconnectClient— client management- Full CRUD for ACL rules, DHCP reservations, firewall settings, VPN tunnels, and more
Install:
{
"mcpServers": {
"omada": {
"command": "npx",
"args": ["-y", "safe-omada-mcp"],
"env": {
"OMADA_BASE_URL": "https://your-controller",
"OMADA_CLIENT_ID": "your-client-id",
"OMADA_CLIENT_SECRET": "your-client-secret",
"OMADA_OMADAC_ID": "your-omadac-id"
}
}
}
}Or via Docker:
docker run --rm -i \
-e OMADA_BASE_URL=https://your-controller \
-e OMADA_CLIENT_ID=your-client-id \
-e OMADA_CLIENT_SECRET=your-client-secret \
-e OMADA_OMADAC_ID=your-omadac-id \
ghcr.io/gaspareduard/omada-mcp:latestStack: TypeScript · Node.js 24 · Zod · Biome · Vitest · MCP SDK
Supported controllers: Omada Software Controller 5.x/6.x, OC200, OC300
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels