brain-mcp
Version:
Brain MCP Server - Semantic knowledge base access for Claude Code via Model Context Protocol. Provides intelligent search and navigation of files from multiple locations through native MCP tools.
20 lines • 712 B
TypeScript
/**
* Markdown parser for extracting structure and links from notes
*/
import { Note } from '../models/types';
import { BaseParser } from './BaseParser';
export declare class MarkdownParser implements BaseParser {
private wikiLinkPattern;
private mdLinkPattern;
private tagPattern;
parse(filePath: string, content: string | Buffer, notesRoot: string): Promise<Note>;
private extractHeadings;
private extractLinks;
private extractTags;
private extractContext;
private createSlug;
supports(extension: string): boolean;
getSupportedExtensions(): string[];
parseFile(filePath: string, notesRoot: string): Promise<Note>;
}
//# sourceMappingURL=MarkdownParser.d.ts.map