ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

DefectDojo

โดย inspicereรุ่น 3.3.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.inspicere/mcp-defectdojo

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

MCP server for DefectDojo: 24 tools with RBAC, HMAC audit chain, and SIEM forwarding

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: DEFECTDOJO_URL, DEFECTDOJO_API_KEY, DEFECTDOJO_READ_API_KEY, DEFECTDOJO_WRITE_API_KEY, MCP_AUTH_TOKEN, AUDIT_HMAC_KEY

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: DEFECTDOJO_URL, DEFECTDOJO_API_KEY, DEFECTDOJO_READ_API_KEY, DEFECTDOJO_WRITE_API_KEY, MCP_AUTH_TOKEN, AUDIT_HMAC_KEY

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "defectdojo": {
      "command": "uvx",
      "args": [
        "mcp-defectdojo"
      ],
      "env": {
        "DEFECTDOJO_URL": "ใส่ค่าของคุณ",
        "DEFECTDOJO_API_KEY": "ใส่ค่าของคุณ",
        "DEFECTDOJO_READ_API_KEY": "ใส่ค่าของคุณ",
        "DEFECTDOJO_WRITE_API_KEY": "ใส่ค่าของคุณ",
        "MCP_AUTH_TOKEN": "ใส่ค่าของคุณ",
        "AUDIT_HMAC_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add defectdojo --env DEFECTDOJO_URL='ใส่ค่าของคุณ' --env DEFECTDOJO_API_KEY='ใส่ค่าของคุณ' --env DEFECTDOJO_READ_API_KEY='ใส่ค่าของคุณ' --env DEFECTDOJO_WRITE_API_KEY='ใส่ค่าของคุณ' --env MCP_AUTH_TOKEN='ใส่ค่าของคุณ' --env AUDIT_HMAC_KEY='ใส่ค่าของคุณ' -- uvx mcp-defectdojo

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "defectdojo": {
      "command": "uvx",
      "args": [
        "mcp-defectdojo"
      ],
      "env": {
        "DEFECTDOJO_URL": "ใส่ค่าของคุณ",
        "DEFECTDOJO_API_KEY": "ใส่ค่าของคุณ",
        "DEFECTDOJO_READ_API_KEY": "ใส่ค่าของคุณ",
        "DEFECTDOJO_WRITE_API_KEY": "ใส่ค่าของคุณ",
        "MCP_AUTH_TOKEN": "ใส่ค่าของคุณ",
        "AUDIT_HMAC_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "defectdojo": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-defectdojo"
      ],
      "env": {
        "DEFECTDOJO_URL": "ใส่ค่าของคุณ",
        "DEFECTDOJO_API_KEY": "ใส่ค่าของคุณ",
        "DEFECTDOJO_READ_API_KEY": "ใส่ค่าของคุณ",
        "DEFECTDOJO_WRITE_API_KEY": "ใส่ค่าของคุณ",
        "MCP_AUTH_TOKEN": "ใส่ค่าของคุณ",
        "AUDIT_HMAC_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • DEFECTDOJO_URL จำเป็น env
    Base URL of the DefectDojo instance (must use https:// unless ALLOW_INSECURE_HTTP=true)
  • DEFECTDOJO_API_KEY ความลับ จำเป็น env
    API key for DefectDojo (generate at DefectDojo > API v2 > Your API Key). Use DEFECTDOJO_READ_API_KEY + DEFECTDOJO_WRITE_API_KEY for least-privilege dual-key mode.
  • DEFECTDOJO_READ_API_KEY ความลับ env
    Optional read-only API key (used for GET requests in dual-key mode)
  • DEFECTDOJO_WRITE_API_KEY ความลับ env
    Optional write API key (used for POST/PATCH in dual-key mode)
  • MCP_AUTH_TOKEN ความลับ env
    Bearer token granting admin-role access (legacy single-token mode — prefer MCP_ROLE_ = : for RBAC)
  • AUDIT_HMAC_KEY ความลับ env
    HMAC key for audit log integrity chain. Required for cross-restart log verification on network transports. Generate with: python3 -c 'import secrets; print(secrets.token_hex(32))'

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub inspicere ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32655 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 10% ของอีก 32655 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32655 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

DefectDojo ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: DEFECTDOJO_URL, DEFECTDOJO_API_KEY, DEFECTDOJO_READ_API_KEY, DEFECTDOJO_WRITE_API_KEY, MCP_AUTH_TOKEN, AUDIT_HMAC_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (3.3.2) เข้า registry 5 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, SuperCollider

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวานซืน
ติดตั้ง

SuperCollider

โดย Tok

Make sound with SuperCollider: synths, drums, chords, melodies and soundscapes over OSC.

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

mcp-defectdojo

MCP server for DefectDojo vulnerability management. Exposes 24 tools for managing products, engagements, tests, findings, scan imports, and finding lifecycle through the Model Context Protocol.

[Getting Started Guide](https://github.com/inspicere/mcp-defectdojo/blob/main/docs/getting-started.md) — step-by-step setup, from install through connecting your first MCP client.

Quick Start

git clone https://github.com/inspicere/mcp-defectdojo.git && cd mcp-defectdojo

cp .env.example .env

Edit .env — set DEFECTDOJO_URL and DEFECTDOJO_API_KEY

uv sync --frozen uv run mcp-defectdojo

Requires Python 3.12+, uv, and a running DefectDojo instance.

Configuration

All configuration is via environment variables. Copy env.example to .env for local development.

Required
VariableDescription
DEFECTDOJO_URLBase URL of the DefectDojo instance (must use https:// unless overridden)
DEFECTDOJO_API_KEYAPI key for DefectDojo (generate at DefectDojo > API v2 > Your API Key)
Optional — Dual API Key Mode

For least-privilege access, use separate read/write keys instead of DEFECTDOJO_API_KEY:

VariableDescription
DEFECTDOJO_READ_API_KEYRead-only API key (used for GET requests)
DEFECTDOJO_WRITE_API_KEYWrite API key (used for POST/PATCH requests)
Optional — MCP Authentication (RBAC)

Token-role bindings using MCP_ROLE_* env vars (preferred):

VariableDescription
MCP_ROLE_ Format: : . Binds a bearer token to a role. Name becomes the caller ID.

Four roles are available, each inheriting from the one below:

RolePermissions
adminAll permissions including product_mgmt
writerengagement_mgmt, finding_mgmt, scan_mgmt, metadata_read, system
scannerscan_mgmt, metadata_read, system
readermetadata_read, system

Example: MCP_ROLE_CI=tok_abc123:scanner grants the token scanner-level access.

Legacy variables (mapped to RBAC roles for backward compatibility):

VariableMaps to
MCP_AUTH_TOKENadmin role
MCP_READ_TOKENreader role
Optional — Transport
VariableDefaultDescription
FASTMCP_TRANSPORTstdioTransport mode: stdio, sse, streamable-http, http
FASTMCP_HOST0.0.0.0Bind address for network transports
FASTMCP_PORT8000Port for network transports
Optional — Security
VariableDefaultDescription
ALLOW_INSECURE_HTTPfalseAllow http:// URLs (TLS required by default)
MUTATION_RATE_LIMIT60Max mutations per rate window per authenticated caller (per-token bucket)
OPEN_ACCESS_MUTATION_RATE_LIMIT10Max mutations per rate window across all unauthenticated traffic (one shared bucket — applies only when REQUIRE_AUTH=false)
MUTATION_RATE_WINDOW60Rate window in seconds (applies to both buckets)
UNTRUSTED_CONTENT_WRAPPINGonF-002 read-side wrapping kill-switch. When on (default), title, description, tags, notes, and note entry fields are returned inside {"value": , "_warning": "untrusted-content: ..."}. Set to off only for legacy downstream consumers that cannot parse the wrapped shape.
DEFECTDOJO_DEFAULT_FOUND_BY_ID1Finding type ID used in create_finding payloads. The default 1 corresponds to "API Test" on stock DefectDojo installs; set to the ID for your "Manual" or "Pen Test" type if the default is missing or incorrect. Validated at startup — must be a positive integer.
Optional — Logging & Audit
VariableDefaultDescription
LOG_LEVELINFODEBUG, INFO, WARNING, ERROR, CRITICAL
AUDIT_HMAC_KEY*(ephemeral)*HMAC key for audit log integrity chain. Required for cross-restart log verification. Generate with: python3 -c "import secrets; print(secrets.token_hex(32))"
AUDIT_LOG_FILE*(stderr only)*Path for dedicated audit log file (JSON-lines, logrotate-compatible)
Optional — SIEM Log Forwarding
VariableDefaultDescription
AUDIT_LOG_SYSLOG*(disabled)*Syslog destination. Format: [transport://]host[:port]. Transports: tcp, udp, tcp+tls (default).
AUDIT_LOG_SYSLOG_CA*(system CAs)*Custom CA certificate for syslog TLS verification
AUDIT_LOG_HTTPS_URL*(disabled)*HTTPS endpoint for log forwarding (JSON array POST)
AUDIT_LOG_HTTPS_TOKEN*(none)*Bearer token for HTTPS endpoint authentication
AUDIT_LOG_HTTPS_BATCH_SIZE10Number of log records per HTTPS batch
AUDIT_LOG_HTTPS_FLUSH_SECS5Seconds before flushing a partial batch
AUDIT_LOG_HTTPS_CA*(system CAs)*Custom CA certificate path for HTTPS TLS verification — required when forwarding to a SIEM signed by an internal PKI (e.g. Caddy + Vault PKI).

The HTTPS forwarder retries each batch once on transient failure with a short backoff and opens a 30-second circuit breaker after 3 consecutive failures, matching the syslog forwarder's behavior. Batch and circuit-open failures are emitted as structured audit_forward_failure events with forwarder: "https" for SIEM correlation.

Common Pitfalls

These traps bite first-time deployments most often. Each one is a fail-CLOSED guard by design — the server refuses to start rather than running in a silently-degraded state.

1. Network transport without AUDIT_HMAC_KEY

Symptom: Container exits immediately with:

ValueError: AUDIT_HMAC_KEY not set on network transport 'streamable-http' —

set REQUIRE_AUDIT_HMAC_KEY=false to opt out (not recommended).

Cause: On sse, streamable-http, or http transports, the server requires a persistent HMAC key for the audit-log integrity chain. Without it, the chain can't survive a process restart — a regulatory-grade audit log shouldn't run in that mode by accident.

Fix (recommended): Generate and set a real key:

export AUDIT_HMAC_KEY=$(python3 -c "import secrets; print(secrets.token_hex(32))")

Store it in a secret manager (Vault, AWS Secrets Manager, etc.) so it persists across deploys.

Fix (escape hatch): If you've consciously accepted the ephemeral-key posture (e.g., short-lived dev container), set REQUIRE_AUDIT_HMAC_KEY=false. The server starts and logs a CRITICAL warning at boot.

Note for stdio users: This guard only fires on network transports. Local stdio (Claude Desktop / Claude Code) is unaffected.

2. Network transport without authentication

Symptom: Server refuses to start on sse/streamable-http/http with a missing-auth error.

Cause: Network transports require at least one MCP_ROLE_ = : binding (or the legacy MCP_AUTH_TOKEN). Open access on the network is opt-in only.

Fix: Set at least one role token:

export MCP_ROLE_CI="$(openssl rand -hex 32):scanner"

Or, for development only, opt out with REQUIRE_AUTH=false (warning: any caller on the network can use the server).

If you combine REQUIRE_AUTH=false with the default FASTMCP_HOST=0.0.0.0, you have an open mutation API on the LAN. The server emits a distinct CRITICAL audit event when both conditions hold so a SIEM rule can alert on the compound case. For workstation development, set FASTMCP_HOST=127.0.0.1 to bind only to localhost.

3. Local DefectDojo over plain HTTP

Symptom: Server refuses to start with:

DEFECTDOJO_URL must use https:// (set ALLOW_INSECURE_HTTP=true to override)

Cause: TLS is enforced by default. Local dev DefectDojo instances often run on http://localhost:8080 without TLS.

Fix: For local development against a non-TLS DefectDojo, set ALLOW_INSECURE_HTTP=true. Never set this in production — use a reverse proxy (Caddy, nginx, Traefik) to terminate TLS in front of DefectDojo instead.

4. create_product returns 403 with a valid API key

Symptom: Read tools work; create_product returns Permission denied (HTTP 403) from DefectDojo.

Cause: This isn't an MCP server bug — the DefectDojo API key inherits its user's role. Product creation requires admin-level access in DefectDojo itself. Most scanner-style service accounts can create engagements, tests, and findings but not products.

Fix: Either (a) use an admin API key for the MCP server, or (b) pre-create products in DefectDojo and let the MCP server manage everything below the product level. The dual-key mode (DEFECTDOJO_READ_API_KEY + DEFECTDOJO_WRITE_API_KEY) helps here: scope the write key narrowly and accept that create_product will fail-fast.

5. Bulk scan imports hit the mutation rate limit

Symptom: First ~60 imports succeed, then subsequent calls return ToolError: rate limit exceeded — retry after Ns with a Retry-After hint.

Cause: The default mutation rate limit is 60 mutations per 60-second sliding window per authenticated token. Bulk operations exceed it quickly.

Fix: For legitimate bulk-import workflows, either (a) raise MUTATION_RATE_LIMIT to a value matched to your batch size, (b) raise MUTATION_RATE_WINDOW to a longer window, or (c) use the scanner role with import_scan/reimport_scan — scan imports bundle many findings into a single mutation. Don't disable the rate limiter outright; it's the only defense against runaway agent loops.

6. LLM client breaks on the untrusted-content envelope

Symptom: A downstream client that previously consumed note["entry"] as a bare string now sees {"value": "...", "_warning": "untrusted-content: ..."} and fails.

Cause: Read-side wrapping is on by default (F-002 / prompt-injection defense). Affected fields: title, description, tags, finding-note entry.

Fix (preferred): Update the consumer to look at field["value"] and surface field["_warning"] to the operator. This is the secure path — the wrapper signals the LLM not to interpret the contents as instructions.

Fix (legacy escape): Set UNTRUSTED_CONTENT_WRAPPING=off to disable wrapping globally. Only use this if you have an independent untrusted-content boundary downstream.

7. Stale MCP_AUTH_TOKEN after switching to RBAC

Symptom: A token that previously worked now returns Permission denied: requires on every mutation.

Cause: MCP_AUTH_TOKEN (the legacy single-token env var) maps to the admin role for backwards compatibility. As soon as you add any MCP_ROLE_ =... env var, the legacy token still works as admin, but its caller identity becomes admin-legacy rather than the friendly name you might expect in audit logs. If you intended the legacy token to be scanner, the role assignment doesn't apply.

Fix: Migrate fully to MCP_ROLE_ bindings. The legacy var is a compatibility shim, not a configuration mechanism.


If you hit a failure mode not covered here, the audit log will tell you why — every refused request emits a structured JSON line with the rejection reason. Look for event_type=audit and outcome=denied.

Tools

Read Tools (require metadata_read)
ToolPermissionDescription
health_checksystemCheck connectivity to DefectDojo
list_productsmetadata_readList products with pagination
get_productmetadata_readGet a single product by ID
list_product_typesmetadata_readList product types (for use in create_product)
list_engagementsmetadata_readList engagements for a product

| `get_enga

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx