romanshablio_mcp_server

romanshablio_mcp_server

by romanshablio
A Python-based MCP server for searching files locally or integrating into websites, returning results in JSON format.

MCP File Finder Server: A Python-Based File Search Tool

Overview

The MCP File Finder Server is a Python-based tool designed to search for files on your computer by name and return the results in JSON format. It can be integrated into a website or used locally on any operating system. The server is lightweight, easy to set up, and works seamlessly with Cline in VSCode for enhanced productivity.

Key Features

  • Local Execution: Runs on your computer.
  • HTTP Protocol: Operates like a standard web server.
  • File Search: Searches for files by name and returns JSON results.
  • Cline Integration: Works with Cline in VSCode for easy interaction.

Installation and Setup

1. Clone the Repository

git clone <your-repository>
cd <your-repository>

2. Start the MCP Server

python mcp_server.py --port 8080

3. Configure Cline in VSCode

  • Open cline_config.json.
  • Copy the content into Cline's configuration.
  • Restart Cline.

Usage

Searching for Files

Send a GET request to search for files:

curl "http://localhost:8080/search?query=example"

The server will return a JSON response with the found files.

Integration with Cline

Cline is a tool in VSCode that connects to MCP servers, sends requests, and displays responses. It simplifies interactions with the MCP File Finder Server directly within your IDE.

How It Works Step-by-Step

  1. Start the Server: Run python mcp_file_finder.py. The server will wait for requests.
  2. Send a Request: Use curl or Cline to send a search query.
  3. Search and Respond: The server scans your computer, finds matching files, saves results in search_results.json, and sends a JSON response.
  4. Use Cline: Configure Cline in VSCode to send requests and receive results without using curl.

Why Use MCP File Finder Server?

  • Automate File Search: Easily search for files programmatically.
  • Integration: Connect to Cline in VSCode for a seamless workflow.
  • Flexibility: Use it locally or integrate it into a website.

About

The MCP File Finder Server is a convenient Python-based search tool that can be embedded into websites or used locally on any OS. It’s designed to simplify file searches and enhance productivity.

Resources

Releases

Languages

  • Python (82.4%)
  • Cython (8.8%)
  • C (6.8%)
  • XSLT (1.5%)
  • C++ (0.2%)
  • JavaScript (0.1%)
  • Other (0.2%)

Features & Capabilities

Categories
mcp_server model_context_protocol python search api_integration json vscode cline

Implementation Details

Stats

0 Views
0 Favorites
0 GitHub Stars

Repository Info

romanshablio Organization

Similar Servers

continuedev_continue by continuedev
0
0
0