feat: add rhoai-mcp-server to Red Hat MCP servers catalog #180
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.73) × (1 − Review Confidence (0.81)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.73 · 3036 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 5 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.400
Self Review
self_review
0.140
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
5 comments
data/redhat-mcp-servers-catalog.yaml
"_🗄️ Data Integrity & Integration_ | _🟡 Minor_ | _⚡ Quick win_
<details>
<summary>🧩 Analysis chain</summary>
🏁 Script executed:
```shell
#!/bin/bash
f=$(fd -t f 'redhat-mcp-servers-catalog.yaml' | head -1)
git log --oneline -5 -- "$f"
git log -3 -p --unified=2 -- "$f" | rg -n 'createTimeSinceEpoch|^\+\+\+|^commit' | head -40
rg -n 'createTimeSinceEpoch' --type=go .
```
Repository: opendatahub-io/model-metadata-collection
Length of output: 5642
---
🏁 Script executed:
```shell
#!/bin/bash
set -euo pipefail
f=$(fd -t f 'redhat-mcp-servers-catalog.yaml' | head -1)
echo "catalog file: $f"
echo "--- catalog snippets around insights/open ---"
for start in 230 640 700; do
echo "### lines $start-$((start+25))"
sed -n "${start},$((start+25))p" "$f" | cat -n | sed "s/^/$start: /"
done
echo "--- mcp enrichment relevant code ---"
sed -n '120,215p' internal/catalog/mcp_enrichment.go | cat -n
sed -n '320,365p' internal/enrichment/update.go | cat -n
sed -n '490,520p' internal/enrichment/enrichment.go | cat -n
echo "--- tests for createTimeSinceEpoch derivation ---"
file=$(fd -t f 'mcp_enrichment_test.go' | head -1)
sed -n '1,105p' "$file" | cat -n
echo "--- current git status of catalog diff for timestamp fields ---"
git diff -- "$f" | rg -C 3 'createTimeSinceEpoch|lastUpdateTimeSinceEpoch|insights-mcp-server|openshift-mcp-server' || true
```
Repository: opendatahub-io/model-metadata-collection
Length of output: 16955
---
</details>
**Preserve the artifact creation timestamp from upstream.**
`insights-mcp-server` artifact `createTimeSinceEpoch` is identical to `lastUpdateTimeSinceEpoch` while the upstream catalog can keep `openedTime`/`lastUpdateTime` distinct. If OCI enrichment derives creation timestamps from publish/release metadata or overwrites existing artifact metadata, this produces diff churn and makes “created” non-immutable. Keep `createTimeSinceEpoch` unchanged unless the original is unavailable; CWE-862 covers missing authorization for mutating another source’s authoritative field, and CWE-1325 addresses improper handling of immutable/final values.
<details>
<summary>🤖 Prompt for AI Agents</summary>
```
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@data/redhat-mcp-servers-catalog.yaml` around lines 653 - 654, Update the
insights-mcp-server artifact metadata enrichment flow so createTimeSinceEpoch
remains the upstream creation timestamp and is not replaced by publish or
release metadata. Only populate it when the original creation value is
unavailable, while continuing to update lastUpdateTimeSinceEpoch from the
current upstream value.
```
</details>
<!-- fingerprinting:phantom:medusa:komodo -->
<!-- cr-indicator-types:potential_issue -->
<!-- cr-comment:v1:052d2fa604e83e9abbc507c7 -->
<!-- This is an auto-generated comment by CodeRabbit -->"
clarifying
weight: 0.45
data/redhat-mcp-servers-catalog.yaml
"_🗄️ Data Integrity & Integration_ | _🟡 Minor_ | _⚡ Quick win_
**Description and readme here predate the input file.**
Both drop the llm-d Planner content present at `input/mcp_servers/redhat/rhoai-mcp-server.yaml` Lines 9-10 and Line 32. Same root cause as the missing tools — see the consolidated note.
Also applies to: 739-740
<details>
<summary>🤖 Prompt for AI Agents</summary>
```
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@data/redhat-mcp-servers-catalog.yaml` around lines 720 - 721, The RHOAI
catalog entry’s description and readme omit the llm-d Planner content from the
source definition. Update the description and readme fields for the RHOAI MCP
server to match the corresponding llm-d Planner text in the input definition,
preserving all existing content and applying the same update to the additional
referenced entry.
```
</details>
<!-- fingerprinting:phantom:medusa:komodo -->
<!-- cr-indicator-types:potential_issue -->
<!-- cr-comment:v1:8bff16aa0f5a2ac0c486d385 -->
<!-- This is an auto-generated comment by CodeRabbit -->
✅ Addressed in commit d196477"
clarifying
weight: 0.45
data/redhat-mcp-servers-catalog.yaml
"_🗄️ Data Integrity & Integration_ | _🔴 Critical_ | _⚡ Quick win_
**The generated catalog was built from an older revision of the input YAML.** Three independent divergences from `input/mcp_servers/redhat/rhoai-mcp-server.yaml` all trace to one cause: generation was not re-run after the final edits to the input file. Regenerate via the `-mcp-index` flow (`cmd/model-extractor/main.go` Lines 250-266) and commit the result, then verify the diff is empty on a second run.
- `data/redhat-mcp-servers-catalog.yaml#L1226-L1237`: restore the 14 dropped tools, including the `write` tools `set_model_serving_mode` and `manage_resource`.
- `data/redhat-mcp-servers-catalog.yaml#L1286-L1289`: replace the `cluster-admin` serviceAccount hint with the impersonation-based hint from input Lines 871-878.
- `data/redhat-mcp-servers-catalog.yaml#L720-L721`: refresh `description` and the `readme` block to include the llm-d Planner content from input Lines 9-10 and Line 32.
Worth adding a CI check that regenerates the catalog and fails on a dirty tree — otherwise this drift recurs silently on every server addition.
<details>
<summary>📍 Affects 1 file</summary>
- `data/redhat-mcp-servers-catalog.yaml#L1226-L1237` (this comment)
- `data/redhat-mcp-servers-catalog.yaml#L1286-L1289`
- `data/redhat-mcp-servers-catalog.yaml#L720-L721`
</details>
<details>
<summary>🤖 Prompt for AI Agents</summary>
```
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@data/redhat-mcp-servers-catalog.yaml` around lines 1226 - 1237, The generated
catalog is stale; rerun the -mcp-index generation flow from
cmd/model-extractor/main.go and commit the regenerated output. Update
data/redhat-mcp-servers-catalog.yaml lines 1226-1237 to restore all 14 dropped
tools, including set_model_serving_mode and manage_resource; lines 1286-1289 to
use the input impersonation-based serviceAccount hint; and lines 720-721 to
include the llm-d Planner description and readme content. Run generation a
second time and verify the tree is clean.
```
</details>
<!-- consolidated_sites_start -->
<!--
<consolidated_sites>
<site>
<role>anchor</role>
<file>data/redhat-mcp-servers-catalog.yaml</file>
<line_range>1226-1237</line_range>
</site>
<site>
<role>sibling</role>
<file>data/redhat-mcp-servers-catalog.yaml</file>
<line_range>1286-1289</line_range>
</site>
<site>
<role>sibling</role>
<file>data/redhat-mcp-servers-catalog.yaml</file>
<line_range>720-721</line_range>
</site>
</consolidated_sites>
-->
<!-- consolidated_sites_end -->
<!-- fingerprinting:phantom:medusa:komodo -->
<!-- cr-indicator-types:potential_issue -->
<!-- cr-comment:v1:1048d4143af9a8c89f7757a2 -->
<!-- This is an auto-generated comment by CodeRabbit -->
✅ Addressed in commit d196477"
clarifying
weight: 0.45
data/redhat-mcp-servers-catalog.yaml
"_🗄️ Data Integrity & Integration_ | _🟡 Minor_ | _⚡ Quick win_
**No `mcpPath` for a server advertising `sse` and `streamable-http`.**
Every other entry with HTTP transports sets `mcpPath` (Lines 249, 386, 657). Clients have no endpoint path to construct a URL from. Add it to `input/mcp_servers/redhat/rhoai-mcp-server.yaml` under `runtimeMetadata` and regenerate.
<details>
<summary>🤖 Prompt for AI Agents</summary>
```
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@data/redhat-mcp-servers-catalog.yaml` around lines 1282 - 1284, Add the
missing mcpPath under runtimeMetadata for the RHOAI MCP server entry, matching
the endpoint path defined in input/mcp_servers/redhat/rhoai-mcp-server.yaml,
then regenerate data/redhat-mcp-servers-catalog.yaml so the generated catalog
includes it.
```
</details>
<!-- fingerprinting:phantom:medusa:komodo -->
<!-- cr-indicator-types:potential_issue -->
<!-- cr-comment:v1:7b149d90b8bb70691059ab41 -->
<!-- This is an auto-generated comment by CodeRabbit -->
✅ Addressed in commit d196477"
clarifying
weight: 0.45
data/redhat-mcp-servers-catalog.yaml
"_🔒 Security & Privacy_ | _🟠 Major_ | _⚡ Quick win_
**Generated hint contradicts the input and publishes a `cluster-admin` recommendation (CWE-250).**
This says `Needs cluster-admin or scoped RBAC for RHOAI resource management`. The input at `input/mcp_servers/redhat/rhoai-mcp-server.yaml` Lines 871-878 says the opposite: the SA has *no* direct resource access and works via impersonation. Publishing "cluster-admin" as an acceptable option in a consumed catalog is how over-privileged deployments happen.
Root cause is catalog staleness — see the consolidated note below.
<details>
<summary>🤖 Prompt for AI Agents</summary>
```
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@data/redhat-mcp-servers-catalog.yaml` around lines 1286 - 1289, Update the
serviceAccount hint for the rhoai-mcp catalog entry to match the source
definition: describe that it has no direct resource access and operates through
impersonation, without recommending cluster-admin or implying broad RBAC is
required.
```
</details>
<!-- fingerprinting:phantom:medusa:komodo -->
<!-- cr-indicator-types:potential_issue -->
<!-- cr-comment:v1:d745798a4887acdfb2fbf8b6 -->
<!-- This is an auto-generated comment by CodeRabbit -->
✅ Addressed in commit 54e7403"
clarifying
weight: 0.45
amito
<!--- Provide a general summary of your changes in the Title above -->
Description
Adds metadata for the RHOAI MCP Server (_opendatahub-io/rhoai-mcp_) to the Red Hat MCP servers catalog. The RHOAI MCP Server enables AI agents to manage Red Hat OpenShift AI environments through the Model Context Protocol, and integrates with llm-d Planner for LLM deployment recommendation and config generation.
The server metadata file (_input/mcp_servers/redhat/rhoai-mcp-server.yaml_) documents 88 tools across 8 domains (projects, notebooks, inference, connections, storage, pipelines, training, model_registry) and 4 composites (cluster, meta, planner, training). 57 read-only tools, 31 read_write tools. Transports: stdio, sse, streamable-http. Container image:
oci://quay.io/opendatahub/odh-rhoai-mcp:odh-stable.A README (_input/mcp_servers/redhat/rhoai-mcp-server.README.md_) is included with Kustomize deployment instructions, ClusterRole RBAC rules table (impersonation model with security note on blast radius), read-only mode configuration, and environment variable reference.
All 88 tools were cross-checked against the rhoai-mcp source code — tool names, parameter schemas, and access types match. High-privilege tools document their gating contracts:
manage_resourceand the unifiedtrainingtool enumerate accepted actions and documentENABLE_DANGEROUS_OPERATIONSgating;run_container_training_jobexplicitly states it executes caller-supplied images and requiresconfirmed=true. Thesetup_hf_credentialstoken parameter is marked SENSITIVE with redaction guidance.How Has This Been Tested?
1. Ran
make process-redhat-mcp— catalog generated successfully with rhoai-mcp-server included.2. Verified entry in catalog:
grep "name: rhoai-mcp" data/redhat-mcp-servers-catalog.yaml3. Ran
make test— all tests pass.4. Validated YAML parses correctly.
5. Verified tool schemas against rhoai-mcp source code (88 tools across domains and composites, all parameters validated).
6. Verified
accessTypevalues useread_write/read_onlyvocabulary consistent with all other MCP server input files.Merge criteria:
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Added the RHOAI MCP Server to the Red Hat MCP catalog and index.
Documented support for OpenShift AI project, workbench, model serving, storage, pipelines, Model Registry, diagnostics, planning, and training workflows.
Added deployment guidance for supported MCP transports, OpenShift OIDC authentication, RBAC, impersonation, and read-only mode.
* Added configuration details, security information, runtime metadata, and environment variable references.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->