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.
- Implemented `list_group_projects` function to list all projects in a GitLab group with various filtering options.
- Updated package dependencies, including `@modelcontextprotocol/sdk` to version 1.8.0 and `zod` to version 3.24.2.
- Made owner property optional in GitLabForkParentSchema
- Made forked_from_project property optional in GitLabForkSchema
- Improved error handling in fork_repository MCP handler
- Added support for both commit_id and last_commit_id parameters in createOrUpdateFile function
- Made commit_id optional in GitLabCreateUpdateFileResponseSchema to match GitLab API
- Implemented smart handling to extract commit IDs from existing files when updating
- Resolveszereight/gitlab-mcp#12
- Changed to s to use the correct plural form in API endpoints
- This fixes 404 errors when trying to add notes to issues or merge requests
- Added a test file to verify the fix
- Conforms to GitLab API documentation which uses plural resource names (issues, merge_requests)