ts-project-indexer-mcp
Version:
A powerful MCP (Model Context Protocol) server that indexes and analyzes TypeScript/JavaScript projects, providing intelligent code exploration, dependency tracking, method discovery, and project structure analysis for AI assistants and development tools.
19 lines • 668 B
TypeScript
import type { MethodInfo, PathInfo, Dependency } from './types.js';
import { PathResolver } from './path-resolver.js';
export declare class CodeParser {
private pathResolver;
setPathResolver(pathResolver: PathResolver): void;
parseFile(filePath: string): Promise<{
methods: MethodInfo[];
paths: PathInfo[];
dependencies: Dependency[];
}>;
private parseImports;
private parseMethods;
private parsePaths;
private parseParameters;
isTypeScriptFile(filePath: string): boolean;
isJavaScriptFile(filePath: string): boolean;
shouldParseFile(filePath: string): boolean;
}
//# sourceMappingURL=parser.d.ts.map