Skip to main content
Glama

DeepSource MCP Server

by sapientpants

deepsource_quality_metrics

Analyze code quality metrics for DeepSource projects, including coverage, duplication, and thresholds, with filtering options. Provides detailed insights for individual languages and repository-wide aggregation.

Instructions

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:

  • Current values
  • Threshold settings
  • Pass/fail status
  • Configuration status (reporting and enforcement)

For each metric, detailed information is provided for different programming languages and the aggregated metrics for the entire repository.

Input Schema

NameRequiredDescriptionDefault
projectKeyYesThe unique identifier for the DeepSource project
shortcodeInNoFilter metrics by specific shortcodes (e.g., ["LCV", "BCV"])

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "projectKey": { "description": "The unique identifier for the DeepSource project", "type": "string" }, "shortcodeIn": { "description": "Filter metrics by specific shortcodes (e.g., [\"LCV\", \"BCV\"])", "items": { "enum": [ "LCV", "BCV", "DCV", "DDP", "SCV", "TCV", "CMP" ], "type": "string" }, "type": "array" } }, "required": [ "projectKey" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sapientpants/deepsource-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server