Skip to main content
Glama

Git MCP Server

init

Initialize a new Git repository in a specified directory. Use this tool to set up local repositories quickly with an absolute path, enabling efficient version control integration via the Git MCP Server.

Instructions

Initialize a new Git repository

Input Schema

NameRequiredDescriptionDefault
pathNoPath to initialize the repository in. MUST be an absolute path (e.g., /Users/username/projects/my-repo)

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Path to initialize the repository in. MUST be an absolute path (e.g., /Users/username/projects/my-repo)", "type": "string" } }, "required": [], "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/cyanheads/git-mcp-server'

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