About Claude Desktop Notion MCP Server
A filesystem MCP server for Claude Desktop that lets it manage files within a configured base directory. It provides basic file operations with path validation to prevent directory traversal.
Key features
- 01List files by glob pattern
- 02Read and write files
- 03Edit files with diff output
- 04Delete files
- 05Restrict operations to base directory
Use cases
- 01Browse matching files in a project
- 02Read or update local file contents
MCP support
Exposes file listing, reading, writing, editing, and deletion tools to Claude Desktop over MCP.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEClaude Desktop Notion 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
claude_desktop_config.json
{
"mcpServers": {
"notion": {
"command": "~/.bun/bin/bun",
"args": [
"run",
"<your path>/src/notion/index.ts",
"your_notion_integration_key_here"
]
}
}
}
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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.