File Context Server MCP Server

A Model Context Protocol (MCP) server that provides file system context to Large Language Models (LLMs). This server enables LLMs to read, search

Local serverstdio

What is the File Context Server MCP Server?

A Model Context Protocol (MCP) server that provides file system context to Large Language Models (LLMs). This server enables LLMs to read, search, and analyze code

What the server does

  • File Operations —
  • Read file and directory contents
  • List files with detailed metadata
  • Real-time file watching and cache invalidation
  • Support for multiple file encodings
  • Recursive directory traversal

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

VariableDescriptionRequired
INVALID_PATHFilesystem location the server is allowed to use.Optional

Frequently asked questions

You can install it automatically via Smithery using `npx -y @smithery/cli install @bsmi021/mcp-file-context-server --client claude` or manually with `npm install @modelcontextprotocol/file-context-server`.