Coding File Context
Summary
This file context server, developed for enhanced Model Context Protocol (MCP) interactions, provides AI assistants with advanced file system access and code analysis capabilities. It implements real-time file watching, smart caching with LRU strategy, and detailed code metrics calculation including cyclomatic complexity and dependency extraction. The server exposes tools for file operations, code analysis, and advanced searching with regex support and context-aware results. By offering a comprehensive file system interface through MCP, it enables AI systems to efficiently read, search, and analyze code files. This implementation is particularly suited for scenarios involving large codebases, continuous integration environments, or AI-assisted code review processes, facilitating use cases such as automated code quality assessment, intelligent code navigation, and context-aware programming assistance.
Available Actions(5)
list_context_files
Lists files in a directory with detailed metadata. Parameters: path (string), recursive (boolean), includeHidden (boolean)
read_context
Reads file or directory contents with metadata. Parameters: path (string), encoding (string), maxSize (number), recursive (boolean), fileTypes (array of strings)
search_context
Searches for patterns in files with context. Parameters: pattern (string), path (string), options (object with recursive (boolean), contextLines (number), fileTypes (array of strings))
analyze_code
Analyzes code files for quality metrics. Parameters: path (string), recursive (boolean), metrics (array of strings)
cache_stats
Gets cache statistics and performance metrics. Parameters: detailed (boolean)
コミュニティレビュー
まだレビューはありません. 最初のレビューを投稿しましょう!
会話に参加するにはサインインしてください