Dradis MCP
Integrates with Dradis Pro to manage projects, vulnerabilities, content blocks, and document properties through MCP-enabled tools.
README
Dradis MCP
A FastMCP server implementation for interacting with Dradis Pro, a collaborative platform for information security teams. This MCP allows you to manage projects and vulnerabilities in Dradis directly through your MCP-enabled tools.
Features
- Project Management
- Create new projects
- Get project details
- Set active project for operations
- Vulnerability Management
- Create vulnerabilities
- Update existing vulnerabilities
- Get vulnerability details
- Get all vulnerability details
- List vulnerabilities with pagination support
- Content Block Management
- Get all content blocks in current project
- Update a content block
- Document Property Management
- Get all document properties
- Create or update a document property
- Robust error handling and input validation
- Consistent JSON response formatting
Prerequisites
- Node.js (v14 or higher)
- npm
- A Dradis Pro instance
- Dradis API token
Installation
npm install
Configuration
Environment Variables
Create a .env file in the root directory with the following variables:
DRADIS_URL=<url>
DRADIS_API_TOKEN=<token>
DRADIS_DEFAULT_TEAM_ID=<teamId>
DRADIS_DEFAULT_TEMPLATE_ID=<templateId>
DRADIS_VULNERABILITY_PARAMETERS=<commaSeparatedParams> // Title,Description,Solution,etc.
MCP Config File
To add Dradis MCP to your MCP configuration, add the following to your config file to mcp.json if you're using 5ire:
{
"servers": [
{
"key": "Dradis",
"command": "npx",
"description": "A Model Context Protocol server that provides integration with Dradis note-taking platform",
"args": ["-y", "dradis-mcp"],
"env": {
"DRADIS_URL": "<url:string:Your Dradis instance URL>",
"DRADIS_API_TOKEN": "<token:string:Your Dradis API token>",
"DRADIS_DEFAULT_TEAM_ID": "<number:string:Default team ID for project creation>",
"DRADIS_DEFAULT_TEMPLATE_ID": "<number:string:Default template ID for project creation>"
},
"isActive": false
}
]
}
Available Tools
Project Management
-
setProject: Set the current Dradis project{ projectId: number } -
getProjectDetails: Get details of the current project// No parameters required -
createProject: Create a new Dradis project{ name: string; team_id?: number; // Optional if DRADIS_DEFAULT_TEAM_ID is set report_template_properties_id?: number; // Optional if DRADIS_DEFAULT_TEMPLATE_ID is set author_ids?: number[]; template?: string; // Optional if DRADIS_DEFAULT_TEMPLATE is set }
Vulnerability Management
-
createVulnerability: Create a new vulnerability{ text: string; // Content with #[ ]# field syntax } -
getVulnerabilities: List vulnerabilities (25 per page){ page?: number; // Optional page number } -
getVulnerability: Get specific vulnerability{ vulnerabilityId: number; } -
updateVulnerability: Update existing vulnerability{ issueId: number; parameters: { text: string; } }
Content Block Management
-
getContentBlocks: Get all content blocks in current project// No parameters required -
updateContentBlock: Update a content block{ blockId: number; contentBlock: { content: string; } }
Document Property Management
-
getDocumentProperties: Get all document properties// No parameters required -
upsertDocumentProperty: Create or update a document property{ propertyName: string; value: string; }
Development
To run the server in development mode with the CLI:
npm run dev
To inspect the server using MCP Inspector:
npm run inspect
Building
To build the TypeScript code:
npm run build
Running in Production
To run the built server:
npm start
Project Structure
/src- Source codeapi.ts- Dradis API client implementationconfig.ts- Configuration loading and validationserver.ts- MCP server implementationtypes.ts- TypeScript type definitions
/dist- Compiled JavaScript (generated after build)
Error Handling
The MCP provides detailed error messages for:
- Missing or invalid configuration
- API request failures
- Invalid input parameters
- Missing project ID
- Network errors
Response Format
All tool responses are formatted as JSON with consistent structure:
- Success responses include relevant data and optional success messages
- Error responses include detailed error messages and context
- List endpoints include pagination metadata when applicable
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。