UNPKG

clinicaltrialsgov-mcp-server

Version:

ClinicalTrials.gov Model Context Protocol (MCP) Server that provides a suite of tools for interacting with the official ClinicalTrials.gov v2 API. Enables AI agents and LLMs to programmatically search, retrieve, and analyze clinical trial data.

17 lines (16 loc) 595 B
/** * @fileoverview Defines custom types for the Hono HTTP transport layer. * @module src/mcp-server/transports/http/httpTypes */ import type { IncomingMessage, ServerResponse } from "http"; /** * Extends Hono's Bindings to include the raw Node.js request and response objects. * This is necessary for integrating with libraries like the MCP SDK that * need to write directly to the response stream. * * As per `@hono/node-server`, the response object is available on `c.env.outgoing`. */ export type HonoNodeBindings = { incoming: IncomingMessage; outgoing: ServerResponse; };