Skip to main content
Glama

Grep MCP Server

by 247arjun
MIT License
10
1
  • Apple

grep_search_intent

Search files or directories for specific patterns using plain English descriptions like 'email addresses' or 'TODOs'. Configure case sensitivity, result limits, and context lines for precise matches.

Instructions

Search for patterns using plain English descriptions (e.g., 'email addresses', 'phone numbers', 'TODO comments')

Input Schema

NameRequiredDescriptionDefault
case_sensitiveNoWhether the search should be case sensitive
context_linesNoNumber of context lines to show before/after matches
intentYesPlain English description of what to search for
max_resultsNoMaximum number of results to return
show_contextNoShow surrounding lines for context
targetYesFile or directory path to search in

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "case_sensitive": { "default": false, "description": "Whether the search should be case sensitive", "type": "boolean" }, "context_lines": { "default": 2, "description": "Number of context lines to show before/after matches", "type": "number" }, "intent": { "description": "Plain English description of what to search for", "type": "string" }, "max_results": { "description": "Maximum number of results to return", "type": "number" }, "show_context": { "default": false, "description": "Show surrounding lines for context", "type": "boolean" }, "target": { "description": "File or directory path to search in", "type": "string" } }, "required": [ "intent", "target" ], "type": "object" }
Install Server

Other Tools from Grep MCP Server

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/247arjun/mcp-grep'

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