1. Conduid
  2. Files
  3. Maid
MCP server · Files

Maid

AI Agent created with Mastra and MCP Filesystem to organize your files

Unclaimed last commit a year ago files
39Low

Scored 4 days ago · breakdown

About Maid

Maid is an MCP server published by musa-labs in the Files category: aI Agent created with Mastra and MCP Filesystem to organize your files.

The repository has 12 stars and 2 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/musa-labs/maid

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Maid

Powered by Claude · Grounded in docs

I know everything about Maid. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

README

Maid - AI-powered Directory Cleaner

Maid is an AI-driven agent, built using the Mastra framework, designed to clean specific directories on your filesystem. By interacting with the MCP (Mastra Communication Protocol) filesystem server, Maid intelligently identifies unnecessary files, organizes data, and ensures your directories are optimized according to the access rules you define.

Features

  • AI-Powered Cleaning: Leverages the Mastra framework to analyze and manage files intelligently.
  • Customizable Access: Clean only the directories you explicitly allow access to.
  • MCP Integration: Utilizes the MCP filesystem server for file handling and communication.
  • Safe and Non-intrusive: Ensures no files are removed or modified without rules-defined permissions.

Prerequisites

Before setting up Maid, make sure you have the following installed:

  • Node.js: Version 18 or higher
  • npm: Package manager for Node.js
  • Mastra: Includes core, memory, and MCP functionality
  • TypeScript: Version 5.8 or above

Installation

To get started with Maid, clone the repository and install the required dependencies. Run the following commands:

git clone https://github.com/musa-labs/maid.git
cd maid
npm install

Usage

  1. Configure Directory Access Rules: Update the configuration file (maid.config.ts) to specify which directories Maid can access for cleaning.

  2. Start MCP Filesystem Server: Ensure the MCP filesystem server is running to enable communication with Maid. For example:

    npx mastra-mcp start
    
  3. Run Maid: Execute the Maid agent using:

    npx tsx main.ts
    
  4. Observe File Cleaning: Maid will apply the defined rules to clean up the specified directory, organizing or removing unnecessary files.

Configuration

In src/mastra/agents/index.ts update the field on where npx sits and the directory you'd like the agent to access

const filesystem = new MastraMCPClient({
    name: "file system",
    server: {
        command : "/Users/<User>/.nvm/versions/node/v20.9.0/bin/npx",
        args : ["-y",
            "@modelcontextprotocol/server-filesystem",
            "<Your Document folder here>"
        ],
    },
});

Development

To modify or contribute to Maid, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/musa-labs/maid.git
    cd maid
    
  2. Install Dependencies:

    npm install
    

Technologies Used

  • Mastra Framework:
    • @mastra/core: Core framework for Mastra integrations.
    • @mastra/memory: Memory management.
    • @mastra/mcp: Communication protocol for filesystem interactions.
  • TypeScript: Ensures type safety and maintainable code.
  • Zod: Validation of configuration and input data.

License

Maid is licensed under the MIT License. See the LICENSE file for more details.

Acknowledgments

Thanks to the Mastra framework developers for providing robust and modular tools that make programs like Maid possible.

If you encounter an issue or have feature suggestions, feel free to open an issue on the GitHub repository. Let's keep your directories neat and clean with Maid!

README fetched from the repository 2 days ago. The original is authoritative.

Questions

About Maid

How do I install Maid?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Maid safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 2 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Maid still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.