Skip to main content
Glama

Filesystem MCP Server

create_directory

Creates directories on a filesystem, including parent directories if necessary. Supports both relative and absolute paths, ensuring structured file organization.

Instructions

Creates a directory. Optionally creates parent directories. Accepts relative or absolute paths.

Input Schema

NameRequiredDescriptionDefault
create_parentsNoIf true, create any necessary parent directories that don't exist. If false, fail if a parent directory is missing.
pathYesThe path to the directory to create. Can be relative or absolute.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "create_parents": { "default": true, "description": "If true, create any necessary parent directories that don't exist. If false, fail if a parent directory is missing.", "type": "boolean" }, "path": { "description": "The path to the directory to create. Can be relative or absolute.", "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