Skip to content

Commit 6b4f7db

Browse files
Merge branch 'main' into consolidate-project-tools
2 parents b5a8654 + 2b352ab commit 6b4f7db

File tree

8 files changed

+894
-313
lines changed

8 files changed

+894
-313
lines changed

README.md

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ Alternatively, to manually configure VS Code, choose the appropriate JSON block
8585
- **[Codex](/docs/installation-guides/install-codex.md)** - Installation guide for Open AI Codex
8686
- **[Cursor](/docs/installation-guides/install-cursor.md)** - Installation guide for Cursor IDE
8787
- **[Windsurf](/docs/installation-guides/install-windsurf.md)** - Installation guide for Windsurf IDE
88+
- **[Rovo Dev CLI](/docs/installation-guides/install-rovo-dev-cli.md)** - Installation guide for Rovo Dev CLI
8889

8990
> **Note:** Each MCP host application needs to configure a GitHub App or OAuth App to support remote access via OAuth. Any host application that supports remote MCP servers should support the remote GitHub server with PAT authentication. Configuration details and support levels vary by host. Make sure to refer to the host application's documentation for more info.
9091
@@ -491,40 +492,6 @@ The following sets of tools are available:
491492

492493
<summary><picture><source media="(prefers-color-scheme: dark)" srcset="pkg/octicons/icons/workflow-dark.png"><source media="(prefers-color-scheme: light)" srcset="pkg/octicons/icons/workflow-light.png"><img src="pkg/octicons/icons/workflow-light.png" width="20" height="20" alt="workflow"></picture> Actions</summary>
493494

494-
- **actions_get** - Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)
495-
- `method`: The method to execute (string, required)
496-
- `owner`: Repository owner (string, required)
497-
- `repo`: Repository name (string, required)
498-
- `resource_id`: The unique identifier of the resource. This will vary based on the "method" provided, so ensure you provide the correct ID:
499-
- Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'get_workflow' method.
500-
- Provide a workflow run ID for 'get_workflow_run', 'get_workflow_run_usage', and 'get_workflow_run_logs_url' methods.
501-
- Provide an artifact ID for 'download_workflow_run_artifact' method.
502-
- Provide a job ID for 'get_workflow_job' method.
503-
(string, required)
504-
505-
- **actions_list** - List GitHub Actions workflows in a repository
506-
- `method`: The action to perform (string, required)
507-
- `owner`: Repository owner (string, required)
508-
- `page`: Page number for pagination (default: 1) (number, optional)
509-
- `per_page`: Results per page for pagination (default: 30, max: 100) (number, optional)
510-
- `repo`: Repository name (string, required)
511-
- `resource_id`: The unique identifier of the resource. This will vary based on the "method" provided, so ensure you provide the correct ID:
512-
- Do not provide any resource ID for 'list_workflows' method.
513-
- Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'list_workflow_runs' method, or omit to list all workflow runs in the repository.
514-
- Provide a workflow run ID for 'list_workflow_jobs' and 'list_workflow_run_artifacts' methods.
515-
(string, optional)
516-
- `workflow_jobs_filter`: Filters for workflow jobs. **ONLY** used when method is 'list_workflow_jobs' (object, optional)
517-
- `workflow_runs_filter`: Filters for workflow runs. **ONLY** used when method is 'list_workflow_runs' (object, optional)
518-
519-
- **actions_run_trigger** - Trigger GitHub Actions workflow actions
520-
- `inputs`: Inputs the workflow accepts. Only used for 'run_workflow' method. (object, optional)
521-
- `method`: The method to execute (string, required)
522-
- `owner`: Repository owner (string, required)
523-
- `ref`: The git reference for the workflow. The reference can be a branch or tag name. Required for 'run_workflow' method. (string, optional)
524-
- `repo`: Repository name (string, required)
525-
- `run_id`: The ID of the workflow run. Required for all methods except 'run_workflow'. (number, optional)
526-
- `workflow_id`: The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml). Required for 'run_workflow' method. (string, optional)
527-
528495
- **cancel_workflow_run** - Cancel workflow run
529496
- `owner`: Repository owner (string, required)
530497
- `repo`: Repository name (string, required)
@@ -549,15 +516,6 @@ The following sets of tools are available:
549516
- `run_id`: Workflow run ID (required when using failed_only) (number, optional)
550517
- `tail_lines`: Number of lines to return from the end of the log (number, optional)
551518

552-
- **get_job_logs** - Get GitHub Actions workflow job logs
553-
- `failed_only`: When true, gets logs for all failed jobs in the workflow run specified by run_id. Requires run_id to be provided. (boolean, optional)
554-
- `job_id`: The unique identifier of the workflow job. Required when getting logs for a single job. (number, optional)
555-
- `owner`: Repository owner (string, required)
556-
- `repo`: Repository name (string, required)
557-
- `return_content`: Returns actual log content instead of URLs (boolean, optional)
558-
- `run_id`: The unique identifier of the workflow run. Required when failed_only is true to get logs for all failed jobs in the run. (number, optional)
559-
- `tail_lines`: Number of lines to return from the end of the log (number, optional)
560-
561519
- **get_workflow_run** - Get workflow run
562520
- `owner`: Repository owner (string, required)
563521
- `repo`: Repository name (string, required)

cmd/github-mcp-server/generate_docs.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package main
22

33
import (
4+
"context"
45
"fmt"
56
"net/url"
67
"os"
@@ -50,8 +51,8 @@ func generateReadmeDocs(readmePath string) error {
5051
// Create translation helper
5152
t, _ := translations.TranslationHelper()
5253

53-
// Build inventory - stateless, no dependencies needed for doc generation
54-
r := github.NewInventory(t).Build()
54+
// (not available to regular users) while including tools with FeatureFlagDisable.
55+
r := github.NewInventory(t).WithToolsets([]string{"all"}).Build()
5556

5657
// Generate toolsets documentation
5758
toolsetsDoc := generateToolsetsDoc(r)
@@ -153,9 +154,7 @@ func generateToolsetsDoc(i *inventory.Inventory) string {
153154
}
154155

155156
func generateToolsDoc(r *inventory.Inventory) string {
156-
// AllTools() returns tools sorted by toolset ID then tool name.
157-
// We iterate once, grouping by toolset as we encounter them.
158-
tools := r.AllTools()
157+
tools := r.AvailableTools(context.Background())
159158
if len(tools) == 0 {
160159
return ""
161160
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Install GitHub MCP Server in Rovo Dev CLI
2+
3+
## Prerequisites
4+
5+
1. Rovo Dev CLI installed (latest version)
6+
2. [GitHub Personal Access Token](https://github.com/settings/personal-access-tokens/new) with appropriate scopes
7+
8+
## MCP Server Setup
9+
10+
Uses GitHub's hosted server at https://api.githubcopilot.com/mcp/.
11+
12+
### Install steps
13+
14+
1. Run `acli rovodev mcp` to open the MCP configuration for Rovo Dev CLI
15+
2. Add configuration by following example below.
16+
3. Replace `YOUR_GITHUB_PAT` with your actual [GitHub Personal Access Token](https://github.com/settings/tokens)
17+
4. Save the file and restart Rovo Dev CLI with `acli rovodev`
18+
19+
### Example configuration
20+
21+
```json
22+
{
23+
"mcpServers": {
24+
"github": {
25+
"url": "https://api.githubcopilot.com/mcp/",
26+
"headers": {
27+
"Authorization": "Bearer YOUR_GITHUB_PAT"
28+
}
29+
}
30+
}
31+
}
32+
```

0 commit comments

Comments
 (0)