UNPKG

@cyanheads/jinaai-mcp-server

Version:

A Model Context Protocol (MCP) server that provides intelligent web reading capabilities using the Jina AI Reader API. It extracts clean, LLM-ready content from any URL.

23 lines 1.12 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 { 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