Skip to main content
Glama

search_content

Find text patterns within files using plain text or regex, searching recursively through specified directories and file types.

Instructions

Search for text content within files. Supports both plain text and regular expressions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternYesText or regex pattern to search. Examples: "TODO", "function\s+\w+", "console\.log" (escape special chars)
directoryYesDirectory to search in (absolute or relative path). Searches recursively through all subdirectories
filePatternNoGlob pattern for files to include. Examples: "*.js", "src/**/*.ts", "**/*.{js,ts}" (default: all files)**/*

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/proofmath-owner/ai-filesystem-mcp'

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