MCP Servers / development / Safe File MCP

Safe File MCP

JSON →
stdionone17development

A test server demonstrating all features of the MCP protocol, including prompts, tools, resources, and sampling.

Install
How to run this server
[ { "cmd": "npx\n\n<details>", "imports": [] } ]
server path: safe-file-mcp
Tools
What this server exposes
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
Configuration
Environment & auth
authnone
envCOCO_PORT
Resources
Safe File MCP — MCP Server · libregistry