Skip to content

Commit 45519f4

Browse files
committed
adding remote server header for lockdown configuration
1 parent 2f64ac0 commit 45519f4

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 and lockdown mode will be enabled.
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)