mini_mcp
Documentation
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 fastmcpIf 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 `~/Desktop` path.
- To adapt this tool for Windows or Linux, modify the desktop path accordingly in the `main.py` script.
- Ensure that `fastmcp` is 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.
Frequently asked questions
What is mini_mcp?
mini_mcp is a Model Context Protocol (MCP) server listed in the TrackMCP directory.
How do I install mini_mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mini_mcp open source?
Yes — it is hosted on GitHub at https://github.com/tinyzqh/mini_mcp.
Related MCP tools
5. Update .env file in the root directory with your mem0 API key: for the Model Context Protocol. Enhance AI assistants with powerful integrations.
Model Context Protocol integration for Python. Enhance AI assistants with powerful Python-based capabilities and integration support.
This repository contains Model Context Protocol (MCP) servers that enable MCP clients (like Claude Desktop or the cline.
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP