@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 • 534 B
TypeScript
/**
* @fileoverview Handles registration and error handling for the git_clone tool.
* @module src/mcp-server/tools/gitClone/registration
*/
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
export type GetSessionIdFn = (context: Record<string, unknown>) => string | undefined;
/**
* Registers the git_clone tool with the MCP server instance.
* @param server The MCP server instance.
*/
export declare const registerGitCloneTool: (server: McpServer) => Promise<void>;
//# sourceMappingURL=registration.d.ts.map