Skip to main content
Glama

@qpd-v/mcp-delete

鍛冶屋のバッジ

ファイル削除機能を提供するモデルコンテキストプロトコル(MCP)サーバー。このサーバーにより、AIアシスタントは必要に応じて、相対パスと絶対パスの両方をサポートし、安全にファイルを削除できます。

特徴

  • 相対パスまたは絶対パスを使用してファイルを削除する

  • 複数の潜在的なパスを試すスマートなパス解決

  • 詳細なパス解決情報を含む明確なエラーメッセージ

  • 削除前に安全なファイルの存在をチェック

  • Claude やその他の MCP 対応 AI アシスタントと連携します

Claude Desktopでの使用

クロードデスクトップの例

VSCode Roo Cline拡張機能を使用する

VSCode Roo Cline の例

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop の File Deletion を自動的にインストールするには:

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

手動インストール

npx @qpd-v/mcp-delete

またはグローバルにインストールします:

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

構成

クロードデスクトップ

Claude Desktop 構成ファイルにサーバー構成を追加します。

ウィンドウズ:

// %APPDATA%/Claude/claude_desktop_config.json { "mcpServers": { "mcp-delete": { "command": "npx", "args": ["@qpd-v/mcp-delete"] } } }

MacOSの場合:

// ~/Library/Application Support/Claude/claude_desktop_config.json { "mcpServers": { "mcp-delete": { "command": "npx", "args": ["@qpd-v/mcp-delete"] } } } }

VSCode拡張機能

Cline 設定にサーバー構成を追加します。

ウィンドウズ:

// %APPDATA%/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json { "mcpServers": { "mcp-delete": { "command": "npx", "args": ["@qpd-v/mcp-delete"] } } }

MacOSの場合:

// ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json { "mcpServers": { "mcp-delete": { "command": "npx", "args": ["@qpd-v/mcp-delete"] } } } }

利用可能なツール

ファイルを削除

指定されたパスにあるファイルを削除します。

パラメータ:

  • path (文字列、必須): 削除するファイルへのパス(作業ディレクトリからの相対パスまたは絶対パス)

Claude での使用例:

You can ask me to delete a file like this: "Please delete the file example.txt" I will use the delete_file tool to safely remove the file.

パス解決

サーバーは、複数のアプローチを試して、パス解決をインテリジェントに処理します。

  1. 提供された正確なパス

  2. 現在の作業ディレクトリからの相対パス

  3. 指定されたベースディレクトリからの相対パス

これにより、ファイルを相対パスで参照できるようになり、サーバーがファイルを正しく見つけようとするため、ユーザーフレンドリーになります。

発達

リポジトリをクローンします。

git clone https://github.com/qpd-v/mcp-delete.git cd mcp-delete

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。デバッグにはMCPインスペクターを使用してください。

npm run inspector

これにより、ブラウザでデバッグ ツールにアクセスするための URL が提供されます。

ライセンス

マサチューセッツ工科大学

著者

qpd-v

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Related MCP Servers

  • -
    security
    A
    license
    -
    quality
    A Model Context Protocol (MCP) server that allows AI models to safely access and interact with local file systems, enabling reading file contents, listing directories, and retrieving file metadata.
    Last updated -
    11
    10
    MIT License
    • Linux
  • -
    security
    A
    license
    -
    quality
    A comprehensive MCP (Model Context Protocol) server for file system operations, providing Claude and other AI assistants with access to local files and directories.
    Last updated -
    1
    MIT License
    • Apple
    • Linux
  • -
    security
    -
    license
    -
    quality
    A simple Model Context Protocol server that enables AI assistants to interact with local file systems, allowing them to read, write, update, and delete files within a specified project directory.
  • -
    security
    -
    license
    -
    quality
    Node.js server implementing Model Context Protocol (MCP) for filesystem operations, allowing AI systems to read, write, edit files and manage directories within specified allowed paths.
    Last updated -
    75,541
    MIT License
    • Linux
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/qpd-v/mcp-delete'

If you have feedback or need assistance with the MCP directory API, please join our Discord server