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
The GitHub MCP Server connects AI tools directly to GitHub's platform. This gives AI agents, assistants, and chatbots the ability to read repositories and code files, manage issues and PRs, analyze code, and automate workflows. All through natural language interactions.
@@ -1214,7 +1216,7 @@ docker run -i --rm \
1214
1216
1215
1217
## Lockdown Mode
1216
1218
1217
-
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.
1219
+
Lockdown mode limits the content that the server will surface from public repositories. When enabled, the server checks whether the author of each item has push access to the repository. Private repositories are unaffected, and collaborators keep full access to their own content.
1218
1220
1219
1221
```bash
1220
1222
./github-mcp-server --lockdown-mode
@@ -1229,7 +1231,20 @@ docker run -i --rm \
1229
1231
ghcr.io/github/github-mcp-server
1230
1232
```
1231
1233
1232
-
At the moment lockdown mode applies to the issue read toolset, but it is designed to extend to additional data surfaces over time.
1234
+
The behavior of lockdown mode depends on the tool invoked.
1235
+
1236
+
Following tools will return an error when the author lacks the push access:
1237
+
1238
+
-`issue_read:get`
1239
+
-`pull_request_read:get`
1240
+
1241
+
Following tools will filter out content from users lacking the push access:
0 commit comments