Skip to main content
Glama

Filesystem MCP Server

delete_file

Remove a specific file from the filesystem using its path, supporting both relative and absolute paths, to manage storage efficiently and securely.

Instructions

Removes a specific file. Accepts relative or absolute paths.

Input Schema

NameRequiredDescriptionDefault
pathYesThe path to the file to delete. Can be relative or absolute (resolved like readFile).

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "path": { "description": "The path to the file to delete. Can be relative or absolute (resolved like readFile).", "minLength": 1, "type": "string" } }, "required": [ "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