@qpd-v/mcp-delete
A Model Context Protocol (MCP) server that provides file deletion capabilities for AI assistants. Supports both relative and absolute paths with smart path resolution, making it easy for AI assistants to safely delete files when needed.
Overview
MCP-Delete is a Model Context Protocol (MCP) server designed to enable AI assistants to securely delete files using both relative and absolute paths with intelligent path resolution.
To use MCP-Delete, you can install it via npm and configure it within compatible AI assistant environments like Claude Desktop or VSCode. Once set up, you can instruct your assistant to delete files by referencing them directly.
- Capability to delete files at specified paths (relative or absolute) - Smart path resolution for enhanced user experience - Detailed error messages for easier troubleshooting - Safety checks for file existence prior to deletion - Compatibility with AI assistants like Claude and other MCP-compliant tools.
- Efficiently removing temporary files during a project.
- Managing file systems by inquiring AI assistants to delete outdated files.
- Utilizing alongside development tools to automate file cleanup processes.
Add to your AI client
Use these steps to connect @qpd-v/mcp-delete in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-delete-qpd-v": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-delete-qpd-v"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-delete-qpd-v": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-delete-qpd-v"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-delete-qpd-v": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-delete-qpd-v"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-delete-qpd-v": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-delete-qpd-v"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-delete-qpd-v": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-delete-qpd-v"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-delete-qpd-v": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-delete-qpd-v"
]
}
}
}FAQ
Does MCP-Delete support both relative and absolute paths?
Yes, MCP-Delete supports both types of paths for file deletion.
How do I configure MCP-Delete with my AI assistant?
You need to add specific configurations in your assistant’s settings or config file as outlined in the documentation.
Is there a debugging tool available for MCP-Delete?
Yes, MCP-Delete offers an MCP Inspector for debugging which can be accessed via a provided URL.7: