Always-on Usage

Copy library / What got built / Grok Bot

Giving a homelab Grokbot all 33 MFP tools

Subscribe

What it does
This PR gives the Grokbot view of a homelab MCP service all 33 MFP tools, including reads, writes and deletes, chosen by the repo owner over two narrower options. The author spells out the risk: every write is still preview first, then confirm with a time-limited token, but nobody looks between Grok's preview and confirm, so a misread request could change or delete diary entries, and deletes are not recoverable. The fix if needed is to drop the delete tools.
Scenarios
Watch PRs / repos Family & personal
What the source covers
  • Author & original linkYes
  • What it doesYes
  • Verbatim source excerptYes
  • Screenshots / mediaYes
  • Steps / chaptersNot in source
  • Verbatim prompt / configNot in source
  • Results / numbersYes
  • Risk notesYes
  • Related entriesYes

— means the source doesn't say; we don't fill it in.

Verbatim source excerpt
feat(homelab-mcp): give Grokbot every MFP tool
## Goal / non-goals

**Goal:** give Grokbot (`/mcp/agent/grokbot`) all 33 MFP tools, the same set `/mcp/full` has: every read, every write, and the deletes. Ryan chose all 33 on 2026-11-11 over two narrower options (reads plus writes without deletes, and reads only).

**Non-goals:** no change to any other view, scope, user list, image or flag. Grokbot keeps its single `read_scope: grokbot` and its single user.
Show full post

## Root cause / evidence

Grokbot's view lists its tools by name in `HOMELAB_MCP_VIEWS` and had no `mfp_*` entries. A view without `write_scope` serves its write tools on `read_scope`, the same way Grokbot already uses `finances_context_add`, so no new scope or re-login is needed.

## Change

- Append the 33 `mfp_*` names to Grokbot's `tools` list.
- Update the comment describing Grokbot's list. It now says plainly that a bot can confirm its own preview.

## Risk (self-critique)

- Every MFP write is still preview first, then confirm with a token bound to the caller, the view and the exact change, valid 5 minutes for deletes and 15 for the rest. But nobody looks between Grok's preview and its confirm, so a misread request can log, change or delete diary entries.
- Deletes are not recoverable from our side: nothing keeps a copy of what was removed.
- If that turns out wrong, the fix is to drop the delete pairs from this list. That takes one PR and a restart.

## Acceptance criteria

1. The HelmRelease is `Ready=True` after the restart.
2. In the pod, Grokbot's bound tool set has all 33 `mfp_*` tools plus its previous 27.
3. `/mcp` and `/mcp/full` are unchanged.
4. `cookies_usable` is 1, and no HomelabMcp alerts fire.

## Checks run

- The views JSON from this file parses. All 33 `mfp_*` names equal the full set of MFP tools registered by `main` (0.55.0), checked w
carpenike · · Open original ↗

From the project README, verbatim and untranslated.

Screenshots
README
Image from the project README
Prompt

The source does not include a prompt you can copy verbatim.

How to copy
  1. Open the repo: github.com/carpenike/k8s-gitops/pull/5825 ↗
  2. Read the README, send the repo link to your Bot and have it reproduce it
  3. Get it working small first, then add a routine
Risks and limits
  • Deletes, unsubscribes or cancels things: get a list first and confirm each item
  • Uses a browser or website login: the costliest kind of step, so prefer a connector where one exists
  • The author's result may not reproduce for you; the original post is the reference
Usage estimate
Estimate with the metal calculator