Skip to main content
Glama

NewsDigest MCP

by SomeiLam

move_directory

Relocate a directory and automatically update all TypeScript imports and references. Specify source and target paths, and optionally overwrite existing directories. Simplify directory reorganization in TypeScript projects.

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