DeepSource MCP Server

by sapientpants

deepsource_dependency_vulnerabilities

Identify and analyze dependency vulnerabilities in DeepSource projects with detailed insights on package versions, severity, reachability, and fixability. Supports cursor-based pagination for easy navigation.

Instructions

Get dependency vulnerabilities from a DeepSource project with support for Relay-style cursor-based pagination. For forward pagination, use first (defaults to 10) with optional after cursor. For backward pagination, use last (defaults to 10) with optional before cursor. The response includes pageInfo with hasNextPage, hasPreviousPage, startCursor, and endCursor to help navigate through pages.

The response provides detailed information about each vulnerability, including:

  • Package information (name, ecosystem, purl)
  • Package version details
  • Vulnerability details (identifiers, severity, CVSS scores)
  • Reachability status (whether the vulnerability is reachable in the code)
  • Fixability information (whether and how the vulnerability can be fixed)

Input Schema

NameRequiredDescriptionDefault
afterNoCursor to fetch records after this position
beforeNoCursor to fetch records before this position
firstNoNumber of items to return after the "after" cursor (default: 10)
lastNoNumber of items to return before the "before" cursor (default: 10)
offsetNoLegacy pagination: Number of items to skip
projectKeyYesThe unique identifier for the DeepSource project

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "after": { "description": "Cursor to fetch records after this position", "type": "string" }, "before": { "description": "Cursor to fetch records before this position", "type": "string" }, "first": { "description": "Number of items to return after the \"after\" cursor (default: 10)", "exclusiveMinimum": 0, "type": "integer" }, "last": { "description": "Number of items to return before the \"before\" cursor (default: 10)", "exclusiveMinimum": 0, "type": "integer" }, "offset": { "description": "Legacy pagination: Number of items to skip", "minimum": 0, "type": "integer" }, "projectKey": { "description": "The unique identifier for the DeepSource project", "minLength": 1, "type": "string" } }, "required": [ "projectKey" ], "type": "object" }

You must be authenticated.

Other Tools from DeepSource MCP Server

Related Tools

ID: u4wlvmu5z8