About io.github.zebbern/hacktricks-mcp
io.github.zebbern/hacktricks-mcp is an MCP server published by zebbern in the Search category: offline full-text search over the HackTricks security wiki, synced every 3 days. Conduid read 9 tools from its source: hacktricks_cloud_permissions, hacktricks_get_page, hacktricks_get_toc, hacktricks_search, internal_get, internal_search and 3 more. It is published to npm as @zebbern/hacktricks-mcp and starts with npx.
The repository has 4 stars and 0 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include search.
Install
claude mcp add io-github-zebbern-hacktricks-mcp -- npx -y @zebbern/hacktricks-mcpnpx -y @zebbern/hacktricks-mcpgit clone https://github.com/zebbern/hacktricks-mcpTools (9)
hacktricks_cloud_permissionsRate cloud permissions (AWS, GCP, Azure, Kubernetes) against HackTricks Cloud and list the escalation techniques they enable, with the page section that explains each| Parameter | Type | Description |
|---|---|---|
| limit | number | How many escalation techniques to list at most (default 20); the total is always reported |
| permissions * | array | The permissions held, as the cloud writes them: "iam:PassRole", "iam.serviceAccounts.actAs", "Microsoft.Authorization/roleAssignments/write", "Application.ReadWrite.All". Wildcards as in a policy ("iam:*", "s3:Get*", and ? for any single character). For k8s, one grant per entry as "verb resource[.group][/subresource]", "verb *" or "verb /url": "create pods", "get secrets", "create pods/exec", "get *", "impersonate users". |
| provider * | string | The cloud: "aws", "gcp", "azure" or "k8s" |
hacktricks_get_pageRead a page's section list with sizes, a single section, the whole page, or just its code blocks; the first lines carry the link to cite| Parameter | Type | Description |
|---|---|---|
| codeOnly | boolean | If true, return only the fenced code blocks (commands/payloads) of the page or section, each with its language and the label above it when the page gives one |
| offset | number | Skip this many characters of the page or section. A truncated response ends with the offset where the rest continues. |
| outlineOnly | boolean | If true, return the headings with the size of each section instead of the content. Use it to choose a section before reading. |
| path * | string | Page path from hacktricks_search (e.g. 'windows-hardening/active-directory-methodology/kerberoast.md'). The ending of a path and a file name without .md also work ('kerberoast', 'ntlm/README.md'); when several pages share what you pass, the tool names them instead of guessing. |
| section | string | Optional heading name to extract just that section. A heading with exactly that text is preferred, else the first whose text contains it; marks, footnote links and double spaces do not count. The answer says when several sections share the name. |
hacktricks_get_tocA compact map of both books (categories and chapters with page counts), or the pages under the entries matching a filter| Parameter | Type | Description |
|---|---|---|
| category | string | Optional text filter on entry titles, case-insensitive: a category to expand (e.g. 'Linux Hardening', 'Pentesting Cloud') or a topic to list (e.g. 'Kerberos', 'AWS', 'GitHub Actions'). Omit for the overview. |
hacktricks_searchRanked full-text search over both books that takes terms (the technique's name, or the words of a situation), with snippets, abbreviation handling (`privesc`, `sqli`, `rce`, ...) and an optional category filter| Parameter | Type | Description |
|---|---|---|
| category | string | Optional: restrict to one category when the top hits are for the wrong one (substring match), e.g. 'Linux' or 'Windows'. hacktricks_get_toc lists them |
| limit | number | Max results (default 10) |
| query * | string | Terms: the technique's name, or the words of the situation when you cannot name it, e.g. 'docker escape', 'aws s3 enumeration', 'lxd group privilege escalation' |
internal_getRead a cheatsheet or playbook by its name (`reverse shell`, `amsi bypass`, `ESC8`), whole, as its code blocks or in one section; a folder or an area by name lists its pages; no target gives the map| Parameter | Type | Description |
|---|---|---|
| codeOnly | boolean | For a page: only the code blocks (commands and payloads). |
| offset | number | Skip this many characters of a long page. A truncated response ends with the offset where the rest continues. |
| outlineOnly | boolean | For a page: the headings with the size of each section instead of the content. |
| section | string | For a page: the heading of the one section to read. A heading with exactly that text is preferred, else the first whose text contains it. |
| target | string | A page by its title ("Windows - AMSI Bypass", "Reverse Shell Cheat Sheet") or by words its title has ("reverse shell", "esc8"); a folder ("cloud/aws", "redteam/evasion") or an area ("active-directory", "cloud"); or the path of a page. Omit for the map of the collection. |
internal_searchSearch the cheatsheets and playbooks of Internal All The Things for terms, with each page's size; or for text exactly as typed, with its lines| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default 10) |
| match | string | 'terms' ranks the pages by relevance; 'exact' finds the text as typed and returns its lines. |
| query * | string | Terms ('pass the hash', 'applocker bypass'), or with match='exact' the text as typed ('AmsiScanBuffer') |
payloads_getRead a payload topic by name, a folder, a page, a file by path or link; a text file comes back as written, a wordlist or webshell with its download link| Parameter | Type | Description |
|---|---|---|
| codeOnly | boolean | For a page, or for a topic (its README): only the fenced code blocks (commands and payloads). |
| offset | number | Skip this many characters of a long text. A truncated response ends with the offset where the rest continues. |
| outlineOnly | boolean | For a page, or for a topic (its README): the headings with the size of each section instead of the content. |
| section | string | For a page, or for a topic (its README): the heading of the one section to read. A heading with exactly that text is preferred, else the first whose text contains it. |
| target * | string | A topic by name ("SQL Injection", "upload"), a folder ("Passwords/Default-Credentials", "Web-Shells"), a page ("SQL Injection/README.md") or a file ("Web-Shells/PHP/php-backdoor.php"), as the map and the listings print it. A link to a file of either collection works too. When several things share what you pass, the tool names them instead of guessing. |
payloads_searchSearch the payload collections for terms, or for text exactly as typed with its lines; filter by file ending or collection| Parameter | Type | Description |
|---|---|---|
| extension | string | Only files with this ending, with or without the dot (e.g. 'php', '.htaccess', 'txt') |
| limit | number | Max results (default 10) |
| match | string | 'terms' ranks pages and files by the terms; 'exact' finds the text as typed and returns its lines. |
| query * | string | Terms ('jwt alg none', 'htaccess'), or with match='exact' the text as typed ('alg": "none', '<%= system(') |
payloads_topicsThe map of Payloads All The Things and SecLists: topics and folders with what each holds, or only those matching a filter word| Parameter | Type | Description |
|---|---|---|
| filter | string | Optional word that a topic's or folder's name, description or file names must contain, case-insensitive (e.g. 'upload', 'password', 'shell'). Omit for the whole map, about 16,000 characters. |
Security checks
6 checks have not been run yet.