MCPServers
Coding File Context - MCP server logo

Coding File Context

8
0

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)

Last Updated: April 17, 2025

社区评论

0.0
0 条评论
5
0
4
0
3
0
2
0
1
0

暂无评论. 成为第一个评论的人!

登录以参与讨论

Coming soon to
HighlightHighlight AI

语言

TypeScript

分类

标签