atomic-writer-mcp

atomic-writer-mcp

4

The Atomic Writer MCP Server is designed to provide secure and atomic file operations. It ensures file integrity by allowing only safe, append-only file modifications while offering features like automatic backup and rollback. This server is ideal for preventing accidental data loss, especially in AI integration scenarios.

Atomic Writer MCP Server

A secure and atomic file operation service implemented as a Model Context Protocol (MCP) server, aimed at providing safe, transactional file operations.

Features

  • Core File Operations: Securely create, write, read, move, and delete files.
  • Text Manipulation: Replace text, insert and delete specific lines, and read specific or surrounding lines.
  • Safety Features: All operations are atomic and journaled with automatic backups and rollback capability.
  • System Operations: Monitor system status and file operation history, manage locks, and verify integrity.

Installation

  1. Clone the repository
  2. Install dependencies
  3. Build the project
  4. Configure the server in your MCP host's configuration.

MCP Server Configuration

Configure the server in claude_desktop_config.json with the required command and arguments.