Repository navigation
Fix the runbook: MCP is already live, and the registry URLs were wrong - #8
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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. Itspublic JWT gate answers
401 invalid_tokento a request with no bearer, to atoken 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
v4/apps/librechat.ymlandcurl …/v4v4/apps/librechatandv4/list, no extensionlibrechatpip showto check the Superset versionhttp://srv-captain--superset-mcp:5008/mcpas the example URLchat; the real public URL is usedthe agent account does not own it"raise_for_ownershipwas never observed on a raw call, and is now marked unverifiedTwo traps worth the merge on their own
/app/docker/docker-healthcheck.shout of the image: it curls$SUPERSET_PORT/health. Override the command tosuperset mcp run --port 5008and nothing answers on that port, so Docker kills the task roughlyevery 100s - which presents as a crash loop, not a misconfigured healthcheck.
--scopes 'mcp:read'is not a boundary. 6.1.0 checks the scope claim foradmission 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.