gitlab-mcp-server

by yoda-digital
Verified

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

NameRequiredDescriptionDefault
file_pathNo
project_idNo
refNo

Input Schema (JSON Schema)

{ "properties": { "file_path": { "type": "string" }, "project_id": { "type": "string" }, "ref": { "type": "string" } }, "type": "object" }
ID: jk2pjeuy0y