sourcery

v0.2.1
io.github.abyssbugg/sourcery Checked 3 days ago Published 2 months ago

Sourcery 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.

ParameterTypeDescription
issue_types
limitinteger
repository_ids

sourcery_list_findings

List security issues with spec filters; pass a previous `next_cursor` to page.

ParameterTypeDescription
cursorstring | null
issue_types
limitinteger
repository_ids
searchstring | null
statuses

sourcery_get_finding

Fetch a single security issue (full record incl. source snippet and dependency graph).

ParameterTypeDescription
finding_id *integer

sourcery_get_security_counts

Aggregate issue counts by status and severity.

ParameterTypeDescription
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`.

ParameterTypeDescription
ids *array
reasonstring | null
severity_override
snoozed_untilstring | null
status

sourcery_list_groups

List security issue groups (same filters as findings; groups aggregate one rule/package).

ParameterTypeDescription
cursorstring | null
issue_types
limitinteger
repository_ids
searchstring | null
statuses

sourcery_get_group

Fetch a single issue group including all its issues and any linked tracker task.

ParameterTypeDescription
group_id *integer

sourcery_get_group_counts

Aggregate group counts by status and severity.

ParameterTypeDescription
issue_types
repository_ids

sourcery_bulk_update_groups

Bulk-update groups (max 100 ids); a group updates when at least one issue changes.

ParameterTypeDescription
ids *array
reasonstring | null
severity_override
snoozed_untilstring | 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.

ParameterTypeDescription
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.

ParameterTypeDescription
method *string
path *string
body_jsonstring
params_jsonstring