MCP-Delete

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides specific configuration paths and instructions for macOS users to enable file deletion capabilities.

@qpd-v/mcp-삭제

파일 삭제 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 상대 경로와 절대 경로를 모두 지원하여 AI 비서가 필요할 때 안전하게 파일을 삭제할 수 있도록 합니다.

특징

  • 상대 경로 또는 절대 경로를 사용하여 파일 삭제
  • 여러 개의 잠재적 경로를 시도하는 스마트 경로 해결
  • 자세한 경로 확인 정보가 포함된 명확한 오류 메시지
  • 삭제 전 안전한 파일 존재 여부 확인
  • Claude 및 기타 MCP 호환 AI 어시스턴트와 함께 작동합니다.

예시

Claude Desktop과 함께 사용

VSCode Roo Cline 확장 프로그램과 함께 사용

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 File Deletion을 자동으로 설치하려면:

지엑스피1

수동 설치

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"] } } }

맥OS:

// ~/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"] } } }

맥OS:

// ~/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 Inspector를 사용하세요.

npm run inspector

이렇게 하면 브라우저에서 디버깅 도구에 액세스할 수 있는 URL이 제공됩니다.

특허

MIT

작가

qpd-v

You must be authenticated.

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

파일 삭제 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 상대 경로와 절대 경로를 모두 지원하여 AI 비서가 필요할 때 안전하게 파일을 삭제할 수 있도록 합니다.

  1. Features
    1. Examples
      1. Using with Claude Desktop
      2. Using with VSCode Roo Cline Extension
    2. Installation
      1. Installing via Smithery
      2. Manual Installation
    3. Configuration
      1. Claude Desktop
      2. VSCode Extension
    4. Available Tools
      1. delete_file
    5. Path Resolution
      1. Development
        1. Debugging
      2. License
        1. Author
          ID: dpxui4mdbx