MCPHIVE

Filesystem MCP

Local · stdio

A reference MCP server from the protocol team: read, write, search and move files within explicitly allowed directories. The canonical example of safe agent access to a file system.

Why this server

  • list_allowed_directories always shows the agent's exact access boundaries
  • The Roots protocol updates allowed folders on the fly, no server restart needed
  • edit_file makes pattern-based edits instead of rewriting the whole file
  • Reference implementation from the protocol team — the canonical safe filesystem pattern

Usage examples

Prompt: Find all .env files in the project and show me their contents

Result: The agent called search_files with the .env pattern, then read_text_file on the matches, staying within the allowed directories.

Prompt: Rename the old-utils folder to utils and show me the updated directory tree

Result: The agent ran move_file, then called directory_tree and returned the updated structure.

Local server

This MCP runs locally on the user's machine (stdio), so availability isn't tracked — rely on reviews and the rating instead.

Reviews

No reviews yet.