mcp-files-context
v0.2.0MCP 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.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
content | string |
read_file Read File
Read a text file.
| Parameter | Type | Description |
|---|---|---|
path * | string |
write_file Write File
Overwrite (or create) a file.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
path * | string |
append_file Append File
Append to a file (creates if missing).
| Parameter | Type | Description |
|---|---|---|
content * | string | |
path * | string |
delete_path Delete Path
Delete file or directory (recursive).
| Parameter | Type | Description |
|---|---|---|
path * | string |
rename_path Rename Path
Rename a file or directory inside the workspace.
| Parameter | Type | Description |
|---|---|---|
dst * | string | |
src * | string |
copy_path Copy Path
Copy file or directory.
| Parameter | Type | Description |
|---|---|---|
dst * | string | |
src * | string |
move_path Move Path
Move file or directory.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
term * | string |
file_info File Info
Basic metadata (JSON).
| Parameter | Type | Description |
|---|---|---|
path * | string |
workspace_stats Workspace Stats
Aggregate workspace stats (JSON).
path_exists Path Exists
Return one of: file | dir | none.
| Parameter | Type | Description |
|---|---|---|
path * | string |