Skip to main content
Glama

MCP Terminal

by sichang824
MIT License
16
  • Apple
  • Linux

file_modify

Modify file content by writing, appending, or inserting text at specified positions. Create directories if missing. Use with filepath and content inputs to manage files efficiently via MCP Terminal.

Instructions

Writes content to a file

Input Schema

NameRequiredDescriptionDefault
contentYes
create_dirsNo
filepathYes
modeNooverwrite
positionNo

Input Schema (JSON Schema)

{ "$defs": { "WriteMode": { "description": "Enum representing different file writing modes.", "enum": [ "overwrite", "append", "insert" ], "title": "WriteMode", "type": "string" } }, "properties": { "content": { "title": "Content", "type": "string" }, "create_dirs": { "default": true, "title": "Create Dirs", "type": "boolean" }, "filepath": { "title": "Filepath", "type": "string" }, "mode": { "$ref": "#/$defs/WriteMode", "default": "overwrite" }, "position": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Position" } }, "required": [ "filepath", "content" ], "title": "file_modifyArguments", "type": "object" }
Install Server

Other Tools from MCP Terminal

Related Tools

    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/sichang824/mcp-terminal'

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