UNPKG

@mseep/mcp-codex-keeper

Version:

An intelligent MCP server that serves as a guardian of development knowledge, providing AI assistants with curated access to latest documentation and best practices

51 lines (50 loc) 1.16 kB
/** * Main server class for the documentation keeper */ export declare class DocumentationServer { private server; private fsManager; private docs; private isLocal; constructor(); private init; /** * Get initial documentation state * This information will be available in the environment details * when the server starts */ private getInitialState; /** * Sets up error handlers for the server */ private setupErrorHandlers; /** * Sets up tool handlers for the server */ private setupResourceHandlers; private setupToolHandlers; /** * Lists documentation sources with optional filtering */ private listDocumentation; /** * Adds new documentation source */ private addDocumentation; /** * Updates documentation content from source */ private updateDocumentation; /** * Searches through documentation content */ private searchDocumentation; /** * Starts the server */ run(): Promise<void>; /** * Removes documentation source */ private removeDocumentation; }