Token导航 LogoToken导航TokenDH.com
MCP Defect Dojo logo
AI代理未说明官方级别未说明来源级核验

MCP Defect Dojo

MCP Server

一个通过自然语言使AI代理与DefectDojo漏洞管理平台交互的MCP协议服务器,适用于自动化漏洞检测和管理。

工具数

4

提示词数

0

GitHub Stars

0

资源数

0
GoClaude自然语言处理Claude DesktopClaudeVS Code

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

brduru

提供方

brduru

最后核验

2026/5/17 20:21

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

MCP缺陷Dojo

🔗 将AI代理连接到DefectDojo漏洞管理

![CI](https://github.com/brduru/mcp-defect-dojo/action) ](https://golang.org/) ![License](LICENSE) ![GoDoc](https://pkg.go.dev/github.com/brduru/mcp-defect-dojo)

A. 模型上下文协议 服务器,使AI代理能够通过自然语言与DefectDojo漏洞管理平台进行交互。

兼容:Claude Desktop、VS Code Copilot、自定义AI代理和任何与MCP兼容的工具

� 快速开始

AI代理(推荐)

  1. 下载二进制文件:
   # Linux/macOS
   curl -L https://github.com/brduru/mcp-defect-dojo/releases/latest/download/mcp-defect-dojo-linux-amd64 -o mcp-defect-dojo
   chmod +x mcp-defect-dojo
  1. 配置您的AI客户端:

克劳德桌面 (~/.claude/claude_desktop_config.json):

   {
     "mcpServers": {
       "defectdojo": {
         "command": "/path/to/mcp-defect-dojo",
         "env": {
           "DEFECTDOJO_URL": "https://your-defectdojo.com",
           "DEFECTDOJO_API_KEY": "your-api-key"
         }
       }
     }
   }
  1. 开始聊天:
   You: "Check if DefectDojo is working"
   Claude: ✅ DefectDojo Health Check: HEALTHY

   You: "Show me all critical vulnerabilities"
   Claude: Found 5 critical findings...

适用于Go应用程序

go get github.com/brduru/mcp-defect-dojo/pkg/mcpserver
package main

import "github.com/brduru/mcp-defect-dojo/pkg/mcpserver"

func main() {
    // Quick setup with API key
    server, err := mcpserver.NewServerWithAPIKey("your-api-key")
    if err != nil {
        panic(err)
    }
    
    // Run the server
    if err := server.Run(context.Background()); err != nil {
        panic(err)
    }
}

🛠️ 可用工具

工具说明示例
defectdojo_health_check验证连接*“DefectDojo在线吗?”*
get_defectdojo_findings搜索漏洞*“向我展示所有关键发现”*
get_finding_detail获取查找详细信息*“获取查找#123的详细信息”*
mark_finding_false_positive标记误报*“将发现#456标记为假阳性”*

对话示例

🧑: "Check if DefectDojo is working"
🤖: ✅ DefectDojo Health Check: HEALTHY
   Connection successful to https://your-defectdojo.com
   API v2 is responsive and accessible.

🧑: "Show me the most critical vulnerabilities"  
🤖: Found 3 critical findings:
   
   1. [Critical] SQL Injection in Authentication (ID: 456)
      Status: Active, Verified: true
      
   2. [Critical] Remote Code Execution via Upload (ID: 789)  
      Status: Active, Verified: false

⚙️ 配置

环境变量

变量描述默认值必填
DEFECTDOJO_URL破坏Dojo基础URLhttp://localhost:8080
DEFECTDOJO_API_KEYAPI身份验证密钥-
DEFECTDOJO_API_VERSIONAPI版本v2

配置方法

// Method 1: Environment variables (recommended for AI agents)
server, err := mcpserver.NewServer()

// Method 2: Direct API key
server, err := mcpserver.NewServerWithAPIKey("your-api-key")

// Method 3: Full configuration
server, err := mcpserver.NewServerWithSettings(mcpserver.DefectDojoSettings{
    BaseURL:    "https://defectdojo.company.com",
    APIKey:     "your-api-key",
    APIVersion: "v2",
})

📦 安装

预构建二进制文件

平台下载
Linux(x64)mcp-defect-dojo-linux-amd64
Linux(ARM64)mcp-defect-dojo-linux-arm64
macOS(英特尔)mcp-defect-dojo-darwin-amd64
macOS(苹果硅)mcp-defect-dojo-darwin-arm64
Windows(x64)mcp-defect-dojo-windows-amd64.exe

来源

git clone https://github.com/brduru/mcp-defect-dojo.git
cd mcp-defect-dojo
make build

Go模块

go get github.com/brduru/mcp-defect-dojo/pkg/mcpserver@latest

🔧 发展

测试

# Run all tests
make test

# Run with coverage
make test-coverage

# Run specific package
go test ./pkg/mcpserver -v

当前测试覆盖范围:

  • pkg/mcpserver: 32.9%
  • pkg/types: 100%
  • internal/config: 80%
  • internal/defectdojo: 86.9%

建筑

# Build for current platform
make build

# Build for all platforms
make build-all

# Run locally
make run

📚 文档

🤝 贡献

我们欢迎捐款!请查看我们的 贡献指南 了解详情。

  1. 分叉存储库
  2. 创建功能分支(git checkout -b feature/amazing-feature)
  3. 运行测试(make test)
  4. 提交您的更改(git commit -m 'Add some amazing feature')
  5. 推到分支(git push origin feature/amazing-feature)
  6. 打开拉取请求

📝 许可证

MIT许可证-请参阅 许可证 文件以获取详细信息。

______________________________________________________________________

将您的AI代理连接到DefectDojo并自动化漏洞管理 🚀

目录标签

目录标签

GoClaude自然语言处理漏洞管理本地部署AI代理安全自动化DefectDojo集成

支持客户端

Claude DesktopClaudeVS Code

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

api-key

工具数量(toolCount,工具数)

4

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明api-key部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP