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