mcp-files-context

v0.2.0
mcp-files-context Checked 3 days ago Published 1 month ago

MCP tools for text files inside a configured local workspace

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_file Create File

Create a new text file without overwriting an existing file.

ParameterTypeDescription
path *string
contentstring

read_file Read File

Read a text file.

ParameterTypeDescription
path *string

write_file Write File

Overwrite (or create) a file.

ParameterTypeDescription
content *string
path *string

append_file Append File

Append to a file (creates if missing).

ParameterTypeDescription
content *string
path *string

delete_path Delete Path

Delete file or directory (recursive).

ParameterTypeDescription
path *string

rename_path Rename Path

Rename a file or directory inside the workspace.

ParameterTypeDescription
dst *string
src *string

copy_path Copy Path

Copy file or directory.

ParameterTypeDescription
dst *string
src *string

move_path Move Path

Move file or directory.

ParameterTypeDescription
dst *string
src *string

list_files List Files

List all files (relative).

list_dirs List Dirs

List all directories (relative).

search_file Search File

Return matching lines containing term.

ParameterTypeDescription
path *string
term *string

file_info File Info

Basic metadata (JSON).

ParameterTypeDescription
path *string

workspace_stats Workspace Stats

Aggregate workspace stats (JSON).

path_exists Path Exists

Return one of: file | dir | none.

ParameterTypeDescription
path *string