CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

red-hat-security-mcp-setup

Add the Red Hat Security MCP server to this project. Configures the HTTP transport endpoint and explains the Red Hat Customer Portal SSO browser login flow.

Quality

77%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./rh-basic/skills/red-hat-security-mcp-setup/SKILL.md
SKILL.md
Quality
Evals
Security

Red Hat Security MCP Setup

Add the Red Hat Security MCP server to the current project's .mcp.json.

Prerequisites

A Red Hat account at console.redhat.com.

When to Use This Skill

When the user wants to add the Red Hat Security MCP server to their project to enable live CVE and advisory lookups.

Workflow

  1. Locate or create .mcp.json at the project root.
  2. Merge the red-hat-security HTTP server entry without removing existing servers.
  3. Explain the browser SSO authentication flow to the user.

Dependencies

  • Write access to the project's .mcp.json.

Step 1 — Locate or create .mcp.json

PROJ=$(git rev-parse --show-toplevel 2>/dev/null || echo "$PWD")
MCP_FILE="$PROJ/.mcp.json"

If .mcp.json exists: read it and merge in the new server entry. If it does not exist: create it with the skeleton below.

Step 2 — Add the server entry

The server key is red-hat-security. Use HTTP transport.

{
  "mcpServers": {
    "red-hat-security": {
      "type": "http",
      "url": "https://security-mcp.api.redhat.com/mcp"
    }
  }
}

Merge this entry into the existing mcpServers object without removing any other servers already present.

Write the result back to $PROJ/.mcp.json.

Step 3 — Explain authentication to the user

Tell the user:

Red Hat Security MCP server added.

Authentication: Red Hat Customer Portal SSO

The first time any tool from this server is called, a browser window will
open automatically so you can log in with your Red Hat account. After you
complete login, the session token is stored and subsequent calls proceed
without prompting.

If the browser does not open automatically, look for an authentication URL
printed in the MCP server output and open it manually.

Restart the agentic tool (or reload MCP servers) for the new configuration
to take effect.

Notes

  • This server exposes Red Hat security data (CVEs, advisories, errata). It is the backend used by /red-hat-cve-explainer when get_cve_by_id and related tools are available.
  • An active Red Hat subscription is required to access the full dataset.
  • Do not add headers or env auth fields to .mcp.json -- the server handles authentication itself via the browser SSO flow.
Repository

RHEcosystemAppEng/agentic-plugins

Path

rh-basic/skills/red-hat-security-mcp-setup/SKILL.md

Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.