Skip to main content
Glama

NewsDigest MCP

by SomeiLam

move_directory

Relocate directories and automatically update all TypeScript import paths and references to maintain code integrity during file reorganization.

Instructions

Move a directory to a new location, updating all TypeScript imports and references automatically

Input Schema

NameRequiredDescriptionDefault
overwriteNoWhether to overwrite existing directory at target path
rootNoRoot directory for resolving relative paths
sourcePathYesThe relative path of the directory to move
targetPathYesThe new relative path for the directory

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "overwrite": { "description": "Whether to overwrite existing directory at target path", "type": "boolean" }, "root": { "description": "Root directory for resolving relative paths", "type": "string" }, "sourcePath": { "description": "The relative path of the directory to move", "type": "string" }, "targetPath": { "description": "The new relative path for the directory", "type": "string" } }, "required": [ "sourcePath", "targetPath" ], "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/SomeiLam/news-mcp'

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