UNPKG

@cyanheads/git-mcp-server

Version:

An MCP (Model Context Protocol) server enabling LLMs and AI agents to interact with Git repositories. Provides tools for comprehensive Git operations including clone, commit, branch, diff, log, status, push, pull, merge, rebase, worktree, tag management,

12 lines 530 B
/** * @fileoverview Handles registration and error handling for the git_init tool. * @module src/mcp-server/tools/gitInit/registration */ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; export type GetSessionIdFn = (context: Record<string, unknown>) => string | undefined; /** * Registers the git_init tool with the MCP server instance. * @param server The MCP server instance. */ export declare const registerGitInitTool: (server: McpServer) => Promise<void>; //# sourceMappingURL=registration.d.ts.map