create_directory
Organize your notes efficiently by creating new directories or nested folders relative to your notes directory using this MCP Notes tool.
Instructions
Create a new directory in your notes. Can create nested directories in one operation. Path should be relative to your notes directory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "create_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to create, relative to notes directory |
Implementation Reference
- src/tools/index.ts:360-361 (registration)The create_directory tool is registered in the handleToolCall switch statement. It delegates execution to the handleCreateDirectory function imported from filesystem.js.
case "create_directory": return await handleCreateDirectory(notesPath, args);