mini_mcp
A lightweight plugin to list all files and folders on the current macOS user's desktop.
mini_mcp
mini_mcp is a lightweight plugin built with FastMCP that retrieves the list of all files located on the current macOS user's desktop.
π¦ Installation
It is recommended to use Conda to create an isolated environment:
conda create -n mcp python=3.12
conda activate mcp
pip install fastmcp
If you want to install with the requirements.txt file, install dependencies with:
pip install -r requirements.txt
βοΈ MCP Configuration
To invoke the list_desktop_files tool from an external MCP client, use the following configuration:
{
"mcpServers": {
"list_desktop_files": {
"command": "/Users/hzq/anaconda/anaconda3/envs/mcp/bin/python",
"args": [
"/Users/hzq/py_projects/mini_mcp/main.py"
]
}
}
}
β οΈ Make sure to update the paths to match your local Python interpreter and project location.
π Tool Description
list_desktop_files()
-
Purpose: Lists all files and folders on the current user's desktop.
-
Platform: macOS only
-
Returns: A list of strings, each representing a file or folder name.
Example output
[
"report.pdf",
"screenshot.png",
"MyFolder"
]
π Project Structure
mini_mcp/
βββ main.py # Main script that registers the FastMCP tool
βββ README.md # This documentation file
βββ requirements.txt # (Optional) Dependency definitions
π Notes
-
This tool is implemented specifically for macOS due to the use of the
~/Desktoppath. -
To adapt this tool for Windows or Linux, modify the desktop path accordingly in the
main.pyscript. -
Ensure that
fastmcpis installed and compatible with your Python version.
π§© License
This project is provided as-is without any warranty. For licensing terms, refer to FastMCPβs license if applicable.
Related Servers
Music Collection MCP Server
Access and manage local music collections with advanced metadata, classification, and analytics.
Filesystem MCP Server
A server for performing filesystem operations such as reading/writing files, managing directories, and searching.
MCP-PROCESS
Provides shell access to execute commands and interact with the local file system.
pdfmux
Smart PDF-to-Markdown router that picks the best extractor per page, audits output quality, and re-extracts failures automatically. Confidence scoring, BYOK LLM support, RAG chunking.
SharePoint MCP Server
Browse and interact with Microsoft SharePoint sites and documents.
Android Filesystem
Securely browse and read files within an Android project, with built-in validation and access controls for sensitive directories.
awaBerry device as a service
awaBerry Agentic allows for secure remote access to any terminal based device for workflows allowing any Agent and Large Language Model based routine to execute commands on your devices for getting access to required data - and to also write genrated data back.
Everything Search
Fast Windows file search using Everything SDK
Filesystem MCP Server
Provides AI agents with secure access to local filesystem operations like reading, writing, and managing files and directories.
IDE MEMORY MCP
IDE Memory MCP gives AI coding agents a persistent memory layer that works across any IDE supporting the Model Context Protocol. Write project context once β the AI remembers it everywhere.