Skip to main content
Glama

burp_export

Export Burp Suite security scan results in XML, HTML, or JSON formats for analysis and reporting during penetration testing.

Instructions

Export Burp Suite scan results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoExport format (default: xml)
output_pathNoOutput file path (optional)

Implementation Reference

  • Core handler function that performs the burp_export tool logic: fetches scan report from Burp API and saves to file in specified format.
    async exportResults(format: 'xml' | 'html' | 'json' = 'xml', outputPath?: string): Promise<ScanResult> { try { console.error(`📄 Exporting Burp results in ${format} format`); const exportResponse = await axios.get(`${this.apiBaseUrl}/v0.1/scan/report`, { params: { format } }); const timestamp = new Date().toISOString().replace(/[:.]/g, '-'); const filename = outputPath || `burp-report-${timestamp}.${format}`; fs.writeFileSync(filename, exportResponse.data); return { target: 'export', timestamp: new Date().toISOString(), tool: 'burpsuite_export', results: { export_format: format, output_file: filename, file_size: fs.statSync(filename).size }, status: 'success' }; } catch (error) { return { target: 'export', timestamp: new Date().toISOString(), tool: 'burpsuite_export', results: {}, status: 'error', error: error instanceof Error ? error.message : String(error) }; } }
  • src/index.ts:607-608 (registration)
    Dispatch handler in main server that routes 'burp_export' calls to BurpSuiteIntegration.exportResults method.
    case "burp_export": return respond(await this.burpSuite.exportResults(args.format || 'xml', args.output_path));
  • Tool schema definition and registration in the list of available tools, including input schema for parameters.
    name: "burp_export", description: "Export Burp Suite scan results", inputSchema: { type: "object", properties: { format: { type: "string", enum: ["xml", "html", "json"], description: "Export format (default: xml)" }, output_path: { type: "string", description: "Output file path (optional)" } }, required: [] } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adriyansyah-mf/mcp-pentest'

If you have feedback or need assistance with the MCP directory API, please join our Discord server