You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/close-inactive-issues.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ jobs:
7
7
close-issues:
8
8
runs-on: ubuntu-latest
9
9
env:
10
-
PR_DAYS_BEFORE_STALE: 60
11
-
PR_DAYS_BEFORE_CLOSE: 120
10
+
PR_DAYS_BEFORE_STALE: 30
11
+
PR_DAYS_BEFORE_CLOSE: 60
12
12
PR_STALE_LABEL: stale
13
13
permissions:
14
14
issues: write
@@ -21,8 +21,8 @@ jobs:
21
21
stale-issue-label: ${{ env.PR_STALE_LABEL }}
22
22
stale-issue-message: "This issue is stale because it has been open for ${{ env.PR_DAYS_BEFORE_STALE }} days with no activity. Leave a comment to avoid closing this issue in ${{ env.PR_DAYS_BEFORE_CLOSE }} days."
23
23
close-issue-message: "This issue was closed because it has been inactive for ${{ env.PR_DAYS_BEFORE_CLOSE }} days since being marked as stale."
@@ -611,6 +612,9 @@ The following sets of tools are available:
611
612
-`filename`: Filename for simple single-file gist creation (string, required)
612
613
-`public`: Whether the gist is public (boolean, optional)
613
614
615
+
-**get_gist** - Get Gist Content
616
+
-`gist_id`: The ID of the gist (string, required)
617
+
614
618
-**list_gists** - List Gists
615
619
-`page`: Page number for pagination (min 1) (number, optional)
616
620
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
@@ -627,6 +631,19 @@ The following sets of tools are available:
627
631
628
632
<details>
629
633
634
+
<summary>Git</summary>
635
+
636
+
-**get_repository_tree** - Get repository tree
637
+
-`owner`: Repository owner (username or organization) (string, required)
638
+
-`path_filter`: Optional path prefix to filter the tree results (e.g., 'src/' to only show files in the src directory) (string, optional)
639
+
-`recursive`: Setting this parameter to true returns the objects or subtrees referenced by the tree. Default is false (boolean, optional)
640
+
-`repo`: Repository name (string, required)
641
+
-`tree_sha`: The SHA1 value or ref (branch or tag) name of the tree. Defaults to the repository's default branch (string, optional)
642
+
643
+
</details>
644
+
645
+
<details>
646
+
630
647
<summary>Issues</summary>
631
648
632
649
-**add_issue_comment** - Add comment to issue
@@ -676,7 +693,7 @@ Options are:
676
693
-`state`: New state (string, optional)
677
694
-`state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
678
695
-`title`: Issue title (string, optional)
679
-
-`type`: Type of this issue (string, optional)
696
+
-`type`: Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
680
697
681
698
-**list_issue_types** - List available issue types
682
699
-`owner`: The organization owner of the repository (string, required)
@@ -827,31 +844,37 @@ Options are:
827
844
-`project_number`: The project's number. (number, required)
828
845
829
846
-**list_project_fields** - List project fields
847
+
-`after`: Forward pagination cursor from previous pageInfo.nextCursor. (string, optional)
848
+
-`before`: Backward pagination cursor from previous pageInfo.prevCursor (rare). (string, optional)
830
849
-`owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
831
850
-`owner_type`: Owner type (string, required)
832
-
-`per_page`: Number of results per page (max 100, default: 30) (number, optional)
851
+
-`per_page`: Results per page (max 50) (number, optional)
833
852
-`project_number`: The project's number. (number, required)
834
853
835
854
-**list_project_items** - List project items
836
-
-`fields`: Specific list of field IDs to include in the response (e.g. ["102589", "985201", "169875"]). If not provided, only the title field is included. (string[], optional)
855
+
-`after`: Forward pagination cursor from previous pageInfo.nextCursor. (string, optional)
856
+
-`before`: Backward pagination cursor from previous pageInfo.prevCursor (rare). (string, optional)
857
+
-`fields`: Field IDs to include (e.g. ["102589", "985201"]). CRITICAL: Always provide to get field values. Without this, only titles returned. (string[], optional)
837
858
-`owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
838
859
-`owner_type`: Owner type (string, required)
839
-
-`per_page`: Number of results per page (max 100, default: 30) (number, optional)
860
+
-`per_page`: Results per page (max 50) (number, optional)
840
861
-`project_number`: The project's number. (number, required)
841
-
-`query`: Search query to filter items (string, optional)
862
+
-`query`: Query string for advanced filtering of project items using GitHub's project filtering syntax. (string, optional)
842
863
843
864
-**list_projects** - List projects
865
+
-`after`: Forward pagination cursor from previous pageInfo.nextCursor. (string, optional)
866
+
-`before`: Backward pagination cursor from previous pageInfo.prevCursor (rare). (string, optional)
844
867
-`owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
845
868
-`owner_type`: Owner type (string, required)
846
-
-`per_page`: Number of results per page (max 100, default: 30) (number, optional)
847
-
-`query`: Filter projects by a search query (matches title and description) (string, optional)
869
+
-`per_page`: Results per page (max 50) (number, optional)
870
+
-`query`: Filter projects by title text and open/closed state; permitted qualifiers: is:open, is:closed; examples: "roadmap is:open", "is:open feature planning". (string, optional)
848
871
849
872
-**update_project_item** - Update project item
850
873
-`item_id`: The unique identifier of the project item. This is not the issue or pull request ID. (number, required)
851
874
-`owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
852
875
-`owner_type`: Owner type (string, required)
853
876
-`project_number`: The project's number. (number, required)
854
-
-`updated_field`: Object consisting of the ID of the project field to update and the new value for the field. To clear the field, set "value" to null. Example: {"id": 123456, "value": "New Value"} (object, required)
877
+
-`updated_field`: Object consisting of the ID of the project field to update and the new value for the field. To clear the field, set value to null. Example: {"id": 123456, "value": "New Value"} (object, required)
855
878
856
879
</details>
857
880
@@ -1165,7 +1188,7 @@ Possible options:
1165
1188
</details>
1166
1189
<!-- END AUTOMATED TOOLS -->
1167
1190
1168
-
### Additional Tools in Remote Github MCP Server
1191
+
### Additional Tools in Remote GitHub MCP Server
1169
1192
1170
1193
<details>
1171
1194
@@ -1201,7 +1224,7 @@ Possible options:
1201
1224
1202
1225
## Dynamic Tool Discovery
1203
1226
1204
-
**Note**: This feature is currently in beta and may not be available in all environments. Please test it out and let us know if you encounter any issues.
1227
+
**Note**: This feature is currently in beta and is not available in the Remote GitHub MCP Server. Please test it out and let us know if you encounter any issues.
1205
1228
1206
1229
Instead of starting with all tools enabled, you can turn on dynamic toolset discovery. Dynamic toolsets allow the MCP host to list and enable toolsets in response to a user prompt. This should help to avoid situations where the model gets confused by the sheer number of tools available.
1207
1230
@@ -1239,6 +1262,25 @@ docker run -i --rm \
1239
1262
ghcr.io/github/github-mcp-server
1240
1263
```
1241
1264
1265
+
## Lockdown Mode
1266
+
1267
+
Lockdown mode limits the content that the server will surface from public repositories. When enabled, requests that fetch issue details will return an error if the issue was created by someone who does not have push access to the repository. Private repositories are unaffected, and collaborators can still access their own issues.
1268
+
1269
+
```bash
1270
+
./github-mcp-server --lockdown-mode
1271
+
```
1272
+
1273
+
When running with Docker, set the corresponding environment variable:
1274
+
1275
+
```bash
1276
+
docker run -i --rm \
1277
+
-e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> \
1278
+
-e GITHUB_LOCKDOWN_MODE=1 \
1279
+
ghcr.io/github/github-mcp-server
1280
+
```
1281
+
1282
+
At the moment lockdown mode applies to the issue read toolset, but it is designed to extend to additional data surfaces over time.
1283
+
1242
1284
## i18n / Overriding Descriptions
1243
1285
1244
1286
The descriptions of the tools can be overridden by creating a
0 commit comments