npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sousaalex1605/file_manager_mcp_server

v0.0.6

Published

MCP Server File Manager

Downloads

15

Readme

MCP File Manager

A robust, production-grade file management microservice for the Modular Community Platform (MCP) ecosystem. This tool provides advanced file and directory operations via a standardized MCP interface, enabling seamless integration with automation agents, developer tools, and cloud-native workflows.


Features

  • Advanced Directory Listing: Recursive, paginated, and filtered listing with intelligent ignore patterns (e.g., .venv, node_modules, pycache).
  • Line Counting: Efficiently count lines in large files without loading the entire file into memory.
  • Partial File Reading: Extract specific line ranges from large files for analysis or processing.
  • MCP Tool Integration: Exposed as MCP tools for easy orchestration and automation.

Installation

# Recommended: use Python 3.9+ virtual environment
python -m venv .venv
source .venv/bin/activate  # Linux/macOS
.venv\Scripts\activate    # Windows
pip install fastmcp
# Copy or clone this repository into your MCP workspace

Basic Usage

Run as a standalone MCP microservice:

python file_manager.py

Or integrate as an MCP module in your agent:

from file_manager import ls_tool, count_lines_tool, read_lines_tool

Example Usage via MCP:

  • List files recursively ignoring patterns:
    • ls_tool(directory_path='src', recursive=True)
  • Count lines in a file:
    • count_lines_tool(filepath='README.md')
  • Read specific lines from a file:
    • read_lines_tool(filepath='file.txt', start_line=10, end_line=20)

Project Structure

  • file_manager.py — Main implementation of the MCP tools.
  • README.md — This guide.
  • LICENSE — MIT License.

Contributing

Contributions are welcome! Please follow the standard fork + pull request workflow. Open issues for bugs or suggestions. For direct contact: open an issue or email the main maintainer.

License

Distributed under the MIT License. See the LICENSE file for details.