UNPKG

survey-mcp-server

Version:

Survey management server handling survey creation, response collection, analysis, and reporting with database access for data management

85 lines (84 loc) 2.59 kB
export interface Server { } export interface TextContent { type: "text"; text: string; title?: string; format?: string; } export interface ImageContent { type: "image"; data: string; mimeType: string; } export interface EmbeddedResource { type: "resource"; resource: { uri: string; text: string; mimeType?: string; }; } import { ToolArguments, ToolResponse } from "../types/index.js"; export declare class ToolHandler { private safeTypesenseOperation; private server; constructor(server: Server); getCompanyImos(): string[]; validateImoNumber(imoNumber: string | number): { isValid: boolean; errorMessage?: string; }; handleCallTool(name: string, arguments_: ToolArguments): Promise<ToolResponse>; private createSurvey; private searchSurveys; private universalCertificateSurveySearch; private convertCertificateDates; private getDataLink; private insertDataLinkToMongoDB; private getArtifact; private listExtendedCertificateRecords; private listRecordsExpiringWithinDays; private listRecordsByStatus; private getVesselDetails; private getUserAssociatedVessels; private getClassSurveyReport; private getClassCertificateStatus; private getClassSurveyStatus; private getCocNotesMemoStatus; private getVesselDryDockingStatus; private getNextPeriodicalSurveyDetails; private getCmsItemsStatus; private getExpiredCertificatesFromShippalm; private getVesselClassByImo; private googleSearch; private parseDocumentLink; private classCcsSurveyStatusDownload; private getFleetDryDockingStatus; private getFleetAnnualSurveyStatus; private getFleetIhmCertificateStatus; private getFleetLsaFfaCertificateStatus; private classCcsAutomation; private captchaNumbersSolver; private classNkSurveyStatusDownload; private classNkAutomation; private classKrSurveyStatusDownload; private classKrAutomation; private classDnvSurveyStatusDownload; private classDnvAutomation; private classLrSurveyStatusDownload; private classLrAutomation; private classBvSurveyStatusDownload; private classBvAutomation; private classAbsSurveyStatusDownload; private classAbsAutomation; private writeCasefileData; private createCasefile; private updateCasefile; private getVesselName; private generateCasefileWeblink; private linkToId; private markdownToHtmlLink; private pushToTypesense; private retrieveCasefileData; }