@cyanheads/pubmed-mcp-server
Version:
Production-ready PubMed Model Context Protocol (MCP) server that empowers AI agents and research tools with comprehensive access to PubMed's article database. Enables advanced, automated LLM workflows for searching, retrieving, analyzing, and visualizing
23 lines • 1.12 kB
TypeScript
/**
* @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 { Hono } from "hono";
import { RequestContext } from "../../../utils/index.js";
import { ManagedMcpServer } from "../../core/managedMcpServer.js";
import { TransportManager } from "../core/transportTypes.js";
import { HonoNodeBindings } from "./httpTypes.js";
export declare function createHttpApp(transportManager: TransportManager, createServerInstanceFn: () => Promise<ManagedMcpServer>, parentContext: RequestContext): Hono<{
Bindings: HonoNodeBindings;
}>;
export declare function startHttpTransport(createServerInstanceFn: () => Promise<ManagedMcpServer>, parentContext: RequestContext): Promise<{
app: Hono<{
Bindings: HonoNodeBindings;
}>;
server: ServerType;
transportManager: TransportManager;
}>;
//# sourceMappingURL=httpTransport.d.ts.map