Overview
GitHub tools enable IncidentFox to search code, analyze PRs, and interact with CI/CD workflows.Configuration
Available Tools
Code Tools
search_github_code
Search code across repositories.
Parameters:
Example:
read_github_file
Read file contents from a repository.
Parameters:
PR Tools
list_pull_requests
List PRs in a repository.
Parameters:
get_pull_request
Get PR details.
Parameters:
get_pr_diff
Get the diff for a PR.
Parameters:
create_pull_request
Create a new PR.
Parameters:
Issue Tools
list_issues
List repository issues.
Parameters:
create_issue_comment
Add comment to an issue.
Parameters:
GitHub Actions Tools
get_workflow_runs
List workflow runs.
Parameters:
get_workflow_run_logs
Get logs from a workflow run.
Parameters:
Example:
get_check_runs
Get check runs for a commit.
Parameters:
Git Tools
git_diff
Show changes between commits.
Parameters:
git_blame
Show who changed what in a file.
Parameters:
git_log
Show commit history.
Parameters:
Use Cases
CI Failure Analysis
get_pull_request- Get PR detailsget_check_runs- Find failing checksget_workflow_run_logs- Get failure logsget_pr_diff- Analyze code changes- Correlate to identify root cause
Deployment Correlation
list_pull_requests- Recent merged PRsgit_log- Recent commitsget_pr_diff- Changes in each PR
Code Investigation
search_github_code- Find relevant filesread_github_file- Read configurationgit_blame- Find who last changed it
Required Token Scopes
Next Steps
Custom MCP Tools
Add your own tools
GitHub Integration
Set up GitHub bot

