create_or_update_file
Create or update a file in a GitLab project by specifying the file path, content, branch, and commit message. Automates file management within repositories.
Instructions
Create or update a single file in a GitLab project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | Yes | Branch to create/update the file in | |
commit_message | Yes | Commit message | |
content | Yes | Content of the file | |
file_path | Yes | Path where to create/update the file | |
previous_path | No | Path of the file to move/rename | |
project_id | Yes | Project ID or URL-encoded path |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from gitlab mcp
Related Tools
- @yoda-digital/mcp-gitlab-server
- @modelcontextprotocol/gitlab
- @modelcontextprotocol/gitlab
- @yoda-digital/mcp-gitlab-server
- @rifqi96/mcp-gitlab