gitlab mcp
by zereight
get_file_contents
Get the contents of a file or directory from a GitLab project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | Path to the file or directory | |
project_id | Yes | Project ID or URL-encoded path | |
ref | No | Branch/tag/commit to get contents from |