DeepSource MCP Server

by sapientpants

deepsource_project_runs

Retrieve and filter analysis runs for a DeepSource project using cursor-based pagination. Navigate pages with first, after, last, and before parameters, and filter by specific analyzers for targeted code quality insights.

Instructions

List analysis runs for a DeepSource project with support for Relay-style cursor-based pagination and filtering. 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.

Filtering options:

  • analyzerIn: Filter runs by specific analyzers

Input Schema

NameRequiredDescriptionDefault
afterNoCursor to fetch records after this position
analyzerInNoFilter runs by specific analyzers (e.g. ["python", "javascript"])
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" }, "analyzerIn": { "description": "Filter runs by specific analyzers (e.g. [\"python\", \"javascript\"])", "items": { "type": "string" }, "type": "array" }, "before": { "description": "Cursor to fetch records before this position", "type": "string" }, "first": { "description": "Number of items to return after the \"after\" cursor (default: 10)", "type": "number" }, "last": { "description": "Number of items to return before the \"before\" cursor (default: 10)", "type": "number" }, "offset": { "description": "Legacy pagination: Number of items to skip", "type": "number" }, "projectKey": { "description": "The unique identifier for the DeepSource project", "type": "string" } }, "required": [ "projectKey" ], "type": "object" }

You must be authenticated.

Other Tools from DeepSource MCP Server

Related Tools

ID: u4wlvmu5z8