MCP Keyword Search Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Keyword Search Serversearch for 'error' in server.log"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Keyword Search Server
This project implements a Model Context Protocol (MCP) server and client using Node.js.
It allows you to search for a specific keyword within a given text file — demonstrating how MCP tools can communicate via standard input/output.
Table of Contents
Related MCP server: Ressl MCP
Features
Built with
@modelcontextprotocol/sdkImplements a custom MCP tool:
keyword-searchSearches text files for specific keywords
Clean, color-coded output using
chalkFully open-source and lightweight
Project Structure
mcp-server/ │ ├── index.js # MCP Server implementation ├── client.js # Client sending keyword-search requests ├── sample.txt # Sample input file ├── package.json ├── .gitignore ├── LICENSE └── README.md
Setup Instructions
1. Clone the repository
git clone https://github.com/TuShArBhArDwA/mcp-keyword-search-server.git
cd mcp-keyword-search-server2. Install dependencies
npm install3. Run the client
node client.jsYou should see output similar to:
Starting MCP Keyword Search Server...
Sending keyword-search request...
Search Result:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Found 1 line(s):
This is Tushar
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━How It Works
The MCP server (index.js) defines a tool keyword-search using the SDK.
The client (client.js) sends an MCP request with file path and keyword.
The server reads the file, finds matching lines, and returns the result.
Example File
sample.txt
Hello world
This is Tushar
Keyword search testExample Request:
{
"filePath": "sample.txt",
"keyword": "Tushar"
}Response
Found 1 line(s):
This is TusharScreenshots
Salesforce Custom Object Screenshot
MCP Server Output Screenshot
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
Meet T-Bot - Discover My Work
Tushar Bhardwaj - Portfolio
Connect 1:1 - Topmate
GitHub: TuShArBhArDwA
LinkedIn: Tushar Bhardwaj
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables keyword searching within text files with configurable case sensitivity, returning matching lines with line numbers and occurrence counts.Last updated
- Flicense-qualityDmaintenanceEnables searching for keywords within files with case-sensitive/insensitive options, returning matching lines with line numbers for easy reference.Last updated
- Flicense-qualityDmaintenanceEnables searching for keywords in files with support for case-sensitive/insensitive matching, returning line numbers, full line content, and match counts for all occurrences.Last updated
- Alicense-qualityDmaintenanceEnables AI tools to query context from a local JSON data source via stdio, demonstrating the Model Context Protocol.Last updated8MIT
Related MCP Connectors
Search Hacker News, Bluesky, and Substack from a single MCP interface
Query SEC EDGAR filings, XBRL financials, and company data through MCP. STDIO & Streamable HTTP.
Agentic search over your Dewey document collections from any MCP-compatible client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/TuShArBhArDwA/mcp-keyword-search-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server