Skip to main content
Glama

find_and_replace

Search and replace text across multiple files with preview capability to review changes before applying them.

Instructions

Find and replace text across multiple files with preview option

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchPatternYesText or regex pattern to search for
replacementYesReplacement text
filesNoSpecific files to process
filePatternNoFile pattern to match (e.g., "**/*.ts")
regexNoTreat search pattern as regex
caseSensitiveNoCase sensitive search (default: true)
wholeWordNoMatch whole words only
previewNoPreview changes without applying them
backupNoCreate backup files before changes

Latest Blog Posts

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/block/vscode-mcp'

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