mcp-server

Arpit1993/mcp-server

3.2

If you are the rightful owner of mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The MCP File Search Server is a tool designed to search for keywords in UTF-8 text files, providing line/column positions and contextual previews.

Tools
1
Resources
0
Prompts
0

MCP File Search Server

An MCP (Model Context Protocol) server that provides a tool to search for keywords in UTF-8 text files with line/column positions and contextual previews.

Installation

npm install

Running

# Development mode
npm run dev

# Build and run
npm run build
npm start

Testing with MCP Inspector

npm run inspector:dev

Open http://localhost:6274 and use the search_keyword_in_file tool with:

  • filePath: Path to a text file
  • keyword: Keyword to search for
  • caseSensitive (optional): Defaults to false
  • contextLines (optional): Number of context lines (0-5), defaults to 1

Testing

npm test