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,

23 lines 1.1 kB
/** * @fileoverview Configures and starts the HTTP MCP transport using Hono. * This file has been refactored to correctly integrate Hono's streaming * capabilities with the Model Context Protocol SDK's transport layer. * @module src/mcp-server/transports/http/httpTransport */ import { ServerType } from "@hono/node-server"; import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { Hono } from "hono"; import { RequestContext } from "../../../utils/index.js"; import { TransportManager } from "../core/transportTypes.js"; import { HonoNodeBindings } from "./httpTypes.js"; export declare function createHttpApp(transportManager: TransportManager, createServerInstanceFn: () => Promise<McpServer>, parentContext: RequestContext): Hono<{ Bindings: HonoNodeBindings; }>; export declare function startHttpTransport(createServerInstanceFn: () => Promise<McpServer>, parentContext: RequestContext): Promise<{ app: Hono<{ Bindings: HonoNodeBindings; }>; server: ServerType; transportManager: TransportManager; }>; //# sourceMappingURL=httpTransport.d.ts.map