Skip to main content
Glama
@konsulto/mcp

@konsulto/mcp

Official
by konsulto

@konsulto/mcp

License: MIT Node

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/credentials

Oder 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 doctor

Sie 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.md

Wenn 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 .konsulto.yml

Wiederholte Arbeit am selben Engagement. Führen Sie konsulto init einmal pro Ordner aus.

set_active_audit pro Sitzung

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 audit: an jeden Tool-Aufruf.

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

konsulto_whoami

Identität, Berechtigungen, aktives Audit. Als erstes in einer Sitzung aufrufen.

konsulto_list_my_audits

Audits auflisten, bei denen Sie Mitglied sind.

konsulto_set_active_audit

Ein Audit für den Rest der Sitzung festlegen (Fuzzy-Match nach Name).

konsulto_get_audit_context

Einmalige Orientierung — Name, Status, Anzahl Scope/Assets, Schweregrad-Zusammenfassung, Team.

Vorlagen

Tool

Funktion

konsulto_search_templates

Finding-Vorlagen nach Abfrage/Schweregrad finden. Schlanke Form — ID, Titel, Schweregrad, Zusammenfassung, Slot-Namen, Taxonomie. Kein Inhalt.

Findings — Lesen

Tool

Funktion

konsulto_search_findings

Innerhalb eines Audits suchen (Standard ist das aktive Audit).

konsulto_get_finding

Ein Finding lesen, einschließlich des als Markdown gerenderten Inhalts, damit die KI den Text analysieren kann.

konsulto_read_section

Nur einen Abschnitt des Finding-Inhalts als Markdown lesen. Günstiger als get_finding für "erkläre den POC".

Findings — Schreiben

Tool

Funktion

konsulto_compose_finding

Erstellen aus strukturierten Feldern + optionaler Vorlage + Beweismitteln. Das Backend erstellt den Tiptap-Inhalt.

konsulto_update_finding

Skalare Felder ändern (Titel, Schweregrad, Status, Taxonomie, Assets).

konsulto_bulk_update_status

Massen-Statusänderung. Unterstützt dryRun: true für eine Vorschau.

konsulto_append_to_section

Markdown-Text an einen Abschnitt anhängen. Abschnittsnamen akzeptieren Aliase (recommendations, mitigation, fix, summary, etc.) — sie werden serverseitig auf kanonische Schlüssel normalisiert.

konsulto_replace_section

Den Text eines Abschnitts ersetzen. Der alte Inhalt wird im Audit-Trail gespeichert.

Beweismittel

Tool

Funktion

konsulto_attach_evidence

Einen Dateipfad / Inline-Inhalt / Base64 hochladen. Gibt eine evidenceId zurück.

konsulto_add_evidence_to_finding

Eine evidenceId in den Inhalt eines bestehenden Findings einfügen (auto-Platzierung durchläuft poc → description → impact → remediation → end).

Scope & Assets

Tool

Funktion

konsulto_list_scope

Scope-Elemente für ein Audit — was darf getestet werden.

konsulto_list_assets

Assets im Audit (oder tenant-weit).

konsulto_create_asset

Einen Host / URL / IAM-Rolle / etc. erstellen, wenn ein Scan ein noch nicht erfasstes Asset aufdeckt.

konsulto_link_asset

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.yml für den aktuellen Ordner

    • konsulto whoami — Token verifizieren, Identität + Berechtigungen + aktives Audit anzeigen

    • konsulto doctor — Plausibilitätsprüfung für Dateimodus der Zugangsdaten, Token-Gültigkeit, Netzwerkerreichbarkeit, MCP-Funktion aktiviert, Rolle besitzt mcp:use

Fehlerbehebung

Symptom

Wahrscheinliche Ursache

Lösung

No Konsulto credentials found

Keine KONSULTO_TOKEN Umgebungsvariable, keine ~/.konsulto/credentials Datei

Setzen Sie die Umgebungsvariable oder erstellen Sie die Datei (siehe Schnelleinstieg Schritt 2).

This token is a tenant integration key, not an MCP token

Sie haben ein kon_live_* Token verwendet

Erstellen Sie ein kon_mcp_* Token unter Profil → MCP-Tokens.

401 / "authentication failed" bei jedem Tool

Token widerrufen oder abgelaufen

Erstellen Sie ein neues und aktualisieren Sie ~/.konsulto/credentials.

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 mcp:use verloren

Bitten Sie einen Admin, die Berechtigung Ihrer Rolle zuzuweisen.

permissions file mode is 644

Zu lockere Berechtigungen für die Zugangsdatei

chmod 600 ~/.konsulto/credentials

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) oder KONSULTO_TOKEN Umgebungsvariable. 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 tools
konsulto_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_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

    A4.2/5.0

    Scored across 19 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers