diff --git a/AGENTS.md b/AGENTS.md index 083fa1e..4feb87c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -10,20 +10,6 @@ WireGuard UI — a self-hosted web admin for WireGuard hosts and clients. The ap - **UI:** Tailwind CSS v4 + local `twui` components (`src/components/twui`). Global styles in `src/styles/main.css`. - **Icons:** `lucide-react`. -## MCP Tool Usage Guidelines - -When building, refactoring, styling, or auditing UI components and layouts, actively invoke these configured MCP servers: - -### 1. `design-mcp` (UI/UX Engineering & Design Standards) - -- **When to call:** Before constructing new page layouts, design systems, empty/loading states, or interactive UI flows. -- **Instruction:** Query `design-mcp` to ensure accessibility (a11y), proper layout hierarchy, visual balance, and consistent interaction patterns across application workflows. - -### 2. `design-systems` (Design System Specs & Reference Patterns) - -- **When to call:** When creating or extending reusable component interfaces, verifying design token structures, or inspecting component composition patterns. -- **Instruction:** Query `design-systems` to pull canonical UI patterns, atomic component guidelines, and standard prop naming conventions before creating custom components. - ## Entrypoint `src/server.ts` — runs `bunextInit()`, starts `Bun.serve` on `0.0.0.0` (port from `SiteData.ServerPort`), serves `/media/*` via `handleMediaServer`, then runs `syncWireguardHosts()` to bring host tunnels in line with the DB. Caddy's data plane runs as the `wgui-caddy` Docker container (host networking, `/var/lib/wgui/caddy` and `/var/lib/wgui/tls` bind-mounted); reloads go through `docker exec`, and the admin socket lives at `/var/lib/wgui/caddy/admin.sock`.