Remove the MCP tool guidelines from AGENTS.md
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -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`.
|
- **UI:** Tailwind CSS v4 + local `twui` components (`src/components/twui`). Global styles in `src/styles/main.css`.
|
||||||
- **Icons:** `lucide-react`.
|
- **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
|
## 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`.
|
`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`.
|
||||||
|
|||||||
Reference in New Issue
Block a user