Skip to main content
Glama

Code MCP Server

by block

git_branch

Manage Git branches efficiently by listing, creating, or switching branches within a specified repository path. Integrates with AI agents for enhanced VS Code interactions via the Code MCP Server.

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