Skip to main content
Glama

Filesystem MCP Server

move_file

Relocate or rename files within allowed directories using specified source and destination paths. Ensures parent directories are created and prevents overwriting existing files.

Instructions

Move or rename a file from source to destination.

Args: src (str): Source file path (absolute or relative to allowed directories) dst (str): Destination file path (absolute or relative to allowed directories)

Returns: str: Success message with source and destination paths, or error message if failed

Note: - Both paths must be within allowed directory roots - Fails if destination already exists - Creates parent directories for destination if needed

Input Schema

NameRequiredDescriptionDefault
dstYes
srcYes

Input Schema (JSON Schema)

{ "properties": { "dst": { "title": "Dst", "type": "string" }, "src": { "title": "Src", "type": "string" } }, "required": [ "src", "dst" ], "type": "object" }
Install Server

Other Tools from Filesystem MCP Server

Related Tools

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/Preston-Harrison/fs-mcp-py'

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