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.
  • javascript

1

GitHub Stars

javascript

Language

4 months ago

First Indexed

3 weeks ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs

You can use this MCP server to safely delete files via AI assistants. It supports both relative and absolute paths, resolves multiple potential locations, and returns clear errors when a file can’t be deleted. This makes it easy to delegate file removal tasks to assistants without risking unintended deletions.

How to use

You interact with the MCP server through an MCP client. Request the delete_file capability and pass the path you want to remove. The server will try several path strategies to locate the file, verify that it exists, and perform the deletion. If the file can’t be found or deleted, you’ll receive a detailed error that explains how the server resolved the path.

How to install

Prerequisites you need before installing: Node.js and npm (or another toolchain that can run MCP servers). Ensure you have network access to install packages from your preferred registry.

npx -y @smithery/cli install @qpd-v/mcp-delete --client claude

If you prefer to run the server directly without the Smithery CLI, you can install or run it locally with npm.

npx @qpd-v/mcp-delete
npm install -g @qpd-v/mcp-delete

Configuration and usage notes

Configure your MCP client to load the mcp-delete server. The examples below show how to wire the server into Claude Desktop and the Roo Cline extension for VSCode.

// Claude Desktop configuration (Windows)
{
  "mcpServers": {
    "mcp-delete": {
      "command": "npx",
      "args": ["@qpd-v/mcp-delete"]
    }
  }
}
// Claude Desktop configuration (MacOS)
{
  "mcpServers": {
    "mcp-delete": {
      "command": "npx",
      "args": ["@qpd-v/mcp-delete"]
    }
  }
}
// VSCode Roo Cline extension configuration (Windows)
{
  "mcpServers": {
    "mcp-delete": {
      "command": "npx",
      "args": ["@qpd-v/mcp-delete"]
    }
  }
}
// VSCode Roo Cline extension configuration (MacOS)
{
  "mcpServers": {
    "mcp-delete": {
      "command": "npx",
      "args": ["@qpd-v/mcp-delete"]
    }
  }
}

Available tools

delete_file

Deletes a file at the specified path with safety checks to ensure the path exists before removing it.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational