deepsource-mcp-server
Version:
Model Context Protocol server for DeepSource
25 lines (24 loc) • 928 B
TypeScript
import { ReportType } from '../deepsource.js';
/**
* Interface for parameters for getting a compliance report
* @public
*/
export interface DeepsourceComplianceReportParams {
/** DeepSource project key to identify the project */
projectKey: string;
/** Type of compliance report to fetch */
reportType: ReportType;
}
/**
* Fetches and returns compliance reports from a DeepSource project
* @param params - Parameters for fetching the compliance report, including project key and report type
* @returns Response containing the compliance report with security issues statistics
* @throws Error if the DEEPSOURCE_API_KEY environment variable is not set or if the report type is unsupported
* @public
*/
export declare function handleDeepsourceComplianceReport({ projectKey, reportType, }: DeepsourceComplianceReportParams): Promise<{
content: {
type: "text";
text: string;
}[];
}>;