Skip to main content
Glama

Unrestricted Development MCP Server

git_clone

Clone a Git repository into a specified directory with options for branch selection, shallow cloning, and custom destination paths.

Instructions

Clone a repository into a new directory

Input Schema

NameRequiredDescriptionDefault
urlYesRepository URL to clone
destinationNoDestination directory (defaults to repo name)
cwdNoDirectory to clone into
branchNoSpecific branch to clone
depthNoCreate shallow clone with depth

Input Schema (JSON Schema)

{ "properties": { "branch": { "description": "Specific branch to clone", "type": "string" }, "cwd": { "description": "Directory to clone into", "type": "string" }, "depth": { "description": "Create shallow clone with depth", "type": "number" }, "destination": { "description": "Destination directory (defaults to repo name)", "type": "string" }, "url": { "description": "Repository URL to clone", "type": "string" } }, "required": [ "url" ], "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/ConnorBoetig-dev/mcp2'

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