Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
dc6f457
Workflow read
omgitsads Oct 15, 2025
8e58df7
Add additional toolsets in remote mcp
omgitsads Oct 15, 2025
29ed343
Add copilot
omgitsads Oct 15, 2025
f0b8835
Add implementations for consolidated Actions resource read tool
omgitsads Oct 17, 2025
3cf224c
Renamed resource to action, added usage
omgitsads Oct 17, 2025
3796906
fix tests from rename
omgitsads Oct 20, 2025
ea7b19b
More tests
omgitsads Oct 21, 2025
ce0ab9c
Tests for artifacts and usage
omgitsads Oct 24, 2025
ee9abaa
Change to actions_read
omgitsads Oct 27, 2025
6baf170
Take a string and parse
omgitsads Oct 28, 2025
88869ce
Update description
omgitsads Oct 29, 2025
972edb1
Update description
omgitsads Oct 30, 2025
cdcbe4b
Add filename for the description
omgitsads Oct 30, 2025
e1f8963
Merge branch 'main' of https://github.com/github/github-mcp-server
omgitsads Oct 30, 2025
7313191
Add the list_workflows option to the actions_read tool
omgitsads Oct 30, 2025
c33b0ba
comment out tool for now
omgitsads Oct 30, 2025
a5a2267
Fix tests
omgitsads Oct 30, 2025
eb4dd27
fix linter issues
omgitsads Oct 30, 2025
02526f5
Merge branch 'main' into actions-consolidated
omgitsads Oct 30, 2025
ff4af57
More detailed descriptions
omgitsads Oct 30, 2025
6722490
Make it clear you can pass a file name
omgitsads Oct 30, 2025
c398bc2
Split out into List and Get tools, add trigger
omgitsads Oct 31, 2025
617e44c
Update description
omgitsads Oct 31, 2025
7028be0
Improve descriptions to be clearer
omgitsads Oct 31, 2025
817292e
Merge branch 'main' into actions-consolidated
mattdholloway Nov 19, 2025
42cad66
update docs and toolsnaps
mattdholloway Nov 19, 2025
a7a9c3d
Merge branch 'actions-consolidated' of https://github.com/github/gith…
mattdholloway Nov 19, 2025
c0f99d1
refactor: update tool description and comment formatting in actions.go
mattdholloway Nov 20, 2025
d8e9492
consolidate get logs tools
mattdholloway Nov 20, 2025
72fb1d5
lint and bug fixes for actions get logs tools
mattdholloway Nov 20, 2025
348b2bd
update get_job_log to get_workflow_job_logs
mattdholloway Nov 20, 2025
b7d0d6e
update docs
mattdholloway Nov 20, 2025
fc48cfe
update actions run trigger tool to include delete
mattdholloway Nov 20, 2025
c3283c9
fix test err string
mattdholloway Nov 20, 2025
b141589
Update pkg/github/actions.go
mattdholloway Nov 20, 2025
8e7fa55
Update pkg/github/actions.go
mattdholloway Nov 20, 2025
d9234b6
Update pkg/github/actions_test.go
mattdholloway Nov 20, 2025
4f41865
Merge branch 'main' into actions-consolidated
mattdholloway Nov 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 29 additions & 79 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,93 +431,43 @@ The following sets of tools are available:

<summary>Actions</summary>

- **cancel_workflow_run** - Cancel workflow run
- **actions_get** - Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)
- `action`: The action to perform (string, required)
- `failed_only`: When true, gets logs for all failed jobs in the workflow run specified by resource_id (only for 'get_workflow_job_logs' action) (boolean, optional)
- `job_id`: The unique identifier of the workflow job (required for single job logs when action is 'get_workflow_job_logs') (number, optional)
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)

- **delete_workflow_run_logs** - Delete workflow logs
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)

- **download_workflow_run_artifact** - Download workflow artifact
- `artifact_id`: The unique identifier of the artifact (number, required)
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)

