@konsulto/mcp
Official@konsulto/mcp
MCP-Server, mit dem Claude Code (und jeder andere MCP-fähige Client) die Konsulto Cybersicherheits-Audit-Plattform über die CLI steuern kann:
Lesen — Audits auflisten, an denen Sie beteiligt sind, Findings/Vorlagen durchsuchen, ein Finding lesen (einschließlich des als Markdown gerenderten Inhalts, damit die KI den Text analysieren kann), einen einzelnen Abschnitt lesen.
Schreiben — Findings aus strukturierten Feldern erstellen (das Backend erstellt den Tiptap-Inhalt), skalare Werte aktualisieren, Abschnitte mittels Markdown anhängen/ersetzen, Statusänderungen in Massen mit einer Trockenlauf-Vorschau durchführen.
Beweismittel — Dateien/Inline-Inhalte/Base64 hochladen, Beweismittel an der richtigen Stelle in den Inhalt eines Findings einfügen.
Scope & Assets — Scope auflisten, Assets auflisten/erstellen, ein Asset abgleichen oder erstellen und mit einem Finding verknüpfen.
Agiert als der Benutzer mit dessen Rollenberechtigungen, abgesichert durch ein benutzerspezifisches MCP-Token. Drei Laufzeit-Sperren: Tenant-Feature-Flag aktiviert, Rolle besitzt mcp:use, Token nicht widerrufen/abgelaufen.
Schnelleinstieg
1. Ein MCP-Token in der Konsulto-Web-App erstellen
Anmelden → Profil → MCP-Tokens → Neues MCP-Token. Kopieren Sie den kon_mcp_…-Wert einmal — er wird danach nicht mehr angezeigt. (Der Tenant-Administrator muss die MCP-Integration zuvor unter Konto → API-Zugriff aktiviert haben.)
2. Das Token lokal speichern
mkdir -p ~/.konsulto && chmod 700 ~/.konsulto
cat > ~/.konsulto/credentials <<EOF
token: kon_mcp_REPLACE_WITH_YOUR_TOKEN
endpoint: https://api.konsulto.io
EOF
chmod 600 ~/.konsulto/credentialsOder verwenden Sie die Umgebungsvariable KONSULTO_TOKEN, falls Sie keine Datei schreiben möchten.
3. Claude Code über den Server informieren
Fügen Sie dies zu ~/.claude/mcp.json hinzu:
{
"mcpServers": {
"konsulto": {
"command": "npx",
"args": ["-y", "@konsulto/mcp"]
}
}
}Überprüfen Sie die Konfiguration:
npx @konsulto/mcp doctorSie sollten nur grüne Häkchen sehen.
Related MCP server: claude-sessions-mcp
Ordner-Pinning (optional, empfohlen)
Führen Sie npx @konsulto/mcp init in einem Engagement-Ordner aus, um ihn an ein Audit zu binden:
~/audits/acme-q2-pentest/
├── .konsulto.yml ← pins this folder to one audit
├── recon/
└── notes.mdWenn Claude Code in diesem Ordner (oder einem Unterordner) gestartet wird, bindet das MCP das Audit automatisch. Kein Nachdenken mehr über Audit-IDs erforderlich.
Die Datei kann mit Ihrem Team geteilt werden — sie enthält eine Audit-ID und einen optionalen Endpunkt, keine Geheimnisse.
Workflow-Muster
Muster | Verwendung |
Ordner-gebundenes | Wiederholte Arbeit am selben Engagement. Führen Sie |
| Ein Arbeitsbereich, bei dem mental zwischen Audits gewechselt wird. Sagen Sie Claude "switch to ". |
Explizit pro Aufruf | Jonglieren mit mehreren Audits in einer Sitzung. Übergeben Sie |
Tools
Jedes Tool hat das Präfix konsulto_*, damit es nicht mit anderen MCPs (Burp, nmap, prowler usw.), die Sie möglicherweise konfiguriert haben, kollidiert.
Identität & Kontext
Tool | Funktion |
| Identität, Berechtigungen, aktives Audit. Als erstes in einer Sitzung aufrufen. |
| Audits auflisten, bei denen Sie Mitglied sind. |
| Ein Audit für den Rest der Sitzung festlegen (Fuzzy-Match nach Name). |
| Einmalige Orientierung — Name, Status, Anzahl Scope/Assets, Schweregrad-Zusammenfassung, Team. |
Vorlagen
Tool | Funktion |
| Finding-Vorlagen nach Abfrage/Schweregrad finden. Schlanke Form — ID, Titel, Schweregrad, Zusammenfassung, Slot-Namen, Taxonomie. Kein Inhalt. |
Findings — Lesen
Tool | Funktion |
| Innerhalb eines Audits suchen (Standard ist das aktive Audit). |
| Ein Finding lesen, einschließlich des als Markdown gerenderten Inhalts, damit die KI den Text analysieren kann. |
| Nur einen Abschnitt des Finding-Inhalts als Markdown lesen. Günstiger als |
Findings — Schreiben
Tool | Funktion |
| Erstellen aus strukturierten Feldern + optionaler Vorlage + Beweismitteln. Das Backend erstellt den Tiptap-Inhalt. |
| Skalare Felder ändern (Titel, Schweregrad, Status, Taxonomie, Assets). |
| Massen-Statusänderung. Unterstützt |
| Markdown-Text an einen Abschnitt anhängen. Abschnittsnamen akzeptieren Aliase (recommendations, mitigation, fix, summary, etc.) — sie werden serverseitig auf kanonische Schlüssel normalisiert. |
| Den Text eines Abschnitts ersetzen. Der alte Inhalt wird im Audit-Trail gespeichert. |
Beweismittel
Tool | Funktion |
| Einen Dateipfad / Inline-Inhalt / Base64 hochladen. Gibt eine evidenceId zurück. |
| Eine evidenceId in den Inhalt eines bestehenden Findings einfügen ( |
Scope & Assets
Tool | Funktion |
| Scope-Elemente für ein Audit — was darf getestet werden. |
| Assets im Audit (oder tenant-weit). |
| Einen Host / URL / IAM-Rolle / etc. erstellen, wenn ein Scan ein noch nicht erfasstes Asset aufdeckt. |
| Ein Asset anhand des Namens abgleichen oder erstellen und mit einem Finding verknüpfen. |
Hilfs-CLI
Das Paket enthält zwei Binärdateien:
konsulto-mcp— der stdio MCP-Server. Claude Code startet diesen. Sie führen ihn nicht direkt aus.konsulto— interaktiver Helfer:konsulto init— schreibt.konsulto.ymlfür den aktuellen Ordnerkonsulto whoami— Token verifizieren, Identität + Berechtigungen + aktives Audit anzeigenkonsulto doctor— Plausibilitätsprüfung für Dateimodus der Zugangsdaten, Token-Gültigkeit, Netzwerkerreichbarkeit, MCP-Funktion aktiviert, Rolle besitztmcp:use
Fehlerbehebung
Symptom | Wahrscheinliche Ursache | Lösung |
| Keine | Setzen Sie die Umgebungsvariable oder erstellen Sie die Datei (siehe Schnelleinstieg Schritt 2). |
| Sie haben ein | Erstellen Sie ein |
401 / "authentication failed" bei jedem Tool | Token widerrufen oder abgelaufen | Erstellen Sie ein neues und aktualisieren Sie |
403 / "tenant has disabled MCP" | Tenant-Admin hat MCP deaktiviert | Bitten Sie den Admin, es unter Konto → API-Zugriff wieder zu aktivieren. |
403 / "role no longer permits MCP" | Ihre Rolle hat | Bitten Sie einen Admin, die Berechtigung Ihrer Rolle zuzuweisen. |
| Zu lockere Berechtigungen für die Zugangsdatei |
|
konsulto doctor deckt jeden dieser Punkte explizit mit einer Ein-Zeilen-Lösung ab.
Sicherheitsmodell
Drei Live-Sperren bei jeder API-Anfrage: Tenant-Feature-Flag aktiviert, Ihre Rolle besitzt
mcp:use, Ihr Token ist nicht widerrufen/abgelaufen. Wenn eine davon wegfällt, wird der MCP-Verkehr sofort gestoppt — kein token-spezifischer Widerruf erforderlich.Token-Speicherung:
~/.konsulto/credentials(chmod 600) oderKONSULTO_TOKENUmgebungsvariable. Niemals in~/.claude/mcp.json.E-Mail bei erster Verwendung von neuer IP: Wenn Ihr Token von einer IP verwendet wird, von der es noch nie gesehen wurde, erhalten Sie eine E-Mail, damit ein Leak erkennbar ist. Die E-Mail enthält einen Link zum Widerrufs-Prozess.
Standard-Ablaufzeit: 90 Tage. Maximal 365.
Berechtigungen werden live gelesen: Änderungen an Ihrer Rolle werden innerhalb einer Anfrage wirksam — Sie müssen das Token nicht neu ausstellen.
Mehrere Engagements auf einem Rechner
Setzen Sie KONSULTO_PROFILE=acme, um ~/.konsulto/credentials.acme anstelle der Standarddatei zu lesen. Nützlich, wenn Sie auf dem Konsulto-Tenant eines Kunden arbeiten, während Sie denselben Laptop für den Tenant Ihrer eigenen Firma nutzen.
Lizenz
MIT — siehe LICENSE.
Available Tools
19 toolskonsulto_add_evidence_to_findingA
Graft an already-uploaded attachment into an existing finding's body at the named section. The "auto" section walks poc → description → impact → remediation → end-of-doc. Use this when adding evidence after the finding was created (e.g. screenshots taken later, additional reproduction logs).
Inputs: findingId (required), evidenceId (required), caption, section.
konsulto_append_to_sectionA
Append markdown prose to a named section of a finding. Use this to add a paragraph or two without touching the rest of the finding. Content is markdown — paragraphs, lists, code blocks, links. The backend converts it to the finding's rich-text format.
Inputs: findingId (required), section (required), content (required).
konsulto_attach_evidenceA
Upload a file (or inline content) as an attachment in the active audit. Returns an evidenceId. Pass the evidenceId to konsulto_add_evidence_to_finding or include it in konsulto_compose_finding's evidence array to graft it into a finding's body. This tool only uploads — it does NOT link to a finding by itself. Exactly one of filePath/content/contentBase64 must be set.
Inputs: audit, filePath, content, contentBase64, +2 more.
konsulto_bulk_update_statusA
Change the status of many findings at once. Use for "client confirmed the fix on all of these" or "all stale findings should be closed". Set dryRun: true first to preview affected findings before committing.
Inputs: findingIds (required), status (required), dryRun.
konsulto_compose_findingA
Create a brand-new finding from structured fields + optional template + optional evidence. The backend builds the Tiptap body from a layout — NEVER pass Tiptap JSON as a field. Use plain prose for summary/impact/remediation, an array of plain strings for stepsToReproduce. Evidence is grafted into the body at the requested section ("auto" walks poc → description → impact → remediation → end).
Inputs: fields (required), audit, templateId, severity, +2 more.
konsulto_create_assetA
Create a new asset in the active audit. Use when a scan or evidence reveals a host/URL/IP that isn't yet tracked. After creating, use konsulto_link_asset to attach it to a finding.
Inputs: name (required), type (required), audit, identifiers, +2 more.
konsulto_get_audit_contextA
One-shot orientation tool — returns the active audit's name, status, dates, scope element count, asset count, finding severity rollup, and team. Call this at session start (after whoami) to ground yourself before doing work in the audit. Defaults to the active audit; pass audit to override.
Inputs: audit.
konsulto_get_findingA
Read a single finding by ID, including its body rendered as markdown so the LLM can reason about the prose. Use when the user asks to review, explain, or summarize a specific finding. The body markdown is alongside the structured fields (severity, status, taxonomy, etc.).
Inputs: findingId (required).
konsulto_link_assetA
Attach an asset to a finding. Tries to match an existing asset by name (case-insensitive substring); creates one if none matches. Then patches the finding's assets[] to include the reference. Use this when the user says "this finding affects acme.com:443" — the tool figures out whether to reuse an existing asset or make a new one.
Inputs: findingId (required), assetHint (required), assetType.
konsulto_list_assetsA
List assets in the audit (or tenant-wide if no audit filter). Returns name, type, identifiers (hostname/ip/url/cidr) so you can match evidence to the right asset. Use konsulto_link_asset to attach an asset to a finding.
Inputs: audit, q, limit.
konsulto_list_my_auditsA
List audits this user is a team member of. Use to find the audit ID you want to work in. Filter by status (active/draft/completed/archived).
Inputs: status, limit.
konsulto_list_scopeA
List the scope elements for an audit — what's authorized to be tested. Use to confirm targets are in-scope before recording findings against them. Defaults to the active audit.
Inputs: audit.
konsulto_read_sectionA
Read just one section of a finding's body as markdown. Use for "explain the POC", "summarize the impact", "show me the remediation". Cheaper context-wise than konsulto_get_finding when the user only cares about one section. Section name accepts aliases (recommendations, mitigation, summary, etc.) — they map to canonical names server-side.
Inputs: findingId (required), section (required).
konsulto_replace_sectionA
Replace the entire prose under a named section. The previous content is preserved on the audit trail (recoverable). Prefer konsulto_append_to_section unless the user explicitly wants to rewrite the section. Content is markdown.
Inputs: findingId (required), section (required), content (required).
konsulto_search_findingsA
Search findings within an audit. Defaults to the active audit when set. Returns titles, severities, statuses, and IDs — the body field is not included. Use to check for duplicates before creating a new finding and to find a specific finding to update or attach evidence to.
Inputs: audit, q, severity, status, +1 more.
konsulto_search_templatesA
Search the finding-template catalog. Returns a slim shape (id, title, severity, summary, slot names, taxonomy) — NOT the full template body. Use this to pick a template before calling konsulto_compose_finding. When multiple candidates match, prefer the one whose summary best fits the evidence in hand.
Inputs: q, severity, limit.
konsulto_set_active_auditA
Pin one audit as the session's active audit. Subsequent tools that take an optional audit argument will default to this one. Accepts an audit ID OR a substring of the audit name (fuzzy match — exact match wins, then unique substring). Folder-level pinning via .konsulto.yml is the recommended persistent alternative.
Inputs: audit (required).
konsulto_update_findingA
Update scalar fields on an existing finding. Use this for changing title, severity, status, taxonomy, or assets — NOT for editing the prose body (use konsulto_append_to_section / konsulto_replace_section for that). NOT for evidence (use konsulto_add_evidence_to_finding).
Inputs: findingId (required), patch (required).
konsulto_whoamiA
Show who the MCP is acting as, their permissions, the active audit, and how authentication is configured. Call this first in any session to orient yourself before performing actions. Returns user identity, tenant, role permissions, MCP token expiry, and active audit pin.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Every tool has a clearly distinct purpose. Overlaps like append_to_section and replace_section are differentiated by operation type, and search vs get findings serve different needs. No ambiguity.
All tools follow a consistent 'konsulto_verb_noun' pattern. Verbs are action-specific (add, append, attach, compose, create, etc.) and nouns target distinct entities, making names predictable and easy to navigate.
19 tools cover the core workflows of a security audit MCP server—finding management, evidence, assets, templates, and audit context. The count is well-scoped, each tool earning its place without bloat.
The tool surface is comprehensive for the stated purpose, covering creating, reading, updating, and searching findings, evidence lifecycle, asset management, and audit orientation. The only notable gap is the absence of deletion operations (findings, assets, etc.), which may be intentional but slightly reduces completeness.
Maintenance
Related MCP Connectors
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
A paid remote MCP for CLI tool MCP, built to return verdicts, receipts, usage logs, and audit-ready
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Related MCP Servers
- AlicenseBqualityFmaintenanceAn MCP server for the OnSecurity API that allows Claude to query Rounds, Findings, Prerequisites, Blocks and Notifications.5MIT
- AlicenseBqualityDmaintenanceMCP server for managing Claude Code conversation sessions12MIT
- AlicenseAqualityBmaintenanceLocal MCP server that wraps the headless Claude Code CLI as MCP tools, providing stateless access to Claude's coding capabilities through prompt-based interactions. It enables users to execute Claude Code commands with various prompt formats and structured outputs directly from MCP clients.3MIT
- AlicenseAqualityDmaintenanceMCP server orchestrating local CLI agents (Claude Code, OpenAI Codex, Google Gemini) for cross-validation, second opinions, and persona-driven prompting.18MIT