MCP Delete
An MCP service that provides file deletion functionality, supporting secure deletion operations for both relative and absolute paths.
rating : 2.5 points
downloads : 10
What is the File Deletion MCP Server?
The File Deletion MCP Server is an AI assistant tool based on the Model Context Protocol (MCP) that allows users to securely delete specified files through an AI assistant. It supports both relative and absolute paths and has an intelligent path parsing function to ensure that files are accurately located and securely deleted.How to use the File Deletion MCP Server?
You can use this server by sending a deletion request to the AI assistant. For example, you can request to delete a specific file, and the AI assistant will automatically handle path parsing and file deletion operations.Applicable Scenarios
Suitable for scenarios where you need to clean up temporary files, log files, or other unnecessary files, such as debugging or testing cleanup in a development environment.Main Features
Supports Relative and Absolute PathsYou can use relative or absolute paths to locate the files to be deleted.
Intelligent Path ParsingIt tries multiple path parsing methods to ensure that files are correctly located and deleted.
Security CheckChecks if the file exists before deletion to ensure that other files are not accidentally deleted.
Compatible with Multiple AI AssistantsSupports integration with Claude and other MCP-compatible AI assistants.
Advantages and Limitations
Advantages
Simple and easy to use. You can complete file cleanup by simply sending a deletion request.
Supports intelligent path parsing to reduce manual input errors.
The security check mechanism prevents accidental deletion of important files.
Compatible with multiple AI assistant platforms, with strong scalability.
Limitations
Users need to clearly know the file path to perform deletion.
Only supports file deletion and does not support directory deletion functionality.
Relies on the support of the AI assistant and may require additional configuration.
How to Use
Install the File Deletion MCP Server
Install the server to your system via NPM.
Configure the AI Assistant
Add the MCP server address to the AI assistant's configuration file.
Send a Deletion Request
Send a deletion request to the AI assistant, for example: 'Please delete example.txt'.
Usage Examples
Example 1: Delete a File in the Current DirectoryThe user wants to delete the file named log.txt in the current working directory.
Example 2: Delete a File at a Specified PathThe user wants to delete the config.json file at a specified path.
Frequently Asked Questions
How can I confirm if a file has been deleted?
What should I do if file deletion fails?
Does the File Deletion MCP Server support directory deletion?
Related Resources
Official Documentation
View detailed installation and configuration guides.
GitHub Repository
Get the source code and more examples.
Featured MCP Services

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
141
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
86
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
567
5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
754
4.8 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
284
4.5 points