@cyanheads/pubmed-mcp-server
Version:
A Model Context Protocol (MCP) server enabling AI agents to intelligently search, retrieve, and analyze biomedical literature from PubMed via NCBI E-utilities. Built on the mcp-ts-template for robust, production-ready performance.
23 lines (22 loc) • 687 B
TypeScript
/**
* @fileoverview Constants and shared type definitions for NCBI E-utility interactions.
* @module src/services/NCBI/ncbiConstants
*/
export declare const NCBI_EUTILS_BASE_URL = "https://eutils.ncbi.nlm.nih.gov/entrez/eutils";
/**
* Interface for common NCBI E-utility request parameters.
* Specific E-utilities will have additional parameters.
*/
export interface NcbiRequestParams {
db?: string;
[key: string]: any;
}
/**
* Interface for options controlling how NCBI requests are made and responses are handled.
*/
export interface NcbiRequestOptions {
retmode?: "xml" | "json" | "text";
rettype?: string;
usePost?: boolean;
returnRawXml?: boolean;
}