Linux Kernel Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Linux Kernel Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
linux-kernel-mcp is an MCP server that lets Codex look up Linux kernel documentation, upstream source files, release information, and optional local kernel source trees.
Chinese documentation is available in README.zh-CN.md.
You do not need a local Linux checkout to use the remote documentation tools. Local source-tree search is optional and can be enabled later when you have a kernel tree on your machine.
Register the server with Codex:
codex mcp add linux_kernel -- uvx linux-kernel-mcpRestart Codex after adding the MCP server.
After that, ask Codex kernel-related questions such as:
Search the latest Linux kernel docs for GPIO descriptor APIs.Fetch the upstream implementation of drivers/gpio/gpiolib.c around line 200.What is the latest stable Linux kernel release?These features work immediately after installation:
docs.kernel.orgdocs.kernel.org pagekernel.orgThis is enough for documentation lookup, API research, and comparing against latest upstream code.
If you also have a Linux kernel source tree locally, enable local inspection in one of two ways.
Set a default before starting Codex:
export LINUX_KERNEL_TREE=/path/to/linuxOr set it during a Codex session:
set_kernel_root("/path/to/linux")Then local tools can search and read your tree:
search_local_kernel_api("devm_gpiod_get")read_local_kernel_file("drivers/gpio/gpiolib.c", start_line=200)Check the active local root:
get_kernel_root()Use a different tree for one call:
search_local_kernel_api("platform_driver_register", root="/path/to/other/linux")If no local tree is configured, local tools return a clear configuration error. Remote documentation and upstream source tools continue to work.
Remote lookup tools:
latest_kernel_releasessearch_kernel_docsfetch_kernel_docsearch_online_kernel_codefetch_upstream_kernel_fileplan_kernel_implementationLocal source-tree tools:
get_kernel_rootset_kernel_rootsearch_local_kernel_coderead_local_kernel_filesearch_local_kernel_apiinspect_kernel_capabilitiesfind_driver_examplesDriver-planning tools:
list_driver_template_blueprints_toolget_driver_template_blueprint_toolplan_driver_scaffoldThe codex mcp add command writes this configuration for you:
[mcp_servers.linux_kernel]
command = "uvx"
args = ["linux-kernel-mcp"]To make a project always use one local kernel tree, add:
[mcp_servers.linux_kernel.env]
LINUX_KERNEL_TREE = "/path/to/linux"If you are working from a local checkout of this repository instead of the PyPI package, register the checkout path:
codex mcp add linux_kernel -- uvx --from /path/to/linux-kernel-mcp linux-kernel-mcpFrom inside the repository, you can build and test the package:
uv build
uvx --from dist/linux_kernel_mcp-0.1.0-py3-none-any.whl linux-kernel-mcpThe command starts an MCP stdio server and waits for a client handshake, so it does not print normal CLI output.
kernel patch is correct.
source yet.
index.
set_kernel_root is session-local state. After an MCP restart, set it againor provide LINUX_KERNEL_TREE.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.