mcp
v0.1.0FinishKit MCP: scan GitHub repos for security vulnerabilities, deployment blockers, and quality
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan_repo
Scan a GitHub repository with FinishKit to detect security vulnerabilities, deployment blockers, stability issues, test coverage gaps, and UI problems. This is the primary tool - it handles the full scan lifecycle: finds the project, triggers a new scan run, polls until completion (typically 2-8 minutes), and returns a comprehensive summary of all findings. Use this when a user wants to check if their code is production-ready, find security issues, or prepare for deployment. Returns finding counts by category and severity, plus a human-readable summary.
| Parameter | Type | Description |
|---|---|---|
repo_name * | string | The GitHub repository name without the owner prefix (e.g., 'my-app' not 'myorg/my-app') |
repo_owner * | string | The GitHub organization or username that owns the repository (e.g., 'myorg' or 'octocat') |
commit_sha | string | Specific git commit SHA to scan. If omitted, scans the latest commit on the default branch. |
run_type | string | The type of scan to run. 'baseline' scans the full codebase (default), 'pr' scans changes in a pull request, 'manual_patch' applies a specific patch. |
get_scan_status
Check the current status of an in-progress FinishKit scan. Returns the scan phase (clone, detect, analyze, patch, verify, pr, finalize), progress percentage, and estimated time remaining. Use this to poll a running scan that was triggered separately, or to check if a previously started scan has completed.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | The FinishKit run ID returned by scan_repo or any runs API call |
get_findings
Retrieve detailed findings from a completed FinishKit scan. Findings include security vulnerabilities, deployment blockers, stability issues, test gaps, and UI problems. Each finding includes the affected file path, line numbers, severity, category, detailed explanation, and suggested fix. Use this after scan_repo completes to get the full list of issues, optionally filtered by category or severity.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | The FinishKit run ID to retrieve findings for (returned by scan_repo or get_scan_status) |
category | string | Filter findings to a specific category. Omit to get all findings. |
limit | number | Maximum number of findings to return (1-100). Defaults to 50. |
severity | string | Filter findings to a specific minimum severity level. For example, "high" returns critical and high findings. Omit to get all severities. |
get_patches
Retrieve automatically generated code patches from a completed FinishKit scan. Patches are diff-format code changes that fix detected issues. Each patch includes the affected finding title, the unified diff, application status, and verification status. Use this to see what code changes FinishKit recommends, or to apply fixes to the codebase.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | The FinishKit run ID to retrieve patches for |
list_projects
List all FinishKit projects connected to your account. Each project represents a GitHub repository that has been linked to FinishKit. Returns project IDs, repository names, last scan status, and last scan date. Use this to see which repositories are configured, find project IDs for other API calls, or check when a repository was last scanned.
create_project
Create a new FinishKit project by linking a GitHub repository. Note: This requires the FinishKit GitHub App to be installed on the repository first. If the GitHub App is not installed, this tool will direct the user to https://finishkit.app/dashboard to install it and create the project through the web interface. Returns setup instructions with a direct link to the dashboard.
| Parameter | Type | Description |
|---|---|---|
repo_name * | string | The GitHub repository name without the owner prefix (e.g., 'my-app' not 'myorg/my-app') |
repo_owner * | string | The GitHub organization or username that owns the repository (e.g., 'myorg' or 'octocat') |