deepsource-mcp-server
Version:
Model Context Protocol server for DeepSource
23 lines (22 loc) • 950 B
TypeScript
/**
* @fileoverview Project runs handler for the DeepSource MCP server
* This module provides MCP tool handlers for DeepSource project analysis runs.
*/
import { ApiResponse } from '../models/common.js';
import { RunFilterParams } from '../models/runs.js';
/**
* Interface for parameters for fetching project runs
* @public
*/
export interface DeepsourceProjectRunsParams extends RunFilterParams {
/** DeepSource project key to fetch runs for */
projectKey: string;
}
/**
* Fetches and returns analysis runs from a specified DeepSource project
* @param params - Parameters for fetching runs, including project key and optional filters
* @returns A response containing the runs data
* @throws Error if the DEEPSOURCE_API_KEY environment variable is not set
* @public
*/
export declare function handleDeepsourceProjectRuns({ projectKey, analyzerIn, first, after, last, before, }: DeepsourceProjectRunsParams): Promise<ApiResponse>;