dbx-mcp-server
Version:
A Model Context Protocol server for Dropbox integration with AI-powered PDF analysis, multi-directory indexing, and parallel processing
38 lines (37 loc) • 1.05 kB
TypeScript
export interface IndexFileArgs {
path: string;
}
export interface IndexFolderArgs {
path?: string;
paths?: string[];
recursive?: boolean;
batchSize?: number;
excludePaths?: string[];
excludePatterns?: string[];
respectGlobalExclusions?: boolean;
scopeToDirectories?: boolean;
}
export interface SearchIndexedArgs {
query: string;
docType?: string;
limit?: number;
}
export interface IndexingResult {
content: Array<{
type: string;
text: string;
}>;
isError: boolean;
}
export interface OptimizedIndexingResult {
isError: boolean;
skipped: boolean;
error?: string;
documentData?: any;
typeSpecificData?: any;
filePath?: string;
}
export declare function indexFile(args: IndexFileArgs): Promise<IndexingResult>;
export declare function indexFolder(args: IndexFolderArgs): Promise<IndexingResult>;
export declare function searchIndexed(args: SearchIndexedArgs): Promise<IndexingResult>;
export declare function getDocumentStats(): Promise<IndexingResult>;