Skip to content

Fix the runbook: MCP is already live, and the registry URLs were wrong - #8

Merged
luandro merged 1 commit into
masterfrom
runbook-accuracy
Oct 15, 2026
Merged

luandro merged 1 commit into
masterfrom
runbook-accuracy

Conversation

@luandro

@luandro luandro commented Oct 15, 2026

Copy link
Copy Markdown

Documentation corrections found by consulting Claude Opus 5.5, each verified
before being written down. No behaviour changes; the template diff is one
description string.

The premise was wrong. The Superset MCP integration is already running in
production
at https://superset-mcp.javari.guardianconnector.net/mcp. Its
public JWT gate answers 401 invalid_token to a request with no bearer, to a
token signed with the wrong key, and to an expired token. So what remains is an
audit of a live deployment, not a rollout of a planned one - and a section for
that audit is added, which is read-only and takes minutes.

Corrections

Was Actually
v4/apps/librechat.yml and curl …/v4 the build emits v4/apps/librechat and v4/list, no extension
"App Version → Save & Update re-renders the template" a one-click template applies at install only; existing apps change via env or override
A green deploy publishes the template CapRover installs the live registry is the operator's nginx and does not contain librechat
pip show to check the Superset version needs shell access the operator does not have; use the app's Logs tab
http://srv-captain--superset-mcp:5008/mcp as the example URL that alias never resolved from chat; the real public URL is used
"Superset returned 403 the agent account does not own it" that is the REST helper's own pre-check; raise_for_ownership was never observed on a raw call, and is now marked unverified

Two traps worth the merge on their own

  1. The image healthcheck kills an MCP-only container. Confirmed by reading
    /app/docker/docker-healthcheck.sh out of the image: it curls
    $SUPERSET_PORT/health. Override the command to superset mcp run --port 5008 and nothing answers on that port, so Docker kills the task roughly
    every 100s - which presents as a crash loop, not a misconfigured healthcheck.
  2. --scopes 'mcp:read' is not a boundary. 6.1.0 checks the scope claim for
    admission but has no per-tool enforcement, so a "read-only" token still
    writes. Anyone reading the runbook could reasonably have assumed otherwise.

Rollback is now ordered fastest-first, and section 4.2 states the thing with no
undo: Superset does not version dashboards or charts, so the metadata dump has
to exist before the MCP is enabled.

Also recorded: the REST helper's guards (shared-chart cascade, dataset
dependants) protect an operator running it by hand. The template never ships
that script, so the agent gets none of them - its boundary is the Superset role.

…already live

Consulted Claude Opus 5.5 on what is left to do. Several of its findings
survived checking; the ones that did not are not acted on. What is corrected
here, each verified first:

- Superset MCP is **already in production**. The runbook read as a pre-rollout
  plan; the endpoint https://superset-mcp.javari.guardianconnector.net/mcp
  answers 401 invalid_token to no bearer, a wrong-key token and an expired
  token. So the remaining work is an audit, not a rollout, and a section for it
  is added (2.5) that is read-only and takes minutes.
- The registry URLs in the runbook were wrong. The build emits
  `v4/apps/librechat` and `v4/list` with **no** extension, so both
  `v4/apps/librechat.yml` and `curl /v4` return 404.
- There is no "App Version -> re-render template" step for an existing app. A
  one-click template applies at install; an existing app changes via env vars
  or a service override. The runbook told the operator to do something CapRover
  cannot do.
- The live registry is served by the operator's nginx (167.172.33.4), not by
  this repo's gh-pages, and it does **not** contain librechat. A green deploy
  workflow therefore proves nothing about what CapRover can install. Section 5
  now separates the two and says why swapping the DNS is a cutover, not a fix.
- The image healthcheck curls $SUPERSET_PORT/health, which I confirmed by
  reading /app/docker/docker-healthcheck.sh out of the image. An MCP-only
  container with the command changed gets killed every ~100s unless the
  override sets Healthcheck: NONE. Added to both docs and to the preconditions.
- `pip show` needs shell access the operator does not have, so P1/P2 now point
  at the app's Logs tab instead.
- The example MCP URL used `http://srv-captain--superset-mcp:5008/mcp`, an
  alias that never resolved from chat. Replaced with the real public URL.
- One overclaim of my own, in guide 8.1: I wrote that Superset returned 403
  `the agent account does not own it`, but that string is the REST helper's own
  pre-check. Superset's raise_for_ownership is the authority and was never
  observed rejecting a raw call. The claim is now marked unverified, with how
  to settle it.
- `--scopes 'mcp:read'` is not a safety boundary (no per-tool enforcement in
  6.1.0). Called out in the go/no-go list.
- Rollback rewritten: ordered fastest-first, plus the fact that dashboards and
  charts are not versioned, so a metadata dump must exist *before* enabling.

Also records that the REST helper's guards do not protect the agent, since the
template never ships that script.
@luandro
luandro merged commit 21765ac into master Oct 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant