We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DollhouseMCP/DollhouseMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
/**
* JSON Reporter - Generates JSON reports for programmatic consumption
* Placeholder implementation - to be completed
*/
import type { SecurityReport, ScanResult, SecurityFinding } from '../types.js';
export class JsonReporter implements SecurityReport {
private result: ScanResult;
constructor(result: ScanResult) {
this.result = result;
}
generate(): object {
// TODO: Implement full JSON report
return {
timestamp: this.result.timestamp,
summary: this.result.summary,
findings: this.result.findings
};
}
getSummary(): string {
return JSON.stringify(this.result.summary);
}
getFindings(): SecurityFinding[] {
return this.result.findings;
}
}