Skip to content

Commit 7be17b7

Browse files
committed
feat: add read-only mode support via GITLAB_READ_ONLY_MODE environment variable
Adds a configurable read-only mode that can be enabled by setting GITLAB_READ_ONLY_MODE=true. When enabled, only read operations are exposed to clients, improving security for sensitive GitLab instances. The server logs whether it's running in read-only mode and displays the count of available tools. Also fixes stdio handling to properly support MCP protocol communication.
1 parent 61ee124 commit 7be17b7

File tree

1 file changed

+214
-175
lines changed

1 file changed

+214
-175
lines changed

0 commit comments

Comments
 (0)