Labsco
tinyzqh logo

mini_mcp

from tinyzqh

A lightweight plugin to list all files and folders on the current macOS user's desktop.

πŸ”₯βœ“ VerifiedFreeQuick setup

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.

πŸ›  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

Copy & paste β€” that's it
[
  "report.pdf",
  "screenshot.png",
  "MyFolder"
]

πŸ“ Project Structure

Copy & paste β€” that's it
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.