Cover image
Try Now
2025-04-14

Server Node.js Model Context Protocol (MCP) Fournissant un accès sécurisé et relatif pour les agents d'IA comme Cline / Cline.

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Filesystem MCP 🌐

GitHub Release Node.js

Welcome to the Filesystem MCP repository! This project provides a Node.js Model Context Protocol (MCP) server designed to offer secure, relative filesystem access for AI agents such as Cline and Claude.

Table of Contents

Features ✨

  • Secure Access: Ensures that AI agents interact with the filesystem in a safe manner.
  • Relative Paths: Simplifies the process of accessing files without needing absolute paths.
  • Support for AI Agents: Specifically designed to work with Cline and Claude.
  • Built with Node.js: Utilizes the power of Node.js for efficient server-side operations.
  • TypeScript Support: Offers type safety and improved developer experience.

Installation ⚙️

To get started with the Filesystem MCP server, follow these simple steps:

  1. Clone the Repository:

    git clone https://github.com/Tabeeh/filesystem-mcp.git
    cd filesystem-mcp
    
  2. Install Dependencies: Make sure you have Node.js installed. Then run:

    npm install
    
  3. Download the Latest Release: You can find the latest release here. Download the appropriate file and execute it.

Usage 🚀

To start the server, run the following command:

npm start

Example Configuration

You can configure the server by modifying the config.json file. Here’s an example configuration:

{
  "port": 3000,
  "secure": true,
  "allowedAgents": ["Cline", "Claude"]
}

Making Requests

Once the server is running, you can make requests to access the filesystem. Here’s an example using curl:

curl -X GET http://localhost:3000/files/path/to/your/file

Error Handling

The server returns appropriate HTTP status codes and messages for various error scenarios. For example:

  • 404 Not Found: The requested file does not exist.
  • 403 Forbidden: Access to the file is denied.

API Documentation 📚

The Filesystem MCP server exposes a simple API for interacting with the filesystem. Here are the main endpoints:

GET /files/{path}

Retrieves the contents of a file at the specified relative path.

  • Parameters:

    • path: The relative path to the file.
  • Response:

    • 200 OK: Returns the file contents.
    • 404 Not Found: File does not exist.
    • 403 Forbidden: Access denied.

POST /files/{path}

Creates or updates a file at the specified relative path.

  • Parameters:

    • path: The relative path to the file.
  • Body:

    • content: The content to write to the file.
  • Response:

    • 201 Created: File created successfully.
    • 400 Bad Request: Invalid request.

Contributing 🤝

We welcome contributions! If you’d like to help improve the Filesystem MCP, please follow these steps:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/YourFeature
    
  3. Make your changes.
  4. Commit your changes:
    git commit -m "Add some feature"
    
  5. Push to the branch:
    git push origin feature/YourFeature
    
  6. Open a pull request.

License 📜

This project is licensed under the MIT License. See the LICENSE file for details.

Contact 📫

For any questions or feedback, feel free to reach out:


For the latest updates, releases, and documentation, visit our Releases section.

Happy coding! 🎉

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

  • av
  • Exécutez sans effort LLM Backends, API, Frontends et Services avec une seule commande.

  • 1Panel-dev
  • 🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.

  • Mintplex-Labs
  • L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.

  • GeyserMC
  • Une bibliothèque de communication avec un client / serveur Minecraft.

  • modelcontextprotocol
  • Serveurs de protocole de contexte modèle

  • awslabs
  • Serveurs AWS MCP - Serveurs MCP spécialisés qui apportent les meilleures pratiques AWS directement à votre flux de travail de développement

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

    Reviews

    5 (1)
    Avatar
    user_3cnI1HCH
    2025-04-17

    Filesystem-mcp by Tabeeh is a fantastic tool for managing and manipulating file systems with ease. The GitHub repository provides clear documentation and the project is actively maintained, ensuring reliability. As a loyal user, I appreciate the efficiency and user-friendly design of the product. Highly recommended for anyone in need of a robust file system management solution!