@konsulto/mcp
Official@konsulto/mcp
Claude Code(및 기타 MCP 호환 클라이언트)가 CLI에서 Konsulto 사이버 보안 감사 플랫폼을 구동할 수 있게 해주는 MCP 서버입니다:
읽기 — 참여 중인 감사 목록 확인, 결과/템플릿 검색, 결과 읽기(LLM이 내용을 추론할 수 있도록 마크다운으로 렌더링된 본문 포함), 단일 섹션 읽기.
쓰기 — 구조화된 필드에서 결과 작성(백엔드가 Tiptap 본문 생성), 스칼라 값 업데이트, 마크다운을 사용하여 섹션 내용 추가/교체, 드라이 런(dry-run) 미리보기를 통한 상태 일괄 변경.
증거 — 파일/인라인 콘텐츠/base64 업로드, 결과 본문의 적절한 섹션에 증거 삽입.
범위 및 자산 — 범위 나열, 자산 나열/생성, 자산 일치 또는 생성 후 결과에 연결.
사용자의 역할 권한에 따라 작동하며, 사용자별 MCP 토큰으로 제어됩니다. 세 가지 런타임 게이트: 테넌트 기능 플래그 활성화, 역할에 mcp:use 권한 포함, 토큰이 취소/만료되지 않음.
빠른 시작
1. Konsulto 웹 앱에서 MCP 토큰 생성
로그인 → 프로필 → MCP 토큰 → 새 MCP 토큰으로 이동합니다. kon_mcp_… 값을 복사하세요. 다시 표시되지 않습니다. (테넌트 관리자가 계정 → API 액세스에서 MCP 통합을 먼저 활성화해야 합니다.)
2. 토큰을 로컬에 저장
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파일을 작성하고 싶지 않다면 KONSULTO_TOKEN 환경 변수를 사용하세요.
3. Claude Code에 서버 정보 알리기
~/.claude/mcp.json에 추가하세요:
{
"mcpServers": {
"konsulto": {
"command": "npx",
"args": ["-y", "@konsulto/mcp"]
}
}
}연결 확인:
npx @konsulto/mcp doctor모든 항목이 녹색 체크 표시로 나타나야 합니다.
Related MCP server: claude-sessions-mcp
폴더 고정 (선택 사항, 권장)
참여 폴더 내에서 npx @konsulto/mcp init을 실행하여 특정 감사에 고정하세요:
~/audits/acme-q2-pentest/
├── .konsulto.yml ← pins this folder to one audit
├── recon/
└── notes.md해당 폴더(또는 하위 폴더)에서 Claude Code가 실행되면 MCP가 자동으로 감사를 고정합니다. 더 이상 감사 ID를 고민할 필요가 없습니다.
이 파일은 팀과 공유할 수 있습니다. 감사 ID와 선택적 엔드포인트만 포함하며 비밀 정보는 없습니다.
워크플로우 패턴
패턴 | 사용 시기 |
폴더 고정 | 동일한 참여 건에 대해 반복 작업 시. 폴더당 |
세션별 | 하나의 작업 공간에서 감사를 전환할 때. Claude에게 "<감사 이름>으로 전환"이라고 요청. |
호출별 명시적 지정 | 한 세션에서 여러 감사를 다룰 때. 각 도구 호출에 |
도구
모든 도구는 konsulto_* 접두사가 붙어 있어 구성했을 수 있는 다른 MCP(Burp, nmap, prowler 등)와 충돌하지 않습니다.
ID 및 컨텍스트
도구 | 기능 |
| ID, 권한, 활성 감사 확인. 세션 시작 시 호출. |
| 참여 중인 감사 목록 나열. |
| 세션 동안 하나의 감사를 고정(이름으로 퍼지 매칭). |
| 일회성 정보 확인 — 이름, 상태, 범위/자산 수, 심각도 요약, 팀. |
템플릿
도구 | 기능 |
| 쿼리/심각도별로 결과 템플릿 검색. 간략한 형태 — ID, 제목, 심각도, 요약, 슬롯 이름, 분류. 본문 제외. |
결과 — 읽기
도구 | 기능 |
| 감사 내 검색 (기본값은 활성 감사). |
| LLM이 내용을 추론할 수 있도록 마크다운으로 렌더링된 본문을 포함하여 결과 읽기. |
| 결과 본문의 한 섹션만 마크다운으로 읽기. "POC 설명" 등을 확인할 때 |
결과 — 쓰기
도구 | 기능 |
| 구조화된 필드 + 선택적 템플릿 + 증거를 사용하여 생성. 백엔드가 Tiptap 본문 생성. |
| 스칼라 필드(제목, 심각도, 상태, 분류, 자산) 변경. |
| 대량 상태 변경. 미리보기를 위한 |
| 섹션에 마크다운 내용 추가. 섹션 이름은 별칭(recommendations, mitigation, fix, summary 등)을 허용하며 서버 측에서 표준 키로 정규화됨. |
| 섹션 내용 교체. 이전 내용은 감사 추적에 저장됨. |
증거
도구 | 기능 |
| 파일 경로 / 인라인 콘텐츠 / base64 업로드. evidenceId 반환. |
| evidenceId를 기존 결과 본문에 삽입 ( |
범위 및 자산
도구 | 기능 |
| 감사 범위 요소 — 테스트 권한이 있는 항목. |
| 감사 내(또는 테넌트 전체) 자산. |
| 스캔 결과 추적되지 않은 호스트/URL/IAM 역할 등이 발견될 경우 생성. |
| 이름으로 자산을 일치시키거나 생성하여 결과에 연결. |
도우미 CLI
이 패키지는 두 개의 바이너리를 제공합니다:
konsulto-mcp— stdio MCP 서버. Claude Code가 이를 실행합니다. 직접 실행하지 마세요.konsulto— 대화형 도우미:konsulto init— 현재 폴더에.konsulto.yml작성konsulto whoami— 토큰 확인, ID + 권한 + 활성 감사 표시konsulto doctor— 자격 증명 파일 모드, 토큰 유효성, 네트워크 연결성, MCP 기능 활성화 여부, 역할의mcp:use권한 확인
문제 해결
증상 | 예상 원인 | 해결 방법 |
|
| 환경 변수를 설정하거나 파일을 생성하세요 (빠른 시작 2단계 참조). |
|
| 프로필 → MCP 토큰에서 |
모든 도구에서 401 / "authentication failed" | 토큰 취소 또는 만료 | 새 토큰을 생성하고 |
403 / "tenant has disabled MCP" | 테넌트 관리자가 MCP를 비활성화함 | 관리자에게 계정 → API 액세스에서 다시 활성화해달라고 요청하세요. |
403 / "role no longer permits MCP" | 역할에서 | 관리자에게 역할에 권한을 부여해달라고 요청하세요. |
| 자격 증명 파일 권한이 너무 느슨함 |
|
konsulto doctor는 이러한 각 문제를 한 줄로 해결할 수 있도록 안내합니다.
보안 모델
모든 API 요청에 대한 세 가지 실시간 게이트: 테넌트 기능 플래그 활성화, 역할의
mcp:use권한, 토큰의 유효성. 하나라도 충족되지 않으면 즉시 MCP 트래픽이 차단됩니다. 토큰별 취소는 필요하지 않습니다.토큰 저장:
~/.konsulto/credentials(chmod 600) 또는KONSULTO_TOKEN환경 변수.~/.claude/mcp.json에는 절대 저장하지 마세요.새 IP에서의 첫 접속 시 이메일 알림: 토큰이 이전에 본 적 없는 IP에서 사용되면 이메일이 발송되어 유출을 감지할 수 있습니다. 이메일에는 취소 링크가 포함되어 있습니다.
기본 만료: 90일. 최대 365일.
실시간 권한 읽기: 역할이 변경되면 요청 한 번으로 즉시 반영됩니다. 토큰을 재발급할 필요가 없습니다.
한 컴퓨터에서 여러 참여 건 처리
KONSULTO_PROFILE=acme를 설정하면 기본값 대신 ~/.konsulto/credentials.acme를 읽습니다. 본인의 회사 테넌트와 고객의 Konsulto 테넌트를 같은 노트북에서 작업할 때 유용합니다.
라이선스
MIT — 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