get_file_contents
Retrieve file or directory contents from a GitLab project by specifying the project ID, file path, and branch/tag/commit reference.
Instructions
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 |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from gitlab mcp
Related Tools
- @modelcontextprotocol/gitlab
- @rifqi96/mcp-gitlab
- @yoda-digital/mcp-gitlab-server
- @rifqi96/mcp-gitlab
- @modelcontextprotocol/gitlab