
Model Context Protocol (MCP) server with a resource for each file in a workspace
Model Context Protocol (MCP) server with a resource for each file in a workspace
·
A Model Context Protocol (MCP) server that exposes resources for each file in a working directory and sends change notifications.
⚠️ Pre-beta Quality ⚠️
"It works on my machine". Issues are welcome ❤️
.gitignore rulesInstall Go: Follow instructions at https://golang.org/doc/install
Fetch or update this server:
go install github.com/isaacphi/mcp-filesystem@latestAdd the following to your client configuration (located at ~/Library/Application Support/Claude/claude_desktop_config.json for Claude Desktop):
{
"mcpServers": {
"filesystem": {
"command": "mcp-filesystem",
"args": ["--workspace", "/path/to/your/repository"]
}
}
}Replace /path/to/your/repository with the absolute path to your project directory.
Your client will be able to access and reference all non-ignored files in your repository as MCP resources. Each file is registered as a separate resource with appropriate MIME type detection.
Your client needs to support the following MCP features:
notifications/resources/list_changed eventsThis project uses:
.gitignore filesClone the repository:
git clone https://github.com/isaacphi/mcp-filesystem.git
cd mcp-filesystemInstall dependencies:
go mod downloadBuild:
go buildConfigure you client to use your local build:
{
"mcpServers": {
"filesystem": {
"command": "/full/path/to/your/mcp-filesystem/mcp-filesystem",
"args": ["--workspace", "/path/to/repository"],
"env": {
"DEBUG": "1"
}
}
}
}Please submit issues with as many details as you can.
Set the DEBUG environment variable to enable verbose logging:
"env": {
"DEBUG": "1"
}.gitignore)info, create, edit, and delete toolsPick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add filesystem -- mcp-filesystem --workspace /path/to/your/repository{
"mcpServers": {
"filesystem": {
"args": [
"--workspace",
"/path/to/your/repository"
],
"command": "mcp-filesystem"
}
}
}code --add-mcp '{"name":"filesystem","args":["--workspace","/path/to/your/repository"],"command":"mcp-filesystem"}'[mcp_servers.filesystem]
command = "mcp-filesystem"
args = ["--workspace", "/path/to/your/repository"]Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/mcp-filesystem to learn what the "MCP Filesystem" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
go install github.com/isaacphi/mcp-filesystem@latestThis server runs locally, so we can't read its tool list over the web yet.
We could not run this server: it ships no npx package for our sandbox and no public endpoint. The four checks that need a live server are left out, and the grade tops out at B until one exists.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/mcp-filesystem)Nothing comparable is listed yet.
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "mcp-filesystem" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.