gitlab-mcp-server

by yoda-digital
Verified

create_or_update_file

Create or update a file in a GitLab project by specifying the branch, file path, content, and commit message. Use for streamlined file management and version control.

Instructions

Create or update a single file in a GitLab project

Input Schema

NameRequiredDescriptionDefault
branchNo
commit_messageNo
contentNo
file_pathNo
previous_pathNo
project_idNo

Input Schema (JSON Schema)

{ "properties": { "branch": { "type": "string" }, "commit_message": { "type": "string" }, "content": { "type": "string" }, "file_path": { "type": "string" }, "previous_path": { "type": "string" }, "project_id": { "type": "string" } }, "type": "object" }
ID: jk2pjeuy0y