Skip to content

vaur94/mcp-fileops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

mcp-fileops

English | Turkce

mcp-fileops is a focused MCP filesystem server for AI coding agents. It runs over stdio, is built on top of @vaur94/mcpbase, and ships a safe, deny-by-default file operations surface for real repositories.

✨ Highlights

  • full v1 stdio tool surface is implemented and tested
  • strict root allowlist security model
  • shared filesystem and policy layers separated from MCP tool definitions
  • unit, integration, protocol, coverage, and CI verification in place
  • bilingual repository documentation in English and Turkish

🚀 Quick Start

Requirements:

  • Node.js >=22.14.0
  • npm >=10
git clone https://github.com/vaur94/mcp-fileops.git
cd mcp-fileops
./scripts/setup-local.sh /absolute/project/root ./mcp-fileops.config.json

The setup script:

  • installs dependencies with npm ci
  • builds the project with npm run build
  • creates a config file if it does not already exist
  • prints the exact stdio command for your MCP client

Expected launch command:

node /absolute/path/to/mcp-fileops/bin/cli.js --config /absolute/path/to/mcp-fileops.config.json

🧰 Implemented Tools

Read-only tools:

  • list_directory
  • get_path_info
  • read_file
  • read_files
  • find_paths
  • search_text

Mutating tools:

  • write_file
  • replace_in_file
  • apply_batch_edits
  • create_directory
  • move_path

🛡️ Core Guarantees

  • deny by default
  • access only within configured absolute roots
  • no shell execution
  • no file-content logging by default
  • stdio only in v1

📚 Documentation

Repository docs are now split cleanly by language.

English:

Turkish:

🧪 Verification

Primary validation commands:

npm run format:check
npm run lint
npm run typecheck
npm run test:coverage
npm run test:protocol
npm run ci:check

CI runs on pushes to main and on pull requests via .github/workflows/ci.yml.

🔗 Related Files

📄 License

This project is licensed under the MIT License. See LICENSE for the full text.

Last updated: 2026-03-10

About

Safe filesystem MCP server for AI coding agents, built on mcpbase.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors