Repository navigation
Commit 93d98ca
committed
Add simple web UI for browsing the registry
Implements a clean, minimal web interface at the root path (/) for browsing MCP servers. The UI is a single self-contained HTML file embedded in the Go binary with zero build dependencies.
Key features:
- Responsive grid layout (1/2/3 columns)
- Search by server name with URL parameter support
- "Show only latest versions" filter (default on)
- Recently updated section (servers updated in last hour)
- Expandable cards showing full server metadata
- Debug modal to switch between prod/staging/local/custom APIs
- Full browser history support with URL state
Technical implementation:
- Single HTML file with inline Tailwind CSS (via CDN)
- Embedded using go:embed in the binary
- Served directly from router at /
- Uses v0.1 API endpoints
- ~400 lines total
Fixes #991 parent 4564cb3 commit 93d98ca
3 files changed
Lines changed: 537 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments