rhel-lightspeed/okp-mcp
MCP server for the Red Hat Offline Knowledge Portal (OKP)
ffce2edca306okp-mcp1.0.2 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 3 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
get_document, search_portalNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (3: 3 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
get_documenttool Fetch full content of a specific document by its ID.Network
Fetch full content of a specific document by its ID.
Use the URL from search results as doc_id. Pass query (the original
search question) to get BM25-scored relevant passages instead of raw truncated content.run_codetool Execute code in the specified language.
Execute code in the specified language.
NOTE: This is a placeholder tool. Code execution is not available in this environment.search_portaltool Search Red Hat knowledge base: documentation, solutions, articles, CVEs, errata, and support policies.Network
Search Red Hat knowledge base: documentation, solutions, articles, CVEs, errata, and support policies.
Use this tool when you need official Red Hat documentation, security advisories,
or errata to answer accurately, especially for version-specific details,
lifecycle dates, deprecation status, or changes after 2024. For well-known
Linux concepts (e.g. vi commands, systemd units, common CLI tools) you may
answer directly without searching.
Query format: pass a single search string, or a list of up to 3 query
reformulations for better coverage. When multiple queries are provided,
results are merged via reciprocal rank fusion so documents matching
across multiple phrasings rank higher.
Multi-query tips:
- Keep product names and version numbers in every query; never strip
context to make a query "broader" (e.g. do not reduce "RHEL 8
container on RHEL 9" to just "container deprecation").
- Vary the search angle, not the specificity: rephrase using
RHEL-specific terminology, try official document titles, or use
different keywords for the same concept.
- Include the user's original phrasing as one of the queries.
- For exact lookups (CVE IDs, KB numbers, erratum names), a single
query is sufficient.
- Write each query as a complete question or sentence, not bare
keywords. Full sentences contain context words (e.g. "virtual
machines", "deprecated") that significantly improve result quality.
BAD: "virt-manager RHEL 9"
GOOD: "Is virt-manager supported for managing virtual machines in RHEL 9?"
IMPORTANT - interpreting results:
- Results marked 'Applicability: RHV only' apply to Red Hat Virtualization,
NOT to standard RHEL KVM. Do not recommend RHV-only workarounds as the
primary answer for RHEL questions.
- If results conflict and one states a feature was deprecated or removed in
RHEL, lead with the deprecation/removal. Mention other-product workarounds
only as a brief secondary note.
- When results list specific releases or dates (e.g. EUS availability per
minor release), enumerate every release explicitly in your answer.Text the model reads (3)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_document tool
Fetch full content of a specific document by its ID.
Use the URL from search results as doc_id. Pass query (the original
search question) to get BM25-scored relevant passages instead of raw truncated content.run_code tool
Execute code in the specified language.
NOTE: This is a placeholder tool. Code execution is not available in this environment.search_portal tool
Search Red Hat knowledge base: documentation, solutions, articles, CVEs, errata, and support policies.
Use this tool when you need official Red Hat documentation, security advisories,
or errata to answer accurately, especially for version-specific details,
lifecycle dates, deprecation status, or changes after 2024. For well-known
Linux concepts (e.g. vi commands, systemd units, common CLI tools) you may
answer directly without searching.
Query format: pass a single search string, or a list of up to 3 query
reformulations for better coverage. When multiple queries are provided,
results are merged via reciprocal rank fusion so documents matching
across multiple phrasings rank higher.
Multi-query tips:
- Keep product names and version numbers in every query; never strip
context to make a query "broader" (e.g. do not reduce "RHEL 8
container on RHEL 9" to just "container deprecation").
- Vary the search angle, not the specificity: rephrase using
RHEL-specific terminology, try official document titles, or use
different keywords for the same concept.
- Include the user's original phrasing as one of the queries.
- For exact lookups (CVE IDs, KB numbers, erratum names), a single
query is sufficient.
- Write each query as a complete question or sentence, not bare
keywords. Full sentences contain context words (e.g. "virtual
machines", "deprecated") that significantly improve result quality.
BAD: "virt-manager RHEL 9"
GOOD: "Is virt-manager supported for managing virtual machines in RHEL 9?"
IMPORTANT - interpreting results:
- Results marked 'Applicability: RHV only' apply to Red Hat Virtualization,
NOT to standard RHEL KVM. Do not recommend RHV-only workarounds as the
primary answer for RHEL questions.
- If results conflict and one states a feature was deprecated or removed in
RHEL, lead with the deprecation/removal. Mention other-product workarounds
only as a brief secondary note.
- When results list specific releases or dates (e.g. EUS availability per
minor release), enumerate every release explicitly in your answer.What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 3 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 3 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 3 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 3 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 3 tool handlers traced
- Tools that start processesNot seen in the traced code of 3 capabilities; 3 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 3 capabilities; 3 more call code the scanner could not follow, where it may happen
- Tools that call the network2 of 3 capabilities call the network; 1 more call code the scanner could not follow, where it may happen
Where the code is: 3 handlers in 3 files at commit ffce2edca306
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: .konflux/requirements.txt, pyproject.toml
- Lockfiles checked against OSV2 files resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionfastmcp >=3.4.4, mcp ==2.3.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 3 capabilities; 3 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp ==4.1.2, mcp ==2.3.0, fastmcp >=3.4.4 |
| Servers in the code | 1 (RHEL OKP Knowledge Base) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-14 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | Apache-2.0 |
| Created | 2026-03-03 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.