- **get_job_logs** - Get job logs
- `failed_only`: When true, gets logs for all failed jobs in run_id (boolean, optional)
- `job_id`: The unique identifier of the workflow job (required for single job logs) (number, optional)
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `return_content`: Returns actual log content instead of URLs (boolean, optional)
- `run_id`: Workflow run ID (required when using failed_only) (number, optional)
- `tail_lines`: Number of lines to return from the end of the log (number, optional)

- **get_workflow_run** - Get workflow run
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)

- **get_workflow_run_logs** - Get workflow run logs
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)

- **get_workflow_run_usage** - Get workflow usage
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)

- **list_workflow_jobs** - List workflow jobs
- `filter`: Filters jobs by their completed_at timestamp (string, optional)
- `resource_id`: The unique identifier of the resource. This will vary based on the "action" provided, so ensure you provide the correct ID:
- Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'get_workflow' action.
- Provide a workflow run ID for 'get_workflow_run', 'download_workflow_run_artifact', 'get_workflow_run_usage', and 'get_workflow_run_logs' actions.
- Provide a job ID for the 'get_workflow_job' action.
- Provide a workflow run ID for 'get_workflow_job_logs' action when using failed_only parameter.
(string, optional)
- `return_content`: Returns actual log content instead of URLs (only for 'get_workflow_job_logs' action) (boolean, optional)
- `tail_lines`: Number of lines to return from the end of the log (only for 'get_workflow_job_logs' action) (number, optional)

- **actions_list** - List GitHub Actions workflows in a repository
- `action`: The action to perform (string, required)
- `owner`: Repository owner (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)

- **list_workflow_run_artifacts** - List workflow artifacts
- `owner`: Repository owner (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)

- **list_workflow_runs** - List workflow runs
- `actor`: Returns someone's workflow runs. Use the login for the user who created the workflow run. (string, optional)
- `branch`: Returns workflow runs associated with a branch. Use the name of the branch. (string, optional)
- `event`: Returns workflow runs for a specific event type (string, optional)
- `owner`: Repository owner (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `repo`: Repository name (string, required)
- `status`: Returns workflow runs with the check run status (string, optional)
- `workflow_id`: The workflow ID or workflow file name (string, required)

- **list_workflows** - List workflows
- `owner`: Repository owner (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `repo`: Repository name (string, required)

- **rerun_failed_jobs** - Rerun failed jobs
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)

- **rerun_workflow_run** - Rerun workflow run
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)

- **run_workflow** - Run workflow
- `inputs`: Inputs the workflow accepts (object, optional)
- `resource_id`: The unique identifier of the resource. This will vary based on the "action" provided, so ensure you provide the correct ID:
- Do not provide any resource ID for 'list_workflows' action.
- Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'list_workflow_runs' actions.
- Provide a workflow run ID for 'list_workflow_jobs' and 'list_workflow_run_artifacts' actions.
(string, optional)
- `workflow_jobs_filter`: Filters for workflow jobs. **ONLY** used when action is 'list_workflow_jobs' (object, optional)
- `workflow_runs_filter`: Filters for workflow runs. **ONLY** used when action is 'list_workflow_runs' (object, optional)

- **actions_run_trigger** - Trigger GitHub Actions workflow actions
- `action`: The action to trigger (string, required)
- `inputs`: Inputs the workflow accepts. Only used for 'run_workflow' action. (object, optional)
- `owner`: Repository owner (string, required)
- `ref`: The git reference for the workflow. The reference can be a branch or tag name. (string, required)
- `ref`: The git reference for the workflow. The reference can be a branch or tag name. Required for 'run_workflow' action. (string, optional)
- `repo`: Repository name (string, required)
- `workflow_id`: The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml) (string, required)
- `run_id`: The ID of the workflow run. Required for all actions except 'run_workflow'. (number, optional)
- `workflow_id`: The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml). Required for 'run_workflow' action. (string, optional)

</details>

Expand Down
Loading