create_or_update_file
Create or update a file in a GitLab project, specify branch, commit message, file path, and content to manage project files efficiently.
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 Server
Related Tools
- @yoda-digital/mcp-gitlab-server
- @zereight/gitlab-mcp
- @modelcontextprotocol/gitlab
- @yoda-digital/mcp-gitlab-server
- @modelcontextprotocol/gitlab