mcp-delete logo

mcp-delete

by qpd-v

mcp-delete is a Model Context Protocol (MCP) server that enables AI assistants to safely delete files. It supports both relative and absolute paths, providing a secure way for AI to manage files.

View on GitHub

Last updated: N/A

What is mcp-delete?

mcp-delete is an MCP server that provides file deletion capabilities to AI assistants. It allows AI systems like Claude to safely remove files based on user requests, handling both relative and absolute paths.

How to use mcp-delete?

To use mcp-delete, install it via Smithery or manually using npm. Configure your AI assistant (e.g., Claude Desktop or VSCode Cline) to use the server by adding the server configuration to the respective config file. Then, the AI assistant can use the delete_file tool to delete files by specifying the path.

Key features of mcp-delete

  • Delete files using relative or absolute paths

  • Smart path resolution

  • Clear error messages

  • Safe file existence checks

  • Works with Claude and other MCP-compatible AI assistants

Use cases of mcp-delete

  • Automated file cleanup by AI assistants

  • AI-driven content management systems

  • AI-powered development environments

  • Secure file deletion in AI workflows

FAQ from mcp-delete

What is the purpose of this server?

This server allows AI assistants to safely delete files when instructed by the user.

How do I install this server?

You can install it via Smithery or manually using npm.

What AI assistants are compatible with this server?

This server is designed to work with Claude and other MCP-compatible AI assistants.

How does the server handle path resolution?

The server tries multiple approaches, including the exact path, relative to the current working directory, and relative to a specified base directory.

What is the delete_file tool?

The delete_file tool is the primary function of the server, allowing AI assistants to delete files at a specified path.