Skip to main content
Glama

git_manage

Manage Git repositories and operations including file handling, branching, commits, and pull requests through FleetQ's MCP server.

Instructions

Manage git repositories and operations. Actions: repo_list, repo_get (repo_id), repo_create (name, url, credentials), repo_update (repo_id + fields), repo_delete (repo_id), repo_test (repo_id — test connection), file_read (repo_id, path, branch), file_write (repo_id, path, content, branch, message), file_list (repo_id, path, branch), branch_create (repo_id, name, source), commit (repo_id, message, files), pr_create (repo_id, title, body, source, target), pr_list (repo_id).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform: repo_list, repo_get, repo_create, repo_update, repo_delete, repo_test, file_read, file_write, file_list, branch_create, commit, pr_create, pr_list
providerNoFilter by provider: github, gitlab, bitbucket, gitea, generic
modeNoFilter by mode: api_only, sandbox, bridge
statusNoFilter by status: active, disabled, error
limitNoMax results (default 15, max 100)
idYesRepository UUID
nameYesFriendly name for the repository
urlYesRepository URL (HTTPS or SSH)
default_branchNoDefault branch name (default: main)main
credential_idNoUUID of a Credential containing the PAT/SSH key for authentication
configNoMode-specific config. sandbox: {provider, instance_type, run_tests, test_command}. bridge: {repo_name, working_directory}. pr: {require_approval}
repository_idYesRepository UUID
pathYesFile path relative to repo root (e.g. "src/app.php")
refNoGit ref: branch name, tag, or commit SHA (default: HEAD)HEAD
contentYesFull file content to write
messageYesCommit message
branchNoBranch to commit to (defaults to repository default_branch)
fromNoSource branch or commit SHA to branch from (defaults to repository default_branch)
changesYesArray of file changes: [{path, content}] or [{path, deleted: true}]
titleYesPull request title
bodyNoPull request description/body
headYesSource branch (the branch with changes)
baseNoTarget branch (defaults to repository default_branch)
stateNoPR state filter: open, closed, all (default: open)open

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/escapeboy/agent-fleet-o'

If you have feedback or need assistance with the MCP directory API, please join our Discord server