Entropic 2.14.3
Local-first agentic inference engine
Loading...
Searching...
No Matches
filesystem.h File Reference

Filesystem MCP server — read/write/edit/glob/grep/list_directory. More...

#include <entropic/mcp/server_base.h>
#include <entropic/mcp/servers/ignore_matcher.h>
#include <entropic/mcp/session_scoped.h>
#include <entropic/types/config.h>
#include <filesystem>
#include <memory>
#include <mutex>
#include <string>
#include <unordered_map>
#include <vector>
Include dependency graph for filesystem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  entropic::FileAccessTracker
 Tracks file read state for read-before-write enforcement. More...
 
struct  entropic::OutsideRootRequest
 One outside-root access awaiting the host's decision (v2.13.0). More...
 
class  entropic::FilesystemServer
 Filesystem MCP server with read-before-write enforcement. More...
 

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Typedefs

using entropic::OutsideRootApprover = OutsideRootVerdict(*)(const OutsideRootRequest &request, void *user_data)
 Approver the server consults under allow_outside_root: optional.
 

Enumerations

enum class  entropic::PathAccess { entropic::read , entropic::write }
 What a filesystem tool is about to do with a path (v2.13.0). More...
 
enum class  entropic::OutsideRootVerdict { entropic::approved , entropic::rejected , entropic::no_approver }
 The host's answer to an OutsideRootRequest (v2.13.0). More...
 

Detailed Description

Filesystem MCP server — read/write/edit/glob/grep/list_directory.

Enforces read-before-write via FileAccessTracker — per SESSION since gh#158 — size gate on reads, ContextAnchor on read_file, path security (no traversal outside root).

Version
2.13.0

Definition in file filesystem.h.