Author SHA1 Message Date
Donny bd027313b9 Merge branch 'main' of https://git.hoppe.mywire.org/Hoppe.home-Public/codebox-go-guide 2026-11-21 22:37:37 +01:00
Donny aed5e64fdc Add filing-ready issue: Hoppe-Gallery MCP + Hoppe-tainment MCP
Captures the findings from the 2026-11-21 photo-hunt session (81,681
images inventoried, zero in-file Donny tags, gallery behind portal
auth) and proposes MCP tool sets, endpoints, auth tokens and
acceptance criteria for Joanna & Joern to implement.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-21 22:36:44 +01:00
Joern 2a9466780c Merge pull request 'Docs: Universal MCP profile — one connector, one token (codebox-go #13)' (#3) from codex/universal-mcp-profile into main
Reviewed-on: https://git.hoppe.home/Hoppe.home-Public/codebox-go-guide/pulls/3
2026-11-21 20:36:10 +01:00
codexandMistral Vibe c393b8006e onboarding: Universal MCP section — one connector / one token for single-connector clients (codebox-go #13)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-21 20:35:26 +01:00
Joern fd99be6eb5 Merge pull request 'Docs: add client profiles (Donny = 5 MCP servers; Estate/OBS/Ops are Joanna & Joern only)' (#2) from donny/client-profiles into main
Reviewed-on: https://git.hoppe.home/Hoppe.home-Public/codebox-go-guide/pulls/2
2026-11-21 20:06:17 +01:00
Donny 127cae4d7e Docs: add client profiles - Donny profile uses 5 MCP servers (Estate/OBS/Ops are Joanna & Joern only) 2026-11-21 16:32:48 +01:00
Joern 9c2dfff951 Merge pull request 'Docs: add MCP client onboarding guide' (#1) from review/mcp-onboarding into main
Reviewed-on: #1
2026-10-18 08:41:47 +02:00
joanna 032fa88305 Docs: remove transient debug log from onboarding guide branch 2026-09-27 06:09:32 +02:00
3 changed files with 124 additions and 3 deletions
+87
View File
@@ -0,0 +1,87 @@
# ISSUE: Hoppe-Gallery MCP (+ Hoppe-tainment MCP)
> Filing-ready draft for **Joanna & Joern**, prepared 2026-11-21 by Mistral Vibe (Donny's session).
> When ready, post as a Gitea issue on `git.hoppe.mywire.org` (org: `Hoppe.home-Public`) — issue creation needs a logged-in token, which the agent session does not hold.
## Summary
Today's "Donny photo hunt" in `\\Hoppe-FS\Family Hoppe\Shared Pictures` showed the agent can *walk* the picture library (81,681 images inventoried) but cannot *understand* it:
- **Zero in-file tags**: no image carries a `Donny` keyword (shell `System.Keywords` scan of all 88k items + byte-level XMP/EXIF header scan both empty). Whatever "tagged as Donny" means, it lives in an app's database — not in the files.
- **Hoppe-Gallery already knows** which pictures are whose. The gallery sits behind the Hoppe.home portal auth (`https://hoppe.mywire.org/gallery/` → portal `login.html?next=%2Fgallery%2F`), so agent sessions cannot query it today.
- Visual triage at scale is slow and expensive for an agent (image-by-image review), when a single gallery query like *"all photos of Donny, 2024+"* would answer instantly.
Adding an **Hoppe-Gallery MCP** (and an **Hoppe-tainment MCP**) closes exactly this gap and lets the existing seven-server MCP topology (Brain, Codebox, Estate, H365, IdeaHub, OBS, Ops) grow for media use cases.
## Why an MCP for Hoppe-Gallery
Primary consumers: agent sessions (Vibe, Codex, VS Code) doing library tasks — e.g. the recurring "copy / prefill albums / review by person" jobs, and Joern's private-area work.
### Proposed endpoint
- Online: `https://hoppe.mywire.org/gallery/mcp` (behind the same reverse proxy + portal auth as `/gallery/`)
- Local: `https://hoppe.home/api/portal/gallery/mcp` (or the host/port where the gallery actually runs, e.g. `hoppe-apps.hoppe.home/gallery`)
- Auth: bearer token, provisioned as `HOPPE_GALLERY_MCP_TOKEN` (pattern already established for the other seven servers)
- Persona note (echoing `MCP-ACCESS-TEST-REPORT-JOERN.md`): tool exposure ≠ authorization. Gallery permissions *(who may see whose private area, e.g. Joern's private area)* must be enforced server-side, per token, not by convention.
### Proposed tools (v1)
| Tool | Purpose |
|---|---|
| `gallery_health` | Service + index status, indexed photo count, last scan time |
| `gallery_list_albums` | List albums/areas incl. private areas the token may access |
| `gallery_search_photos` | Query by **person tag** (e.g. `Donny`), folder path, date range, rating/flags; returns paths + metadata |
| `gallery_get_photo` | One photo's metadata (face tags, keywords, date, path on `\\Hoppe-FS`) |
| `gallery_classify_pending` | Return photos the gallery has detected but not yet album-assigned (as-of-now "unsorted") |
| `gallery_add_to_album` *(write)* | Add an existing library photo to an album (e.g. the "Sexy Body & Feet"-style collections) |
| `gallery_tag_photo` *(write)* | Set/remove person or keyword tags |
| `gallery_bulk_paths_for_person` *(write)* | Export a person's photo paths as a list — the fastest handoff for file copy jobs |
Bonus: a `gallery_person_face_search` helper if face-recognition data exists ("all photos where Donny appears") — that is the single most valuable query from today's session.
### Acceptance criteria
1. `initialize` returns HTTP 200 through portal auth with a `HOPPE_GALLERY_MCP_TOKEN`.
2. `gallery_search_photos(person="Donny", from="2024-01-01")` returns correct file paths as verified against the inventory.
3. A write-path tool can add one existing library photo to a test album without touching the file on `\\Hoppe-FS`.
4. Private-area ACLs verified: a token without permission gets a clean 4xx, never someone else's private photos.
5. Endpoint + token registered in `MCP-CLIENT-ONBOARDING.md` matrix and in all client `mcp.json` profiles.
## Why an MCP for Hoppe-tainment
The `\\Hoppe-FS\Hoppe-Streaming-Cache` share and home streaming setup already store media Movie/Series/Music wallpapers/logs; the agent can list files but knows nothing about the catalog: what's a movie vs. series episode vs. music album, what's watched, what bitrate/version exists.
### Proposed endpoint
- Online: `https://hoppe.mywire.org/tainment/mcp`
- Local: `https://hoppe.home/api/portal/tainment/mcp`
- Auth: `HOPPE_TAINMENT_MCP_TOKEN`
### Proposed tools (v1)
| Tool | Purpose |
|---|---|
| `tainment_health` | Catalog size, library scan status |
| `tainment_search` | Search movies / series / episodes / music by title, year, genre |
| `tainment_item_details` | One item's metadata: type, resolution, codecs, watch status |
| `tainment_list_recently_added` | New arrivals (e.g. "the last 10 things Joern added") |
| `tainment_recently_watched` | Continue-watching / history per user profile |
| `tainment_request_download` *(write, optional queue)* | Add to watchlist/download queue |
### Acceptance criteria
1. `initialize` HTTP 200 with the token through portal auth.
2. `tainment_search(title="...")` finds items that exist on `\\Hoppe-FS\Hoppe-Streaming-Cache` / the media library.
3. Read-only for v1; any write tool (queue/download) default-off until reviewed.
## Implementation notes for Joanna & Joern
- Follow the established pattern: HTTP (streamable) MCP, bearer-token auth via reverse proxy, token rotation like the existing seven servers.
- Gallery: if the gallery app can't host MCP itself, a small adapter service (host-facing `<gallery internal API> → MCP`) colocated on `hoppe-apps` is fine.
- Register both in the onboarding doc's server matrix and in every client profile (`VS Code`, `Codex`, Antigravity, Claude) with placeholder inputs, never literal tokens.
## Background: what happened in the agent session (2026-11-21)
- Inventoried `\\Hoppe-FS\Family Hoppe\Shared Pictures`: 88,172 files, 81,681 images (Family HK 35.5k, Family DE 22.9k, Donny & Joern 10.9k, Family 2021-2026 ~10.8k, Z Fold 3 1.1k, rest assets).
- Verified no image carries `Donny` keywords in XMP/EXIF/shell metadata → folder-based or app-side tagging only.
- Spot-triage of the newest ~150 photos (Z Fold 3 tail, Family 2026) found no qualifying "body/feet" photos; remaining recent years still to review — exactly the work a `gallery_search_photos(person="Donny", ...)` call would replace.
+37
View File
@@ -21,6 +21,42 @@ Estate and Ops are local Hoppe.home routes in this profile:
| Estate | `https://hoppe.home/api/portal/estate/mcp` |
| Ops | `https://hoppe-apps.hoppe.home/ops/mcp` |
## Client profiles
Not every client connects to every server - access is deliberate, not a gap.
| Profile | Servers |
|---|---|
| Joanna & Joern (administer the estate) | all servers, including Estate, OBS and Ops |
| Donny (VS Code / Copilot client) | Brain, Codebox, H365, HA, IdeaHub - five servers, no Estate/OBS/Ops access |
Family clients other than the administrator profile must not add the Estate, OBS or Ops
endpoints or hold their tokens. See also the universal-MCP proposal in
`Hoppe.home/codebox-go` issue #13 for single-endpoint onboarding of constrained clients.
## Universal MCP — one connector, one token
For clients whose free tier holds only ONE custom connector (Claude Free /
Claude Mobile, Claude Code single-connector setups, Antigravity, Mistral Vibe
desktops), do not add seven servers. Add **one**:
- URL: `https://hoppe.mywire.org/universal/mcp`
- ONE bearer token: `HOPPE_UNIVERSAL_MCP_TOKEN` (Vault entry per client;
audience `universal`)
The gateway fronts the existing per-service servers. Tools appear namespaced
(`brain_searchBrain`, `codebox_codeboxListIssues`, `365_...`, ...). Which
servers a caller reaches is decided by **profile config on the server** —
subject first, client-id second, everything unmapped gets nothing — never by
the token itself. One token is therefore one identity, not "access to
everything": the Per-person MCP access rule (2026-09-14) and the per-service
audience scoping stay intact.
Status: code in `Hoppe.home/hoppe-universal-mcp`; deploy + route + token
minting pending; until this section is marked verified, onboard constrained
clients on the individual endpoints below.
Do not substitute a bearer token into a URL. Send it only as an `Authorization: Bearer ...` header.
## Secrets and Vault
@@ -133,3 +169,4 @@ Escalate with client name, server name, timestamp, HTTP status, and redacted dia
- [ ] Claude connectors have completed OAuth discovery/authorization, or are explicitly marked pending.
Last verified for this profile: Brain, Codebox, H365, IdeaHub, and OBS returned HTTP 200 on the online routes; Estate and Ops returned HTTP 200 on the local Hoppe.home routes. Verification was performed without exposing credential values.
-3
View File
@@ -1,3 +0,0 @@
[0820/101408.747:ERROR:third_party\crashpad\crashpad\util\win\registration_protocol_win.cc:108] CreateFile: Access is denied. (0x5)
[0820/101531.889:ERROR:third_party\crashpad\crashpad\util\win\registration_protocol_win.cc:108] CreateFile: Access is denied. (0x5)
[0820/102355.233:ERROR:third_party\crashpad\crashpad\util\win\registration_protocol_win.cc:108] CreateFile: Access is denied. (0x5)