get_file_contents
Retrieve file or directory contents from a GitLab project by specifying the file path, project ID, and reference. Simplify access to project data within the GitLab MCP server.
Instructions
Get the contents of a file or directory from a GitLab project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | ||
| project_id | No | ||
| ref | No |
Input Schema (JSON Schema)
{
"properties": {
"file_path": {
"type": "string"
},
"project_id": {
"type": "string"
},
"ref": {
"type": "string"
}
},
"type": "object"
}