Skip to content

Conversation

@nulone
Copy link

@nulone nulone commented Jan 10, 2026

Description

move_file deletes the source file, which is a destructive operation. Updated annotations and README to reflect this.

Server Details

  • Server: filesystem
  • Changes to: tool annotations, README

Motivation and Context

MCP clients use destructiveHint to warn users. move_file deletes source file — should be marked destructive. For comparison: write_file has destructiveHint: true.

How Has This Been Tested?

  • Build passes
  • 134 tests pass

Breaking Changes

None.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Documentation update

Checklist

  • I have read the MCP Protocol Documentation
  • My changes follows MCP security best practices
  • I have updated the server's README accordingly
  • I have tested this with an LLM client
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have documented all environment variables and configuration options

move_file deletes the source file, which is a destructive operation.
Updated annotations and README documentation to reflect this.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant