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.
相關伺服器
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.
Secure MCP Filesystem Server
A secure MCP server for accessing the local filesystem within predefined directories.
sp-mcp
An MCP server that allows you to control SharePoint and power automate through Claude
Vulcan File Ops
MCP server that gives Claude Desktop and other desktop MCP clients filesystem powers—read, write, edit, and manage files like AI coding assistants.
Excel Analyser MCP
Read and analyze Excel (.xlsx) and CSV (.csv) files with scalable, chunked, and column-specific data access, ideal for large datasets.
Agent Memory
Filesystem agent memory working with consolidation Daemon on your machine
Java MCP Filesystem Server
A secure Java-based MCP server that provides controlled filesystem access to AI assistants.
Recon
Recon indexes your codebase into a knowledge graph and exposes it via 14 MCP tools. AI agents get dependency mapping, blast radius analysis, safe multi-file rename, execution flow tracing, Cypher queries, semantic search, and PR review — without reading every file. Supports 13 languages, live re-index in ~50ms, and zero config setup.
OpenPyXL MCP Server
An MCP server that wraps the OpenPyXL library, enabling clients to retrieve data from Excel files.
Filesystem MCP Server
Provides file system operations, analysis, and manipulation capabilities through a standardized tool interface.