Skip to main content
Glama

git MCP server

Official

git_checkout

Switch Git branches efficiently by specifying the repository path and branch name. Enables seamless navigation and management of code versions within a Git MCP server.

Instructions

Switches branches

Input Schema

NameRequiredDescriptionDefault
branch_nameYes
repo_pathYes

Input Schema (JSON Schema)

{ "properties": { "branch_name": { "title": "Branch Name", "type": "string" }, "repo_path": { "title": "Repo Path", "type": "string" } }, "required": [ "repo_path", "branch_name" ], "title": "GitCheckout", "type": "object" }

You must be authenticated.

Other Tools from git MCP server

Related Tools

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/modelcontextprotocol/git'

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