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

Commit342939e

Browse files
JoannaaKLCopilot
andauthored
Add lockdown mode to docs (#1391)
* Add lockdown mode to docs* Update docs/installation-guides/README.mdCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>---------Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent7581440 commit342939e

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

‎README.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,25 @@ docker run -i --rm \
12561256
ghcr.io/github/github-mcp-server
12571257
```
12581258

1259+
##Lockdown Mode
1260+
1261+
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.
1262+
1263+
```bash
1264+
./github-mcp-server --lockdown-mode
1265+
```
1266+
1267+
When running with Docker, set the corresponding environment variable:
1268+
1269+
```bash
1270+
docker run -i --rm \
1271+
-e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> \
1272+
-e GITHUB_LOCKDOWN_MODE=1 \
1273+
ghcr.io/github/github-mcp-server
1274+
```
1275+
1276+
At the moment lockdown mode applies to the issue read toolset, but it is designed to extend to additional data surfaces over time.
1277+
12591278
##i18n / Overriding Descriptions
12601279

12611280
The descriptions of the tools can be overridden by creating a

‎docs/installation-guides/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@ After installation, you may want to explore:
9494
-**Toolsets**: Enable/disable specific GitHub API capabilities
9595
-**Read-Only Mode**: Restrict to read-only operations
9696
-**Dynamic Tool Discovery**: Enable tools on-demand
97+
-**Lockdown Mode**: Hide public issue details created by users without push access
9798

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp