Skip to main content
Glama

editFile

Modify or create files by specifying the file path and new content using Claude Code MCP's file editing tool.

Instructions

Create or edit a file

Input Schema

NameRequiredDescriptionDefault
contentYesThe new content for the file
file_pathYesThe absolute path to the file to edit

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "content": { "description": "The new content for the file", "type": "string" }, "file_path": { "description": "The absolute path to the file to edit", "type": "string" } }, "required": [ "file_path", "content" ], "type": "object" }

Other Tools from Claude Code MCP

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/auchenberg/claude-code-mcp'

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