Skip to main content
Glama

Local Dev Bridge MCP

edit_file

Replace specific text in files by finding exact matches and substituting with new content. Use this tool to modify file contents through precise text replacement operations.

Instructions

Edit a file by replacing specific text. The old_text must match exactly (including whitespace).

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the file
old_textYesText to find and replace (must match exactly)
new_textYesText to replace it with

Input Schema (JSON Schema)

{ "properties": { "new_text": { "description": "Text to replace it with", "type": "string" }, "old_text": { "description": "Text to find and replace (must match exactly)", "type": "string" }, "path": { "description": "Path to the file", "type": "string" } }, "required": [ "path", "old_text", "new_text" ], "type": "object" }

Other Tools from Local Dev Bridge 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/talentedmrweb/local-dev-bridge-mcp'

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