MCP Server
by Fekdaz
MCP Server allows you to search for files on a disk by a path fragment and returns information about them in JSON format. It's a simple file search server.
Last updated: N/A
What is MCP Server?
This is a simple MCP server written in Python that allows you to search for files on a disk by providing a path fragment. It returns the file information (filename, path, size, creation date) in JSON format.
How to use MCP Server?
To use the server, run the mcp_server.py
script with the path fragment and file name as arguments: python mcp_server.py <Path Fragment> <File Name>
. For example: python mcp_server.py C:\Users\KARABOGAZGOLULTRA\AppData GitHubDesktop
.
Key features of MCP Server
File search by path fragment
JSON output
Returns filename, path, size, and creation date
Simple command-line interface
Use cases of MCP Server
Quickly find files based on partial path information
Automated file inventory
File system analysis
Integration with other tools that require file information
FAQ from MCP Server
What programming language is the server written in?
What programming language is the server written in?
The server is written in Python.
What information about the files is returned?
What information about the files is returned?
The server returns the filename, full path, size, and creation date of the files.
How do I specify the search path?
How do I specify the search path?
You specify the search path by providing a path fragment as a command-line argument.
What format is the output in?
What format is the output in?
The output is in JSON format.
Can I search for files based on size or creation date?
Can I search for files based on size or creation date?
Currently, the server only searches based on the path fragment and file name. Searching by size or creation date is not supported.