Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
DEEPSOURCE_API_KEY | Yes | Your DeepSource API key for authentication with the DeepSource API |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
deepsource_projects | List all available DeepSource projects. Returns a list of project objects with "key" and "name" properties. |
deepsource_project_issues | Get issues from a DeepSource project with support for Relay-style cursor-based pagination and filtering.
For forward pagination, use Filtering options:
|
deepsource_project_runs | List analysis runs for a DeepSource project with support for Relay-style cursor-based pagination and filtering.
For forward pagination, use Filtering options:
|
deepsource_run | Get a specific analysis run by its runUid (UUID) or commitOid (commit hash). |
deepsource_dependency_vulnerabilities | Get dependency vulnerabilities from a DeepSource project with support for Relay-style cursor-based pagination.
For forward pagination, use The response provides detailed information about each vulnerability, including:
|
deepsource_quality_metrics | Get quality metrics from a DeepSource project with optional filtering by metric type. Metrics include code coverage, duplicate code percentage, and more, along with their:
For each metric, detailed information is provided for different programming languages and the aggregated metrics for the entire repository. |
deepsource_update_metric_threshold | Update the threshold for a specific quality metric in a DeepSource project. This allows setting or removing threshold values that determine if a metric passes or fails. Thresholds can be set per language or for the entire repository (AGGREGATE). Examples:
|
deepsource_update_metric_setting | Update the settings for a quality metric in a DeepSource project. This allows configuring how metrics are used in the project:
Example:
|
deepsource_compliance_report | Get security compliance reports from a DeepSource project. This tool provides access to industry-standard security compliance reports including:
The response includes:
|