Skip to main content
Glama

Filesystem MCP Server

copy_path

Copy files or directories to a new location using relative or absolute paths. Supports recursive copying for directories via the Filesystem MCP Server.

Instructions

Copies a file or directory to a new location. Accepts relative or absolute paths. Defaults to recursive copy for directories.

Input Schema

NameRequiredDescriptionDefault
destination_pathYesThe path where the copy should be created. Can be relative or absolute.
recursiveNoIf copying a directory, whether to copy its contents recursively. Defaults to true.
source_pathYesThe path of the file or directory to copy. Can be relative or absolute.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "destination_path": { "description": "The path where the copy should be created. Can be relative or absolute.", "minLength": 1, "type": "string" }, "recursive": { "default": true, "description": "If copying a directory, whether to copy its contents recursively. Defaults to true.", "type": "boolean" }, "source_path": { "description": "The path of the file or directory to copy. Can be relative or absolute.", "minLength": 1, "type": "string" } }, "required": [ "source_path", "destination_path" ], "type": "object" }

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/cyanheads/filesystem-mcp-server'

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