Skip to main content
Glama

Code MCP Server

by block

git_branch

Manage Git branches in your repository by listing, creating, or switching branches. Specify the action and branch name to streamline version control tasks.

Instructions

List, create, or switch branches

Input Schema

NameRequiredDescriptionDefault
actionYesAction to perform
cwdNoRepository path
nameNoBranch name (for create/switch)

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "Action to perform", "type": "string" }, "cwd": { "description": "Repository path", "type": "string" }, "name": { "description": "Branch name (for create/switch)", "type": "string" } }, "required": [ "action" ], "type": "object" }

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/block/vscode-mcp'

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