MCP Filesystem
Provides filesystem operations (create directories, list files, delete files) through natural language commands processed by Ollama local LLM.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP FilesystemCreate a folder named 'data'."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Filesystem
A simple Model Context Protocol (MCP) application that provides filesystem operations using Ollama local LLM. This project demonstrates the integration of local AI models with filesystem operations through a client-server architecture.
Architecture

Features
Client-server architecture using MCP protocol
Integration with Ollama local LLM (Microsoft Phi-3 3.8b model)
Directory creation capabilities
Conversational CLI interface
Secure file system operations within allowed directories
Prerequisites
Node.js
Ollama with Phi-3 3.8b model installed
Basic understanding of terminal operations
Installation
Clone the repository
Install dependencies:
npm installConfiguration
The server accepts allowed directories as command-line arguments. These directories will be the only locations where the application can perform filesystem operations.
Usage
Start the server:
npm startThe client will automatically start the server and connect to Ollama. You can then interact with the system through natural language commands.
Example commands:
"Create a directory named 'test'"
"List the files in the current directory"
"Delete the file 'test.txt'"
Project Structure
client.js: MCP client implementation with Ollama integrationserver.js: MCP server implementation with filesystem operations
Dependencies
@modelcontextprotocol/sdk : Core MCP SDK
Ollama : Local AI model for natural language processing
Microsoft Phi-3 3.8b model : AI model for natural language processing
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hrushikeshkothem/simple-fs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server