Skip to content

Commit 1796607

Browse files
authored
Merge branch 'main' into almaleksia/use-pr-template
2 parents 2912f76 + 548c27c commit 1796607

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/remote-server.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ The Remote GitHub MCP server has optional headers equivalent to the Local server
6161
- `X-MCP-Readonly`: Enables only "read" tools.
6262
- Equivalent to `GITHUB_READ_ONLY` env var for Local server.
6363
- If this header is empty, "false", "f", "no", "n", "0", or "off" (ignoring whitespace and case), it will be interpreted as false. All other values are interpreted as true.
64+
- `X-MCP-Lockdown`: Enables lockdown mode, hiding public issue details created by users without push access.
65+
- Equivalent to `GITHUB_LOCKDOWN_MODE` env var for Local server.
66+
- If this header is empty, "false", "f", "no", "n", "0", or "off" (ignoring whitespace and case), it will be interpreted as false. All other values are interpreted as true.
6467

6568
Example:
6669

@@ -70,7 +73,8 @@ Example:
7073
"url": "https://api.githubcopilot.com/mcp/",
7174
"headers": {
7275
"X-MCP-Toolsets": "repos,issues",
73-
"X-MCP-Readonly": "true"
76+
"X-MCP-Readonly": "true",
77+
"X-MCP-Lockdown": "false"
7478
}
7579
}
7680
```

0 commit comments

Comments
 (0)