- Explore MCP Servers
- claude-desktop-mcp
Claude Desktop Mcp
What is Claude Desktop Mcp
claude-desktop-mcp is a filesystem Model Context Protocol (MCP) server implementation designed for Claude Desktop, enabling file operations such as reading, writing, and manipulating files on the user’s system.
Use cases
Use cases include managing project files, automating file edits, reading configuration files, and securely handling file operations in applications.
How to use
To use claude-desktop-mcp, clone the repository, install dependencies using Bun, and run the MCP server with the command ‘bun run index.ts [base-directory]’. If no base directory is specified, the current working directory will be used.
Key features
Key features include file listing with glob pattern matching, reading and writing file contents, editing files with diff output, deleting files, and secure path normalization to prevent directory traversal attacks.
Where to use
claude-desktop-mcp can be used in various fields that require file manipulation capabilities, such as software development, data processing, and automation tasks.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Claude Desktop Mcp
claude-desktop-mcp is a filesystem Model Context Protocol (MCP) server implementation designed for Claude Desktop, enabling file operations such as reading, writing, and manipulating files on the user’s system.
Use cases
Use cases include managing project files, automating file edits, reading configuration files, and securely handling file operations in applications.
How to use
To use claude-desktop-mcp, clone the repository, install dependencies using Bun, and run the MCP server with the command ‘bun run index.ts [base-directory]’. If no base directory is specified, the current working directory will be used.
Key features
Key features include file listing with glob pattern matching, reading and writing file contents, editing files with diff output, deleting files, and secure path normalization to prevent directory traversal attacks.
Where to use
claude-desktop-mcp can be used in various fields that require file manipulation capabilities, such as software development, data processing, and automation tasks.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Claude Desktop MCP Server
A filesystem Model Context Protocol (MCP) server implementation for Claude Desktop. This server provides filesystem capabilities to Claude, allowing it to read, write, and manipulate files on your system.
Features
- List files with glob pattern matching
- Read file contents
- Write to files
- Edit files with diff output
- Delete files
- Secure path normalization to prevent directory traversal attacks
Prerequisites
- Bun v1.2.5 or later
Installation
Clone the repository and install dependencies:
git clone https://github.com/yourusername/claude-desktop-mcp.git
cd claude-desktop-mcp
bun install
Usage
Run the MCP server:
bun run index.ts [base-directory]
If no base directory is provided, the current working directory will be used.
Available Tools
The server exposes the following tools:
list_files: Lists files matching a glob patternread_file: Reads the content of a filewrite_file: Writes content to a fileedit_file: Edits an existing file with the provided content and shows diffdelete_file: Deletes a file
Security
The server implements path normalization and validation to ensure that operations are restricted to the specified base directory, preventing directory traversal attacks.
License
MIT
Acknowledgments
- Based on the Model Context Protocol specification
- Built with Bun JavaScript runtime
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










