bsmi021_mcp-file-context-server

bsmi021_mcp-file-context-server

0

File Context Server is an MCP server designed to provide file system context to LLMs, featuring advanced file operations, code analysis, and efficient caching mechanisms alongside a robust error handling strategy.

File Context Server

A Model Context Protocol (MCP) server providing file system context to Large Language Models (LLMs) with capabilities for file reading, searching, and code analysis alongside smart caching and error handling.

Features

  • File Operations
    • Read directory contents, real-time file watching
  • Code Analysis
    • Calculate complexity, extract dependencies
  • Smart Caching
    • Automatic cache invalidation, cache statistics
  • Advanced Search
    • Regex matching, context-aware results

Error Handling

  • Detailed error messages with specific error codes.

Configuration

  • Environment variables for cache and file size customization.

Development

  • Instructions for dependency installation, build, test, and development mode.