Safe File MCP
JSON →A test server demonstrating all features of the MCP protocol, including prompts, tools, resources, and sampling.
Install
npx
<details> Tools · 12
- get_codebase_size Check codebase size and token counts - LLMs should call this first to ensure codebase isn't too large
- get_codebase Generate AI-digestible summary of entire codebase (paginated) - Call after checking size
- get_codebase_top_largest_files Get top X largest files in codebase - helpful for identifying files to add to .cocoignore/.cocominify
- read_file Read file contents (only use when specifically asked to re-read or for debugging)
- write_file Create or overwrite files
- edit_file Make line-based partial edits to files (available when --edit-file-mode is enabled)
- create_directory Create directories
- list_directory List directory contents (only use when specifically asked or for debugging)
- directory_tree Get directory structure as JSON (only use when specifically asked or for debugging)
- move_file Move or rename files
- search_files Search by pattern
- execute_command Run shell commands
Environment variables
COCO_PORT
Links
★ 17 GitHub stars