About Tool
Tool is an MCP server published by Satyam0775 in the Developer Tools category: mCP server: Tool.
Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/Satyam0775/mcp-server-toolThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Tool
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
README
MCP Server Tool
This is a simple MCP (Model Context Protocol) server built using Flask. It searches for a given keyword in a text file and returns all lines that contain that keyword.
How to Run
-
Install Flask
pip install flask -
Run the server
python server.py
cpp
Copy code
3. Test the endpoint (using Postman or curl):
POST http://127.0.0.1:5000/search
css
Body (JSON):
{
"keyword": "Satyam",
"file_path": "sample.txt"
}
Output Example:
json
Copy code
{
"keyword": "Satyam",
"matches": [
{
"line_number": 3,
"text": "This assignment belongs to Satyam Kumar."
}
]
}
---
### 🪜 Steps to Create It in VS Code
1. **Open VS Code** → Click **File → Open Folder** → select a location (like Desktop).
2. **Create Folder:**
- Name it `MCP_Server`
3. **Inside it:**
- Right-click → **New File** → `server.py`
- Right-click → **New File** → `sample.txt`
- (optional) Right-click → **New File** → `README.md`
4. **Copy and paste** the above content into each file.
5. **Open Terminal in VS Code** → type:
pip install flask
6. Then run:
python server.py
Copy code
7. You’ll see:
Running on http://127.0.0.1:5000
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.