Skip to main content
Glama

Filesystem MCP Server

set_filesystem_default

Set an absolute default path for resolving relative paths in filesystem operations during the current session. Ensures consistent file access and simplifies path management.

Instructions

Sets a default absolute path for the current session. Relative paths used in other filesystem tools (like readFile) will be resolved against this default. The default is cleared on server restart.

Input Schema

NameRequiredDescriptionDefault
pathYesThe absolute path to set as the default for resolving relative paths during this session.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "path": { "description": "The absolute path to set as the default for resolving relative paths during this session.", "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