Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add GitHub Actions tools for workflow management#491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
gabornyergesX wants to merge5 commits intogithub:main
base:main
Choose a base branch
Loading
fromgabornyergesX:main
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
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
111 changes: 108 additions & 3 deletionsREADME.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -151,6 +151,7 @@ The following sets of tools are available (all are on by default):
| `issues` | Issue-related tools (create, read, update, comment) |
| `users` | Anything relating to GitHub Users |
| `pull_requests` | Pull request operations (create, merge, review) |
| `actions` | GitHub Actions workflows and CI/CD operations |
| `code_security` | Code scanning alerts and security features |
| `experiments` | Experimental features (not considered stable) |

Expand All@@ -161,12 +162,12 @@ To specify toolsets you want available to the LLM, you can pass an allow-list in
1. **Using Command Line Argument**:

```bash
github-mcp-server --toolsets repos,issues,pull_requests,code_security
github-mcp-server --toolsets repos,issues,pull_requests,actions,code_security
```

2. **Using Environment Variable**:
```bash
GITHUB_TOOLSETS="repos,issues,pull_requests,code_security" ./github-mcp-server
GITHUB_TOOLSETS="repos,issues,pull_requests,actions,code_security" ./github-mcp-server
```

The environment variable `GITHUB_TOOLSETS` takes precedence over the command line argument if both are provided.
Expand All@@ -178,7 +179,7 @@ When using Docker, you can pass the toolsets as environment variables:
```bash
docker run -i --rm \
-e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> \
-e GITHUB_TOOLSETS="repos,issues,pull_requests,code_security,experiments" \
-e GITHUB_TOOLSETS="repos,issues,pull_requests,actions,code_security,experiments" \
ghcr.io/github/github-mcp-server
```

Expand DownExpand Up@@ -568,6 +569,110 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
- `page`: Page number (number, optional)
- `perPage`: Results per page (number, optional)

### Actions

- **list_workflows** - List workflows in a repository

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `page`: Page number (number, optional)
- `perPage`: Results per page (number, optional)

- **list_workflow_runs** - List workflow runs for a specific workflow

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `workflow_id`: Workflow ID or filename (string, required)
- `branch`: Filter by branch name (string, optional)
- `event`: Filter by event type (string, optional)
- `status`: Filter by run status (string, optional)
- `page`: Page number (number, optional)
- `perPage`: Results per page (number, optional)

- **run_workflow** - Trigger a workflow via workflow_dispatch event

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `workflow_id`: Workflow ID or filename (string, required)
- `ref`: Git reference (branch, tag, or SHA) (string, required)
- `inputs`: Input parameters for the workflow (object, optional)

- **get_workflow_run** - Get details of a specific workflow run

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: Workflow run ID (number, required)

- **get_workflow_run_logs** - Download logs for a workflow run

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: Workflow run ID (number, required)

- **list_workflow_jobs** - List jobs for a workflow run

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: Workflow run ID (number, required)
- `filter`: Filter by job status (string, optional)
- `page`: Page number (number, optional)
- `perPage`: Results per page (number, optional)

- **get_job_logs** - Download logs for a specific workflow job or efficiently get all failed job logs for a workflow run

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `job_id`: Job ID (number, required for single job logs)
- `run_id`: Workflow run ID (number, required when using failed_only)
- `failed_only`: When true, gets logs for all failed jobs in run_id (boolean, optional)
- `return_content`: Returns actual log content instead of URLs (boolean, optional)

- **rerun_workflow_run** - Re-run an entire workflow

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: Workflow run ID (number, required)
- `enable_debug_logging`: Enable debug logging for the re-run (boolean, optional)

- **rerun_failed_jobs** - Re-run only the failed jobs in a workflow run

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: Workflow run ID (number, required)
- `enable_debug_logging`: Enable debug logging for the re-run (boolean, optional)

- **cancel_workflow_run** - Cancel a running workflow

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: Workflow run ID (number, required)

- **list_workflow_run_artifacts** - List artifacts from a workflow run

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: Workflow run ID (number, required)
- `page`: Page number (number, optional)
- `perPage`: Results per page (number, optional)

- **download_workflow_run_artifact** - Get download URL for a specific artifact

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `artifact_id`: Artifact ID (number, required)

- **delete_workflow_run_logs** - Delete logs for a workflow run

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: Workflow run ID (number, required)

- **get_workflow_run_usage** - Get usage metrics for a workflow run

- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: Workflow run ID (number, required)

### Code Scanning

- **get_code_scanning_alert** - Get a code scanning alert
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp