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: README.md
+45-4Lines changed: 45 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Alternatively, to manually configure VS Code, choose the appropriate JSON block
36
36
<tr><thalign=leftcolspan=2>VS Code (version 1.101 or greater)</th></tr>
37
37
<trvalign=top>
38
38
<td>
39
-
39
+
40
40
```json
41
41
{
42
42
"servers": {
@@ -130,7 +130,7 @@ To keep your GitHub PAT secure and reusable across different MCP hosts:
130
130
```bash
131
131
# CLI usage
132
132
claude mcp update github -e GITHUB_PERSONAL_ACCESS_TOKEN=$GITHUB_PAT
133
-
133
+
134
134
# In config files (where supported)
135
135
"env": {
136
136
"GITHUB_PERSONAL_ACCESS_TOKEN": "$GITHUB_PAT"
@@ -241,10 +241,10 @@ For other MCP host applications, please refer to our installation guides:
241
241
242
242
-**[GitHub Copilot in other IDEs](/docs/installation-guides/install-other-copilot-ides.md)** - Installation for JetBrains, Visual Studio, Eclipse, and Xcode with GitHub Copilot
243
243
-**[Claude Code & Claude Desktop](docs/installation-guides/install-claude.md)** - Installation guide for Claude Code and Claude Desktop
244
-
-**[Cursor](docs/installation-guides/install-cursor.md)** - Installation guide for Cursor IDE
244
+
-**[Cursor](docs/installation-guides/install-cursor.md)** - Installation guide for Cursor IDE
245
245
-**[Windsurf](docs/installation-guides/install-windsurf.md)** - Installation guide for Windsurf IDE
246
246
247
-
For a complete overview of all installation options, see our **[Installation Guides Index](docs/installation-guides/installation-guides.md)**.
247
+
For a complete overview of all installation options, see our **[Installation Guides Index](docs/installation-guides)**.
248
248
249
249
> **Note:** Any host application that supports local MCP servers should be able to access the local GitHub MCP server. However, the specific configuration process, syntax and stability of the integration will vary by host application. While many may follow a similar format to the examples above, this is not guaranteed. Please refer to your host application's documentation for the correct MCP configuration syntax and setup process.
250
250
@@ -295,6 +295,7 @@ The following sets of tools are available (all are on by default):
295
295
|`pull_requests`| GitHub Pull Request related tools |
296
296
|`repos`| GitHub Repository related tools |
297
297
|`secret_protection`| Secret protection related tools, such as GitHub Secret Scanning |
298
+
|`security_advisories`| Security advisories related tools |
298
299
|`users`| GitHub User related tools |
299
300
<!-- END AUTOMATED TOOLSETS -->
300
301
@@ -846,6 +847,11 @@ The following sets of tools are available (all are on by default):
846
847
-`owner`: Repository owner (string, required)
847
848
-`repo`: Repository name (string, required)
848
849
850
+
-**get_release_by_tag** - Get a release by tag name
851
+
-`owner`: Repository owner (string, required)
852
+
-`repo`: Repository name (string, required)
853
+
-`tag`: Tag name (e.g., 'v1.0.0') (string, required)
854
+
849
855
-**get_tag** - Get tag details
850
856
-`owner`: Repository owner (string, required)
851
857
-`repo`: Repository name (string, required)
@@ -918,6 +924,41 @@ The following sets of tools are available (all are on by default):
918
924
919
925
<details>
920
926
927
+
<summary>Security Advisories</summary>
928
+
929
+
-**get_global_security_advisory** - Get a global security advisory
930
+
-`ghsaId`: GitHub Security Advisory ID (format: GHSA-xxxx-xxxx-xxxx). (string, required)
931
+
932
+
-**list_global_security_advisories** - List global security advisories
933
+
-`affects`: Filter advisories by affected package or version (e.g. "package1,[email protected]"). (string, optional)
934
+
-`cveId`: Filter by CVE ID. (string, optional)
935
+
-`cwes`: Filter by Common Weakness Enumeration IDs (e.g. ["79", "284", "22"]). (string[], optional)
936
+
-`ecosystem`: Filter by package ecosystem. (string, optional)
937
+
-`ghsaId`: Filter by GitHub Security Advisory ID (format: GHSA-xxxx-xxxx-xxxx). (string, optional)
938
+
-`isWithdrawn`: Whether to only return withdrawn advisories. (boolean, optional)
939
+
-`modified`: Filter by publish or update date or date range (ISO 8601 date or range). (string, optional)
940
+
-`published`: Filter by publish date or date range (ISO 8601 date or range). (string, optional)
941
+
-`severity`: Filter by severity. (string, optional)
942
+
-`type`: Advisory type. (string, optional)
943
+
-`updated`: Filter by update date or date range (ISO 8601 date or range). (string, optional)
944
+
945
+
-**list_org_repository_security_advisories** - List org repository security advisories
946
+
-`direction`: Sort direction. (string, optional)
947
+
-`org`: The organization login. (string, required)
948
+
-`sort`: Sort field. (string, optional)
949
+
-`state`: Filter by advisory state. (string, optional)
950
+
951
+
-**list_repository_security_advisories** - List repository security advisories
952
+
-`direction`: Sort direction. (string, optional)
953
+
-`owner`: The owner of the repository. (string, required)
954
+
-`repo`: The name of the repository. (string, required)
955
+
-`sort`: Sort field. (string, optional)
956
+
-`state`: Filter by advisory state. (string, optional)
rootCmd.PersistentFlags().Bool("enable-command-logging", false, "When enabled, the server will log all command requests and responses to the log file")
76
77
rootCmd.PersistentFlags().Bool("export-translations", false, "Save translations to a JSON file")
77
78
rootCmd.PersistentFlags().String("gh-host", "", "Specify the GitHub hostname (for GitHub Enterprise etc.)")
79
+
rootCmd.PersistentFlags().Int("content-window-size", 5000, "Specify the content window size")
0 commit comments