Local Filesystem MCP Server
Click on "Deploy 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., "@Local Filesystem MCP Serverfind all .js files in src directory"
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.
Local Filesystem MCP Server
A Model Context Protocol (MCP) server for exploring local filesystems with glob and grep tools.
Built with Smithery SDK
Features
This server provides two essential tools for filesystem exploration:
glob - Find files matching patterns (e.g.,
**/*.ts,src/**/*.js)grep - Search for text patterns in files
Prerequisites
Smithery API key: Get yours at smithery.ai/account/api-keys
Getting Started
Install dependencies:
npm installStart development server:
npm run dev
The server will run locally and provide access to your filesystem through the MCP protocol.
Configuration
You can customize the working directory in your smithery.yaml config:
runtime: typescript
target: local
config:
workingDirectory: /path/to/your/directoryBy default, it uses the current working directory.
Development
Your code is organized as:
src/index.ts- MCP server with glob and grep toolssmithery.yaml- Runtime specification withtarget: localfor filesystem access
Edit src/index.ts to add your own filesystem tools.
Build
npm run buildCreates bundled server in .smithery/
Deploy
This server uses target: local in smithery.yaml, which means it's designed to run locally with filesystem access. It cannot be deployed to remote Smithery hosting.
Learn More
Related MCP Connectors
Manage files and folders directly from your workspace. Read and write files, list directories, cre…
Securely search and manage workspace context files for AI agents and teams.
Search, browse, and read your Dropbox files. Find documents by name or content, list folders, and…
Search and explore a global travel points-of-interest catalog (cities, countries, POIs).