sourcery
v0.2.1Sourcery security findings: MCP server, CLI, and fix-prompt builder over the Sourcery API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sourcery_capabilities
Return the verified Sourcery integration boundary for this bundle.
sourcery_security_snapshot
Triage overview: counts by status/severity plus the first page of active issues.
| Parameter | Type | Description |
|---|---|---|
issue_types | ||
limit | integer | |
repository_ids |
sourcery_list_findings
List security issues with spec filters; pass a previous `next_cursor` to page.
| Parameter | Type | Description |
|---|---|---|
cursor | string | null | |
issue_types | ||
limit | integer | |
repository_ids | ||
search | string | null | |
statuses |
sourcery_get_finding
Fetch a single security issue (full record incl. source snippet and dependency graph).
| Parameter | Type | Description |
|---|---|---|
finding_id * | integer |
sourcery_get_security_counts
Aggregate issue counts by status and severity.
| Parameter | Type | Description |
|---|---|---|
issue_types | ||
repository_ids |
sourcery_bulk_update_findings
Bulk-update issue status/severity (max 100 ids; SOLVED cannot be set manually). Returns `updated_ids` plus `failed` entries with reason `not_found` or `not_eligible`.
| Parameter | Type | Description |
|---|---|---|
ids * | array | |
reason | string | null | |
severity_override | ||
snoozed_until | string | null | |
status |
sourcery_list_groups
List security issue groups (same filters as findings; groups aggregate one rule/package).
| Parameter | Type | Description |
|---|---|---|
cursor | string | null | |
issue_types | ||
limit | integer | |
repository_ids | ||
search | string | null | |
statuses |
sourcery_get_group
Fetch a single issue group including all its issues and any linked tracker task.
| Parameter | Type | Description |
|---|---|---|
group_id * | integer |
sourcery_get_group_counts
Aggregate group counts by status and severity.
| Parameter | Type | Description |
|---|---|---|
issue_types | ||
repository_ids |
sourcery_bulk_update_groups
Bulk-update groups (max 100 ids); a group updates when at least one issue changes.
| Parameter | Type | Description |
|---|---|---|
ids * | array | |
reason | string | null | |
severity_override | ||
snoozed_until | string | null | |
status |
sourcery_build_fix_prompt
Build a minimal-change agent prompt from a Sourcery finding object. Handles DEPENDENCY findings via `fixed_versions` + `manifest_file_path` and renders the dependency chain when `dependency_graph` is present.
| Parameter | Type | Description |
|---|---|---|
finding_json * | string |
sourcery_api_request
Compatibility bridge: call one of the eight verified operations directly. Prefer the typed tools. The path allow-list is enforced in the client; anything outside the pinned OpenAPI surface is rejected before a request is made.
| Parameter | Type | Description |
|---|---|---|
method * | string | |
path * | string | |
body_json | string | |
params_json | string |